PeumeAPI

Social media data · Reddit

Subreddit details by name or URL

Retrieves metadata about a subreddit by name or URL.

$0.0028 per callUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/subreddit-details-by-name-or-url \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "subreddit": "AskReddit",
    "url": "https://www.reddit.com/r/AbsoluteUnits/",
    "cache_max_age": "7d"
  }
}'

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: subreddit-details-by-name-or-url.

Parameters

subredditstring

Subreddit name. MUST be case sensitive. So 'AskReddit' not 'askreddit'.

Example: AskReddit

urlstring

Subreddit URL

Example: https://www.reddit.com/r/AbsoluteUnits/

cache_max_agestring

If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Cac...

Example: 7d

Other ways to do it

Same job, other sources, cheapest first.

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.