
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.
The upstream price you are metered at, cheapest first. A route without a published price says so.
| Provider | Endpoint | Price |
|---|---|---|
twitter-api45RapidAPI listing | Communities SearchCHEAPESTGET search_communities.php | $0.00009$0.09 / 1k calls |
twitter-api47RapidAPI listing | Community SearchGET v3/community/search | $0.00019$0.19 / 1k calls |
From a real call to the cheapest route: twitter-api45.
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 pagePaging (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.
HTTP with your key in x-api-key, or the call_endpoint tool of our MCP server.
| Parameter | Type | Notes | |
|---|---|---|---|
| cursor | string · query | optional | |
| query | string · query | required | default superman |
curl "https://fetchapi.co/api/gw/rapidapi-twitter-api45/search_communities.php?query=superman" \ -H "x-api-key: YOUR_KEY"
call_endpoint("rapidapi-twitter-api45.communities_search", {"query": "superman"}){
"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"
}| Parameter | Type | Notes | |
|---|---|---|---|
| cursor | string · query | optional | |
| query | string · query | required | default spacex |
curl "https://fetchapi.co/api/gw/rapidapi-twitter-api47/v3/community/search?query=spacex" \ -H "x-api-key: YOUR_KEY"
call_endpoint("rapidapi-twitter-api47.community_search", {"query": "spacex"})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.