PeumeAPI

Search & SEO · X

X / Twitter Community Search

Search communities by keyword and get their id, name, topic, and member count with cursor pagination. This is how you find a community URL to pass to twitter.community or twitter.community_tweets.

$0.0005 per call

Call it

curl https://api.peume.com/v1/call/x-twitter-community-search-2 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "query": "your query"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: x-twitter-community-search-2.

Parameters

cursorstring

Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of communities. Pages can overlap: a page may repeat items an earlier page returned and is billed like any other, so de-duplicate by item id and stop when a page adds no new id.

routestring

Upstream source to run on; omit for "badger". badger ($0.0001 + $0.0001 per result, at most $0.0011, 96.2% uptime).

badger

queryRequiredstring

Keyword to match against community names and topics (e.g. artificial intelligence).

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.