Hacker News API

Run your first Hacker News API call in curl — copy, paste, done.

Free live snapshot — no key, no signup: GET /v1/snapshot?query=openai

curl example

curl "https://s-hn.pixharvest.com/v1/snapshot" 

Next steps

  1. Try the free snapshot above — no key needed.
  2. Add a key for paid endpoints: get one here.
  3. Agents: settle paid calls via x402 USDC on Base — see auth & payment.

← All docs · Live demo · Pricing · Auth & payment