fetchapi

Search posts inside X communities, latest first API

One call searches the latest posts inside X communities for a query. One item is one tweet. Our call returned 25 posts (3 shown plus the '… 22 more' marker). To get the next page, send next_cursor from the answer as the cursor parameter.

1 live route on X, from $0.00009 per call. Every route below answered our last live test on 2026-10-08; 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
Communities Posts Search LatestGET search_communities_latest.php$0.00009$0.09 / 1k calls✓ 2026-10-08pricing ↗

What it returns

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

One call searches the latest posts inside X communities for a query. One item is one tweet. Our call returned 25 posts (3 shown plus the '… 22 more' marker). To get the next page, send next_cursor from the answer as the cursor parameter.
timeline[].tweet_idTweet idtimeline[].textTweet texttimeline[].screen_nameAuthor handletimeline[].created_atPosting timetimeline[].favoritesLikestimeline[].retweetsRetweetstimeline[].repliesRepliestimeline[].viewsViews (string)timeline[].community_idCommunity the post belongs tonext_cursorCursor for the next page

Paging: read `next_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.communities_posts_search_latest", 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/search_communities_latest.php$0.00009 / call✓ working · tested 2026-10-081.14 s latency
Parameters
ParameterTypeNotes
cursorstring · queryoptional
querystring · queryrequireddefault superman
HTTP
curl "https://fetchapi.co/api/gw/rapidapi-twitter-api45/search_communities_latest.php?query=superman" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("rapidapi-twitter-api45.communities_posts_search_latest", {"query": "superman"})
Real example answer (trimmed) · 2026-10-03
{
  "timeline": [
    {
      "geo": null,
      "lang": "en",
      "text": "https://t.co/JhrFj0W7Zl\n\nYeah Batman, Spider-Man, Superman,\nThey can’t save you like I want to",
      "type": "tweet",
      "media": [],
      "views": "95",
      "quotes": 0,
      "source": null,
      "replies": 0,
      "entities": {
        "urls": [
          {
            "url": "https://t.co/JhrFj0W7Zl",
            "indices": [
              "…",
              "…"
            ],
            "display_url": "music.apple.com/us/album/solar…",
            "expanded_url": "https://music.apple.com/us/album/solar-eclipse/6818209777?i=6818209989"
          }
        ]
      },
      "retweets": 0,
      "tweet_id": "2106424979793604842",
      "author_id": "926392340285132801",
      "bookmarks": 0,
      "…": "12 more fields"
    },
    {
      "geo": null,
      "lang": "pt",
      "text": "@PabloWinnerNA Hierarquia de poder do mais forte ao mais fraco:\n\n1. Superman\n2. Goku\n3. Doutor Destino\n4. Madara\n5. Luffy\n\nSuperman e Goku lideram de longe. O r…",
      "type": "tweet",
      "media": [],
      "views": null,
      "quotes": 0,
      "source": null,
      "replies": 0,
      "entities": {
        "user_mentions": [
          {
            "name": "Galo",
            "id_str": "1276116759402229760",
            "indices": [
              "…",
              "…"
            ],
            "screen_name": "PabloWinnerNA"
          }
        ]
      },
      "retweets": 0,
      "tweet_id": "2106357584655425876",
      "author_id": "1720665183188922368",
      "bookmarks": 0,
      "…": "12 more fields"
    },
    "… 2 more"
  ],
  "next_cursor": "DAAHCgABHTulsAA__-cLAAIAAAAUV3pFM09UQTNPRFUyTmpFd01EQmQIAAMAAAACAAA"
}

Related X APIs

All 59 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.