X / Twitter Community tweets API
List recent tweets posted in a Twitter/X community by URL.
Provider network
Providers ranked by traffic
capped at $0.0021 per request1 result$0.000210 results$0.001120 results$0.0021 capYou are charged for what comes back. Lower the limit to pay less - and no single request can cost more than the cap, however much comes back.
Try it
Make your first request
{
"data": {
"tweets": [
{
"authorHandle": "alex_rivera",
"createdUtc": 12.5,
"favoriteCount": 12500,
"id": "a1b2c3d4",
"quoteCount": 12500,
"replyCount": 12500,
"retweetCount": 12500,
"text": "A short example description of this item."
}
]
},
"found": true
}interface TwitterCommunityTweetsResponse {
data: {
tweets: {
authorHandle: string;
createdUtc: number;
favoriteCount: number;
id: string;
quoteCount: number;
replyCount: number;
retweetCount: number;
text: 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 30dcurl -X POST https://api.getanyapi.com/v1/run/twitter.community_tweets \
-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 | |
| data.tweets | object[] | Populated whenever the provider has data for the entity. |
| data.tweets[].authorHandle | string | Populated whenever the provider has data for the entity. |
| data.tweets[].createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity. |
| data.tweets[].favoriteCount | integer | |
| data.tweets[].id | string | Populated whenever the provider has data for the entity. |
| data.tweets[].quoteCount | integer | |
| data.tweets[].replyCount | integer | |
| data.tweets[].retweetCount | integer | |
| data.tweets[].text | string | Populated whenever the provider has data for the entity. |
| found | boolean | |
| Price | ||
| Price per request | USD | $0.0005 |
| Price /1k req | USD | $0.50 |
FAQ
About the X / Twitter Community tweets API
The AnyAPI X / Twitter Community tweets API returns X / Twitter community tweets data as normalized JSON from one POST call to /v1/run/twitter.community_tweets. List recent tweets posted in a Twitter/X community by URL. AnyAPI routes each request across 4 sources and falls back automatically when one fails. It costs from $0.50 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 tweets calls through AnyAPI succeeded, with a median response time of 1.4 seconds across 1 measured calls.