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

Open in
Get a free key
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 30d
POST /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"}'
FieldTypeExample value
Request body
urlstring"https://x.com/i/communities/1926186499399139650"Community URL (e.g. https://x.com/i/communities/1926186499399139650).
Response
dataobjectThe community record, or null when nothing was found.
data.createdUtcnumberUTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
data.creatorHandlestringHandle of the account that created the community. Populated whenever the provider has data for the entity.
data.descriptionstringCommunity description text. Populated whenever the provider has data for the entity.
data.idstringCommunity identifier. Populated whenever the provider has data for the entity.
data.joinPolicystringHow members join, e.g. "open" or "restricted". Populated whenever the provider has data for the entity.
data.memberCountintegerNumber of members in the community.
data.namestringCommunity name. Populated whenever the provider has data for the entity.
foundbooleanTrue when the community was found; false when the lookup returned nothing.
Price
Price per requestUSD$0.0001
Price /1k reqUSD$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.