X community profile
X community profile: inspect inputs, community fields, pagination and limits, then run a local simulated request.
Copy the agent prompt manually
What this capability does
X community profile uses /v1/x/communities/get; GET returns data.item with community objects.
This is a local simulation. Program-generated samples are not live platform data and do not establish provider availability.
- Capability: x.communities.get
- Pagination: no cursor pagination; do not repeatedly request another page.
Input contract
Inspect meanings, examples and conditional rules for the selected method. view and fields control the response without changing the TEST unit price.
- Only send fields defined for this method; unknown fields are rejected before execution.
| Method | Field | Type | Requirement | Meaning | Enum or bound | Example |
|---|---|---|---|---|---|---|
| GET | id | string | Required | Community ID, a string of digits | — | "1493446837214187523" |
| GET | view | string | Optional / conditional | How much of each item: compact (the most used fields, long text cut short), standard, or full (adds `ext`). | ["compact","standard","full"] | — |
| GET | fields | array | Optional / conditional | Return only these fields of each item, by path (`author.name`). | maxItems: 64 | — |
Try it locally
Use demo to inspect the fields, then explicitly select simulated with a customer test key to exercise settlement. Never put a customer key in a URL.
{
"capability": "x.communities.get",
"method": "GET",
"params": {
"id": "1493446837214187523"
}
}Output fields and interpretation
The community object permits missing or null values; do not replace missing measurements with zero. This table shows the main structure; the object reference covers nested fields.
| Field | Type | Meaning | Source scope |
|---|---|---|---|
| id | string | null | ID; pass it unchanged to the endpoints that get the community and list its posts | X (Twitter) |
| name | string | null | Name of the community | X (Twitter) |
| url | string | null | Link that opens the community | X (Twitter) |
| description | string | null | What the community says it is about | X (Twitter) |
| avatar_url | string | null | The community's icon (standard view and up) | X (Twitter) |
| nsfw | boolean | null | Whether it is marked not safe for work (standard view and up) | X (Twitter) |
| created_at | string | null | When the community was created (standard view and up) | X (Twitter) |
| metrics | object | null | Community counts | X (Twitter) |
| metrics.members | integer | null | Members | X (Twitter) |
| approximate | array | null | Which numbers of this item are approximate or lower bounds; absent when all are exact | X (Twitter) |
| approximate[].field | string | null | Path of the field, such as metrics.views | X (Twitter) |
| approximate[].kind | string | null | Approximate, or a lower bound | X (Twitter) |
| ext | object | — | X (Twitter) |
| ext.moderators | integer | null | Number of moderators (full view) | X (Twitter) |
| ext.join_policy | string | null | How people join, as the platform words it (Open, for one) (full view) | X (Twitter) |
| ext.topic | string | null | The community's main topic; null when none is set (full view) | X (Twitter) |
| ext.cover_url | string | null | The community's banner image (full view) | X (Twitter) |
Limits and checks
A successful request does not establish full coverage. Preserve the request ID, observation time, parameters and cursor, and inspect the returned items before analysis.
Local simulation uses TEST credits only. Real provider calls, real payments and external email are disabled. Historical reference-site prices are not DataNavoAPI prices.
- Verify media URLs, counts and optional fields individually.
Clear inputs. Inspectable output.
Each click runs a local fixture. Advanced JSON inputs are checked against the selected method. Editing does not execute a request.
Copying does not execute. CLI quote is read-only and needs a local customer TEST key. Configure MCP in demo mode first. GET and POST batches both return only fictional local fixtures.
Download contract example (no execution) ↗For TEST budgets, Key scopes or failure scenarios, open the account console. Customer sandbox ↗