Home / Tools

How to scrape Hacker News: search, front page, comments and Who's Hiring jobs

Hacker News is where developers, founders and investors talk about new tools, launches and jobs. This tool turns it into a clean table using only the official public APIs: search stories and comments by keyword, export the front page or the Ask HN and Show HN lists, pull every comment of a thread with its depth and parent, or get each job post from the monthly "Who is hiring?" thread with the company, location, remote flag and roles already split out. Monitor mode remembers what you already got, so a daily schedule returns only new items.

Open Hacker News scraper on Apify  $1.00 per 1,000 items, pay per result

What you get

Real rows from a default run on Nov 30, 2026. A few columns shown; each row has more fields. — means the source did not publish it or it does not apply.
RankTitleDomainPointsCommentsHN userPosted (UTC)
1Ask HN: Apple suspended my dev account 69 days ago and no human will respond(Ask HN text post)346127spichakovda2026-11-30 09:28
2Sudoku's Hidden Rulecyrusjavan.com318142multifasciatus2026-11-30 03:49
3People report Claude sabotages any ML-related projects/tasksreddit.com5115nvmdbljstm2026-11-30 12:09
4The state of Rust allocators in 2026: stabilisedcetra3.github.io13548fanf22026-11-28 09:42
5Post-quantum encryption adoptionradar.cloudflare.com326174mfiguiere2026-11-29 23:31
6Claude and I found a dwarf planet candidatejoshuawolk.com416156nhatcher2026-11-29 23:39
7If you want failover to work well, use it oftenbencane.com454119madflojo2026-11-29 17:02

Step by step

  1. Open the Hacker News Scraper on the Apify Store and click Try for free (Apify's free plan includes monthly credit).
  2. Pick What to scrape: Lists (front page, new, best, Ask HN, Show HN, jobs), Search, Comments of specific stories, or "Who is hiring?" job posts.
  3. For a search, type your keywords in Search keywords, choose stories and/or comments, and optionally set Posted on or after (e.g. 7 days or 2026-11-01) and Min points.
  4. For comments, paste story links like https://news.ycombinator.com/item?id=8863. For jobs, leave Month as latest or enter 2026-10, and turn on Remote jobs only if you want.
  5. Set Max items to control cost, then click Start. The default run (the 30 front-page stories) finished in about 6 seconds.
  6. Download CSV, Excel or JSON. For alerts, turn on Monitor mode and schedule the run daily: each run returns only items you haven't seen yet.

Example input

{
  "mode": "search",
  "searchQuery": "postgres",
  "searchTags": [
    "story",
    "comment"
  ],
  "sortBy": "date",
  "dateFrom": "7 days",
  "minPoints": 0,
  "maxItems": 200,
  "onlyNewItems": true,
  "monitorStateName": "hn-postgres-mentions"
}

What people use it for

What it costs

You pay $1.00 per 1,000 rows in your results (stories, comments or job posts), so the front page (30 stories) costs about 3 cents and a full month of "Who is hiring?" posts (about 200–400 rows) about 20 to 40 cents. Duplicates, rows dropped by your filters and, in monitor mode, items you already got are free. Apify also adds its standard tiny per-run start fee. Set a maximum charge per run and it stops cleanly at that amount. Apify's free plan includes monthly credit, enough to try it on real data.

Automate it

Schedule the run daily or weekly in Apify, send results to Make, Zapier, n8n or Google Sheets, pull them with the Apify API, or let an AI agent run it through Apify's MCP server. One Actor covers keyword search, the front page and other lists, full comment threads and parsed "Who is hiring?" job posts, all in one output schema, plus monitor mode for new items only.

FAQ

Is this the official Hacker News API?

It uses only official public APIs: the Hacker News API (hacker-news.firebaseio.com, run by Y Combinator) for lists and items, and the HN Search API by Algolia (hn.algolia.com/api) for search, threads and Who's Hiring. It doesn't log in or load news.ycombinator.com pages, and requests are spread out politely (5 at a time by default).

How do I get comments of a story?

Choose Comments of specific stories and paste the story IDs or links. Every comment is one row in thread order, with depth (1 = top-level), parentId and storyId, so you can rebuild the tree. Set Max comment depth 1 for top-level comments only.

How does the Who is hiring parsing work?

Job posts usually start with a header like Company | Role | Location | REMOTE | Salary. The Actor splits that line into company, roles, location, remote / onsite / hybrid flags, employment type, salary, visa and an apply or careers link, and keeps the full plain-text post. Posts that don't follow the format keep their text with the fields it could not find left empty.

Can I search by date or popularity?

Yes. Use Posted on or after / before (dates or relative values like 7 days) and Min points / Min comments. Relevance search returns up to 1,000 results per query (an Algolia limit); newest-first search pages further back in time.

How does monitor mode work?

It saves the IDs of items it returned in a named key-value store in your Apify account. Later runs of the same query output, and charge for, only new items. Newest-first search stops as soon as it reaches items from the last run.

Does it collect personal data?

It returns public Hacker News content: titles, links, text, points and the poster's public HN username. Email addresses and phone numbers inside text are replaced with [email removed] and [phone removed], and it doesn't fetch user profiles.

What does it cost?

$1.00 per 1,000 rows, plus Apify's standard $0.00005 start fee. Set a maximum charge per run and the Actor stops cleanly when it's reached.

Try it on your own list. Free Apify plan credit covers a real test run.

Open on Apify

More tools: Broken link checker · SEC EDGAR filings scraper · RSS feed reader & monitor · Bulk meta tags checker · Bulk domain checker · Tech stack detector · Shopify products scraper · ATS jobs scraper · Building permits scraper. Kossin Labs is not affiliated with the websites, platforms or companies mentioned.