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
| Rank | Title | Domain | Points | Comments | HN user | Posted (UTC) |
|---|---|---|---|---|---|---|
| 1 | Ask HN: Apple suspended my dev account 69 days ago and no human will respond | (Ask HN text post) | 346 | 127 | spichakovda | 2026-11-30 09:28 |
| 2 | Sudoku's Hidden Rule | cyrusjavan.com | 318 | 142 | multifasciatus | 2026-11-30 03:49 |
| 3 | People report Claude sabotages any ML-related projects/tasks | reddit.com | 51 | 15 | nvmdbljstm | 2026-11-30 12:09 |
| 4 | The state of Rust allocators in 2026: stabilised | cetra3.github.io | 135 | 48 | fanf2 | 2026-11-28 09:42 |
| 5 | Post-quantum encryption adoption | radar.cloudflare.com | 326 | 174 | mfiguiere | 2026-11-29 23:31 |
| 6 | Claude and I found a dwarf planet candidate | joshuawolk.com | 416 | 156 | nhatcher | 2026-11-29 23:39 |
| 7 | If you want failover to work well, use it often | bencane.com | 454 | 119 | madflojo | 2026-11-29 17:02 |
Step by step
- Open the Hacker News Scraper on the Apify Store and click Try for free (Apify's free plan includes monthly credit).
- 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.
- For a search, type your keywords in Search keywords, choose stories and/or comments, and optionally set Posted on or after (e.g.
7 daysor2026-11-01) and Min points. - For comments, paste story links like
https://news.ycombinator.com/item?id=8863. For jobs, leave Month aslatestor enter2026-10, and turn on Remote jobs only if you want. - Set Max items to control cost, then click Start. The default run (the 30 front-page stories) finished in about 6 seconds.
- 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
- Brand and competitor monitoring: get every new story or comment that mentions your product, company or competitor
- Hiring and recruiting research: export the monthly "Who is hiring?" thread with company, location, remote flag, roles and salary in columns
- Job hunting: filter Who's Hiring posts for remote roles mentioning your stack (rust, python, golang...) and get new ones each month
- Lead generation: find startups that launch on Show HN or announce they are hiring, with their website domain
- Market and trend research: track how often a technology appears on the front page, and how many points and comments it gets
- Sentiment and AI datasets: export full comment threads with depth and parent IDs for analysis or LLM pipelines
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 ApifyMore 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.