X / Twitter Community API
Fetch a Twitter/X community's public details (name, description, member count, join policy) by URL.
$0.10/1k req, pay per request, no subscription.
{"name": "Be constructive, not just promotional"}
Pricing and providers
X / Twitter Community API pricing: one API, 3 interchangeable providers
The cheapest provider serves first. If it fails, the next one takes over in the same call.
Try it
Get X / Twitter community in one request
This sample shows 12 of 13 fields. See every field
{
"found": true,
"data": {
"id": "1926186499399139650",
"name": "Build in Public",
"description": "A community for founders and makers sharing progress, launches, and lessons building software in public. Post your wins, your metrics, and your failures.",
"memberCount": 128400,
"joinPolicy": "open",
"createdUtc": 1700000000,
"creatorHandle": "priya.builds",
"nsfw": false,
"rules": [
{
"name": "Be constructive, not just promotional"
},
{
"name": "No unsolicited DMs to members"
},
{
"name": "Share real metrics, not vanity screenshots"
}
]
}
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
One request, one response shape.
Every field you send and every field you get back, each with a real example.
Last verified 2026-10-31 · uptime and latency measured over 30d
Request body
JSON, posted to this endpoint.
- urlstring
https://x.com/i/communities/1926186499399139650
Community URL (e.g. https://x.com/i/communities/1926186499399139650).
Response
JSON, one example value per field.
The community record, or null when nothing was found.
- createdUtcnumber
1700000000
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- creatorHandlestring
priya.builds
Handle of the account that created the community. Populated whenever the provider has data for the entity.
- descriptionstring
A community for founders and makers sharing progress, launches, and lessons building software in public. Post your wins, your metrics, and your failures.
Community description text. Populated whenever the provider has data for the entity.
- idstring
1926186499399139650
Community identifier. Populated whenever the provider has data for the entity.
- joinPolicystring
open
How members join, e.g. "open" or "restricted". Populated whenever the provider has data for the entity.
- memberCountinteger
128400
Number of members in the community.
- namestring
Build in Public
Community name. Populated whenever the provider has data for the entity.
- nsfwboolean
false
Whether the community is marked not-safe-for-work.
Rules the community publishes.
- namestring
Be constructive, not just promotional
Name of the rule.
- foundboolean
true
True when the community was found; false when the lookup returned nothing.
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
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. Over the last 30 days, 100.0% of X / Twitter community calls through AnyAPI succeeded, with a median response time of 0.5 seconds across 196 measured calls.