PeumeAPI

Social media data · Reddit

Search Within Subreddit

Search one subreddit for posts, comments, and media matching a query.

$0.0028 per call

Call it

curl https://api.peume.com/v1/call/search-within-subreddit \
  -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: search-within-subreddit.

Parameters

cursorstring

Cursor to get more results. Get 'cursor' from previous response.

timeframestring

Timeframe to filter results

all · year · month · week · day · hour

querystring

Search query to find matching content

sortstring

Sort order. For posts/media: relevance, hot, top, new, comments. For comments: relevance, top, new

relevance · hot · top · new · comments

subredditRequiredstring

Subreddit name (e.g. 'Fitness', not 'r/Fitness' or a full URL)

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.