FETCHAPI

List the posts in an X community API

One call returns a page of posts from one X community (community_id), ranked by the ranking parameter (we sent 'Top'). One item is one tweet. Our call returned 19 posts (3 shown plus the '… 16 more' marker). To get the next page, send the cursor field of the answer as the cursor parameter.

2 live routes on X, from $0.00009 per call. Every route below answered our last live test on 2026-10-06; the gateway re-tests them daily.

Get a keySee it in the catalogUse it from MCP

Price per call, by route

The upstream price you are metered at, cheapest first. A route without a published price says so.

ProviderEndpointPriceTested
twitter-api45RapidAPI listing
Comunity PostsCHEAPESTGET community_timeline.php$0.00009$0.09 / 1k calls✓ 2026-10-06pricing ↗
twitter-api47RapidAPI listing
Community TweetsGET v3/community/tweets$0.00019$0.19 / 1k calls✓ 2026-10-06pricing ↗

What it returns

From a real call to the cheapest route: twitter-api45.

One call returns a page of posts from one X community (community_id), ranked by the ranking parameter (we sent 'Top'). One item is one tweet. Our call returned 19 posts (3 shown plus the '… 16 more' marker). To get the next page, send the cursor field of the answer as the cursor parameter.
timeline[].tweet_idTweet idtimeline[].textTweet texttimeline[].author.screen_nameAuthor handletimeline[].author.rest_idAuthor user idtimeline[].created_atPosting timetimeline[].favoritesLikestimeline[].retweetsRetweetstimeline[].viewsViews (string)cursorCursor for the next page

Paging (twitter-api45): read `cursor` from the answer and send it back as `cursor=` for the next page; stop when it is empty or repeats. From MCP: call_endpoint("rapidapi-twitter-api45.comunity_posts", params, pages=3) follows it for you.

Paging (twitter-api47): read `pagination.nextCursor` from the answer and send it back as `cursor=` for the next page; stop when it is empty or repeats. From MCP: call_endpoint("rapidapi-twitter-api47.community_tweets", params, pages=3) follows it for you.

Call it

HTTP with your key in x-api-key, or the call_endpoint tool of our MCP server.

GET /api/gw/rapidapi-twitter-api45/community_timeline.php$0.00009 / call✓ working · tested 2026-10-062.23 s latency
Parameters
ParameterTypeNotes
cursorstring · queryoptional
rankingstring · queryoptionalone of Top, Lateste.g. Top
community_idstring · queryrequireddefault 1783990533192651232
HTTP
curl "https://fetchapi.co/api/gw/rapidapi-twitter-api45/community_timeline.php?ranking=Top&community_id=1783990533192651232" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("rapidapi-twitter-api45.comunity_posts", {"ranking": "Top", "community_id": "1783990533192651232"})
Real example answer (trimmed) · 2026-10-03
{
  "cursor": "DAAFCgABHTulnCy__-oLAAIAAADoRW1QQzZ3QUFBZlEvZ0dKTjB2R3AvQUFBQUJNZE9VRDhBMXJRQ0IwdHdnL3QyN0J5SFRRL2FGbmJvTG9kTWVNS3l4cmd6QjA3ZEJqeGxwQ1lIVGZEM3dhYUlVVWRONTRpVWxw…",
  "timeline": [
    {
      "lang": "en",
      "text": "9 months ago I shared a video where my engine beat @unity ECS on the web by 17x\n\nI got a lot of criticism bc it turned out Unity didn't support Burst on the web…",
      "media": {
        "video": [
          {
            "id": "2105778718753136640",
            "duration": 15666,
            "variants": [
              "…",
              "…",
              "… 2 more"
            ],
            "aspect_ratio": [
              "…",
              "…"
            ],
            "original_info": {
              "width": "…",
              "height": "…",
              "focus_rects": "…"
            },
            "media_url_https": "https://pbs.twimg.com/amplify_video_thumb/2105778718753136640/img/BbJuSrie5HnrISwG.jpg"
          }
        ]
      },
      "views": "19884",
      "author": {
        "name": "Gabriel Dechichi",
        "avatar": null,
        "rest_id": "295732221",
        "screen_name": "gdechichi",
        "blue_verified": true
      },
      "quoted": {
        "lang": "en",
        "text": "just finished my ECS system in C and it turns out it's ~17x faster than @unity DOTS on the web\n\nthat's 100k boids at ~90 FPS instead of 17 FPS\n\nsharing the code…",
        "media": {
          "video": [
            {
              "id": "…",
              "duration": "…",
              "variants": "…",
              "aspect_ratio": "…",
              "original_info": "…",
              "media_url_https": "…"
            }
          ]
        },
        "views": "6181868",
        "author": {
          "name": "Gabriel Dechichi",
          "avatar": null,
          "rest_id": "295732221",
          "screen_name": "gdechichi",
          "blue_verified": true
        },
        "quotes": 30,
        "replies": 126,
        "retweets": 233,
        "tweet_id": "2009314635128951170",
        "bookmarks": 1186,
        "favorites": 3647,
        "created_at": "Thu Jan 08 17:21:54 +0000 2026",
        "conversation_id": "2009314635128951170"
      },
      "quotes": 3,
      "source": null,
      "replies": 17,
      "retweets": 12,
      "tweet_id": "2105785751904636936",
      "bookmarks": null,
      "favorites": 561,
      "created_at": "Thu Oct 01 22:23:41 +0000 2026",
      "…": "1 more fields"
    },
    {
      "lang": "en",
      "text": "no one on X seems to be looking at code anymore.\n\nbut I just love looking at C code\n\ncan't really explain why https://t.co/dO0ZJNF5Vb",
      "media": {
        "photo": [
          {
            "id": "2105319874151223296",
            "media_url_https": "https://pbs.twimg.com/media/HTeZRWVakAAHE7J.jpg"
          }
        ]
      },
      "views": "80105",
      "author": {
        "name": "Gabriel Dechichi",
        "avatar": null,
        "rest_id": "295732221",
        "screen_name": "gdechichi",
        "blue_verified": true
      },
      "quotes": 10,
      "source": null,
      "replies": 80,
      "retweets": 27,
      "tweet_id": "2105325221066731743",
      "bookmarks": null,
      "favorites": 1053,
      "created_at": "Wed Sep 30 15:53:42 +0000 2026",
      "screen_name": "gdechichi"
    },
    "… 2 more"
  ]
}
Other routes for this job
twitter-api47 · Community Tweets$0.00019
GET /api/gw/rapidapi-twitter-api47/v3/community/tweets$0.00019 / call✓ working · tested 2026-10-061.58 s latency
Parameters
ParameterTypeNotes
sortBystring · queryoptionalone of Relevance, Recencye.g. Relevance
cursorstring · queryoptional
communityIdstring · queryrequireddefault 1735624711768625435
HTTP
curl "https://fetchapi.co/api/gw/rapidapi-twitter-api47/v3/community/tweets?sortBy=Relevance&communityId=1735624711768625435" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("rapidapi-twitter-api47.community_tweets", {"sortBy": "Relevance", "communityId": "1735624711768625435"})

Related X APIs

All 36 X jobs →

One key for every API on this page.

Call it over HTTP or from any MCP client. Each key has a rate limit and a monthly cap; calls are metered at the upstream price.