Hacker News Firebase API vs Algolia search vs a scraper

Both official HN APIs are free and need no key. They solve different problems, and neither exports a CSV for you.

Hacker News Scraper: $0.20 per 1,000 items. Apify's free plan gives you $5 of credit every month, which covers about 25,000 items a month. No start fee; failed items are free.

Try Hacker News Scraper
Firebase APIAlgolia HN SearchPandapi HN Scraper
Endpointhacker-news.firebaseio.com/v0hn.algolia.com/api/v1Apify actor
Best forLive front page, one item by ID, comment treesKeyword search with date and points filtersExports and schedules without code
SearchNoYesYes (uses Algolia)
LimitsOne item per request1,000 hits per queryPages past 1,000 for you
OutputJSON per itemJSON pagesCSV, Excel, JSON
CostFreeFree$0.20 per 1,000 items

Firebase: the live site

curl https://hacker-news.firebaseio.com/v0/topstories.json
curl https://hacker-news.firebaseio.com/v0/item/8863.json

Algolia: search

curl "https://hn.algolia.com/api/v1/search?query=sqlite&tags=show_hn&numericFilters=points>100"

No code

When you want "every Show HN about AI agents since June with 50+ points, as a spreadsheet, every Monday", the Hacker News Scraper does the paging and export.

curl -X POST "https://api.apify.com/v2/acts/blueberry_rainstorm~hacker-news-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "searchQuery": "AI agents",
  "contentType": "show_hn",
  "minPoints": 50,
  "dateFrom": "2026-06-01",
  "maxItems": 1000
}'

Sources, checked 21 November 2026: HN Firebase API, Algolia HN Search API. Prices change; check their pages before you buy.

Questions

Is the Hacker News API free?

Yes, both the Firebase API and the Algolia search API are free and need no key.

How do I get more than 1,000 search results?

Split the query by date ranges with numericFilters on created_at_i, or use a scraper that does it for you.

Which API has comments?

Both. Firebase gives comment trees by item ID; Algolia can search comments by keyword.

Hacker News Scraper: $0.20 per 1,000 items. Apify's free plan gives you $5 of credit every month, which covers about 25,000 items a month. No start fee; failed items are free.

Try Hacker News Scraper

Related guides

Free tools for the same job