X / Twitter API
X / Twitter Community API
Fetch a Twitter/X community's public details (name, description, member count, join policy) by URL.
POST/v1/run/twitter.community
Requests
-
30d
Provider network
Providers ranked by traffic
Try it
Make your first request
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
"data": {
"createdUtc": 12.5,
"creatorHandle": "alex_rivera",
"description": "A short example description of this item.",
"id": "a1b2c3d4",
"joinPolicy": "example",
"memberCount": 12500,
"name": "Example title"
},
"found": true
}Response interface
interface TwitterCommunityResponse {
data: {
createdUtc: number;
creatorHandle: string;
description: string;
id: string;
joinPolicy: string;
memberCount: number;
name: string;
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dPOST /v1/run/twitter.community
curl -X POST https://api.getanyapi.com/v1/run/twitter.community \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://x.com/i/communities/1926186499399139650"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| url | string | "https://x.com/i/communities/1926186499399139650"Community URL (e.g. https://x.com/i/communities/1926186499399139650). |
| Response | ||
| data | object | The community record, or null when nothing was found. |
| data.createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. |
| data.creatorHandle | string | Handle of the account that created the community. Populated whenever the provider has data for the entity. |
| data.description | string | Community description text. Populated whenever the provider has data for the entity. |
| data.id | string | Community identifier. Populated whenever the provider has data for the entity. |
| data.joinPolicy | string | How members join, e.g. "open" or "restricted". Populated whenever the provider has data for the entity. |
| data.memberCount | integer | Number of members in the community. |
| data.name | string | Community name. Populated whenever the provider has data for the entity. |
| found | boolean | True when the community was found; false when the lookup returned nothing. |
| Price | ||
| Price per request | USD | $0.0001 |
| Price /1k req | USD | $0.10 |
FAQ
About the X / Twitter Community API
The AnyAPI X / Twitter Community API returns X / Twitter community data as normalized JSON from one POST call to /v1/run/twitter.community. Fetch a Twitter/X community's public details (name, description, member count, join policy) by URL. AnyAPI routes each request across 3 sources and falls back automatically when one fails. It costs from $0.10 per 1,000 requests, in US dollars with no subscription and no monthly minimum.
It costs from $0.10 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.
Fetch a Twitter/X community's public details (name, description, member count, join policy) by URL. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.
More to call
Other X / Twitter endpoints
Profilefrom $0.22 /1k reqUser tweetsfrom $0.50 /1k reqTweetfrom $0.22 /1k reqArticlefrom $0.75 /1k reqCommunity tweetsfrom $0.50 /1k reqFollowersfrom $0.50 /1k reqFollowingfrom $0.50 /1k reqRepliesfrom $0.50 /1k reqSearchfrom $0.65 /1k reqSearch communitiesfrom $0.11 /1k resultsSearch usersfrom $0.75 /1k reqThreadfrom $5.00 /1k reqTrendsfrom $0.10 /1k reqTweet transcriptfrom $1.20 /1k reqUser postsfrom $0.50 /1k req