PeumeAPI

Social media data · Reddit

List Subreddit Posts

List the posts of a subreddit by sort and timeframe.

$0.0028 per call

Call it

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

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: list-subreddit-posts.

Parameters

timeframestring

Timeframe to get posts from

all · day · week · month · year

cache_max_agestring

Accept a cached response no older than this. When one exists it is returned with "cached": true and a "cached_at" timestamp; otherwise a live result is fetched. A cached response is billed like a live one.

1d · 3d · 7d · 14d · 30d

trimboolean

Set to true for a trimmed down version of the response

sortstring

Sort order

best · hot · new · top · rising

afterstring

After to get more posts. Get 'after' from previous response.

subredditRequiredstring

Subreddit name

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.