X / Twitter API

X / Twitter Community tweets API

List recent tweets posted in a Twitter/X community by URL.

POST/v1/run/twitter.community_tweets
Uptime
100.00%
30d · 1 call
Requests
1
30d · weekly, last 12 wks
Response
1.4s
median · 30d

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": {
    "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
}
Response interface
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 30d
POST /v1/run/twitter.community_tweets
curl -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"}'
FieldTypeExample value
Request body
urlstring"https://x.com/i/communities/1926186499399139650"Community URL (e.g. https://x.com/i/communities/1926186499399139650).
Response
dataobject
data.tweetsobject[]Populated whenever the provider has data for the entity.
data.tweets[].authorHandlestringPopulated whenever the provider has data for the entity.
data.tweets[].createdUtcnumberUTC 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[].favoriteCountinteger
data.tweets[].idstringPopulated whenever the provider has data for the entity.
data.tweets[].quoteCountinteger
data.tweets[].replyCountinteger
data.tweets[].retweetCountinteger
data.tweets[].textstringPopulated whenever the provider has data for the entity.
foundboolean
Price
Price per requestUSD$0.0005
Price /1k reqUSD$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.

It costs from $0.50 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.

List recent tweets posted in a Twitter/X community 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.

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. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.