FETCHAPI

Search X communities by keyword API

One call searches X communities by name for a query. One item is one community. Our call returned 7 communities (3 shown plus the '… 4 more' marker). To get the next page, send next_cursor from 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
Communities SearchCHEAPESTGET search_communities.php$0.00009$0.09 / 1k calls✓ 2026-10-06pricing ↗
twitter-api47RapidAPI listing
Community SearchGET v3/community/search$0.00019$0.19 / 1k calls✓ 2026-10-06pricing ↗

What it returns

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

One call searches X communities by name for a query. One item is one community. Our call returned 7 communities (3 shown plus the '… 4 more' marker). To get the next page, send next_cursor from the answer as the cursor parameter.
communities[].community_idCommunity id; input for community_info, community_members and comunity_postscommunities[].nameCommunity namecommunities[].member_countNumber of memberscommunities[].primary_topicTopic, may be nullcommunities[].is_nsfwNSFW flagcommunities[].custom_bannerBanner image URLnext_cursorCursor for the next page

Paging (twitter-api45): 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_search", params, pages=3) follows it for you.

Paging (twitter-api47): read `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_search", 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.php$0.00009 / call✓ working · tested 2026-10-061.75 s latency
Parameters
ParameterTypeNotes
cursorstring · queryoptional
querystring · queryrequireddefault superman
HTTP
curl "https://fetchapi.co/api/gw/rapidapi-twitter-api45/search_communities.php?query=superman" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("rapidapi-twitter-api45.communities_search", {"query": "superman"})
Real example answer (trimmed) · 2026-10-03
{
  "communities": [
    {
      "name": "DC",
      "is_nsfw": false,
      "user_id": "",
      "community_id": "1589365710655979520",
      "member_count": 111344,
      "custom_banner": "https://pbs.twimg.com/community_banner_img/2088422647310786560/XIl9nist?format=jpg&name=orig",
      "primary_topic": "Comics",
      "default_banner": "https://pbs.twimg.com/media/FECQfL3UcAc3IfU.jpg"
    },
    {
      "name": "Superman Saviour",
      "is_nsfw": false,
      "user_id": "",
      "community_id": "1950253618310885672",
      "member_count": 106,
      "custom_banner": "https://pbs.twimg.com/community_banner_img/2072357144687427584/fbFDzjrd?format=jpg&name=orig",
      "primary_topic": null,
      "default_banner": "https://pbs.twimg.com/media/FECPvEdUcAcSfaA.jpg"
    },
    "… 2 more"
  ],
  "next_cursor": "WzgxLjc5Nzk3LDE3NDc2NDIzNTc1MjcyODE4MjJd"
}
Other routes for this job
twitter-api47 · Community Search$0.00019
GET /api/gw/rapidapi-twitter-api47/v3/community/search$0.00019 / call✓ working · tested 2026-10-060.99 s latency
Parameters
ParameterTypeNotes
cursorstring · queryoptional
querystring · queryrequireddefault spacex
HTTP
curl "https://fetchapi.co/api/gw/rapidapi-twitter-api47/v3/community/search?query=spacex" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("rapidapi-twitter-api47.community_search", {"query": "spacex"})

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.