PeumeAPI

Social media data · X

X Community Posts

Read the latest posts in one Community by its numeric `community_id`.

$0.0012 per call

Call it

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

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-community-posts.

Parameters

community_idRequiredstring

Numeric Community ID for `community_info` and `community_posts`, the digits after /i/communities/ in its link, such as `1508567430188126209`.

page_tokenstring

Page token for `user_media`, `user_replies`, `retweeters`, `search_communities`, `community_posts` and `search_users`. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received; the last page has none.

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.