> **For coding agents and LLMs:** This is one Social Fetch marketing page (markdown export). For API orientation start with [`/llms.txt`](https://www.socialfetch.dev/llms.txt); for auth and crawl rules use [`/agents.txt`](https://www.socialfetch.dev/agents.txt); for every operation use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt).

## This page

- **On-site (HTML):** [https://www.socialfetch.dev/answers/how-much-does-the-hacker-news-api-cost](https://www.socialfetch.dev/answers/how-much-does-the-hacker-news-api-cost)
- **Markdown (.mdx) URL:** [https://www.socialfetch.dev/answers/how-much-does-the-hacker-news-api-cost.mdx](https://www.socialfetch.dev/answers/how-much-does-the-hacker-news-api-cost.mdx)

---

# How much does the Hacker News API cost?

You buy credit packs (or use the 100 free signup credits). Most routes — search, feeds, stories, items, user profile, submissions, comments, favorites, updates, maxitem, and Who is Hiring — cost 1 credit per successful request or page. Story comment paging costs 3 credits per page and comment context costs 2 credits per request. Always check `meta.creditsCharged` on the response.

Source: [Hacker News data API](https://www.socialfetch.dev/platforms/hackernews)

## Related questions

- [Is there a Hacker News scraper API?](https://www.socialfetch.dev/answers/is-there-a-hacker-news-scraper-api)
- [How do I poll for new and changed Hacker News content?](https://www.socialfetch.dev/answers/how-do-i-poll-for-new-and-changed-hacker-news-content)
- [Is scraping Hacker News data legal?](https://www.socialfetch.dev/answers/is-scraping-hacker-news-data-legal)
