PeumeAPI

Developer & public data · Hacker News

Hacker News Story

Get a Hacker News story by id - title, link, author, points, and comment count as clean JSON.

$0.0023 per call

Call it

curl https://api.peume.com/v1/call/hacker-news-story \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "id": "your 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: hacker-news-story.

Parameters

routestring

Upstream source to run on; omit for "raccoon". raccoon ($0.0015 per call, 100% uptime); hedgehog ($0.0015 per call). A route can refuse an input it cannot apply with a 400 source_unknown (not charged): retry on another route, or omit that input.

raccoon · hedgehog

idRequiredstring

Hacker News story id, e.g. "47340079".

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.