PeumeAPI

Developer & public data · Hacker News

Search Hacker News

Search Hacker News stories or comments through the Algolia API and get title, link, points, author and comment count.

$0.0005 per lookup, only when found

Call it

curl https://api.peume.com/v1/call/search-hacker-news \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "query": "rust async"
  }
}'

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-hacker-news.

Parameters

limitinteger

at most 100; default 20

queryRequiredstring

Example: rust async

sortstring

relevance or date; default relevance

tagsstring

story, comment, ask_hn, show_hn or poll; default story

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.