Hacker News Scraper: Search, Front Page, Comments, Who's Hiring avatar

Hacker News Scraper: Search, Front Page, Comments, Who's Hiring

Pricing

from $1.00 / 1,000 items scraped

Go to Apify Store
Hacker News Scraper: Search, Front Page, Comments, Who's Hiring

Hacker News Scraper: Search, Front Page, Comments, Who's Hiring

Scrape Hacker News with the official APIs: keyword search of stories and comments (date range, min points), front page/new/best/Ask/Show/jobs lists, full comment threads, and the monthly "Who is hiring?" jobs with company, location and remote parsed. Monitor mode outputs only new items.

Pricing

from $1.00 / 1,000 items scraped

Rating

0.0

(0)

Developer

Kossin Labs

Kossin Labs

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

5 hours ago

Last modified

Features

Limited permissions

Share

Scrape Hacker News with the official APIs: keyword search of stories and comments (date range, min points), front page/new/best/Ask/Show/jobs lists, full comment threads, and the monthly "Who is hiring?" jobs with company, location and remote parsed. Monitor mode outputs only new items.

Good for: Hacker News scraper, HN scraper, Hacker News API to CSV, Hacker News search, Hacker News comments scraper, Who is hiring scraper, HN jobs, Show HN and Ask HN export, Hacker News keyword monitor.

What you get

Real rows from a default run on November 30, 2026 (the front page, top 30 stories; a few columns shown, every row has more fields):

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

That run returned 30 stories in about 6 seconds at 256 MB.

Real rows from the November 2026 "Ask HN: Who is hiring?" thread (same day, parsed fields):

CompanyRolesLocationRemoteSalary
Simple AnalyticsDevOps EngineerREMOTE (worldwide, any timezone)yes€5,000/month (full-time)
SynteqGrowth Lead & Systems AdministratorAustin, TX / REMOTE (US)yes
University of Cambridge, University of ManchesterPhD in AI / Earth Observation / Environmental ScienceONSITE / UK home fee status onlyno£30k tax-free annual stipend
Open Education Applications / NeonSenior Frontend EngineerUtrecht, The Netherlands / HYBRIDno
United RiskEarly-Career AI Engineers – Full-Stack, Data Science, Infrastructure/DevOps (10 openings)New York, NY / HYBRID (2 days/week in office)no$100K–$120K
We The FlywheelBrand Identity Designer (AI-agent team)Remoteyes

Four ways to use it (plus monitor mode)

  • Lists. The front page (top stories), new, best, Ask HN, Show HN or YC job ads, in list order with rank, points and comment counts.
  • Search. Keyword search across stories and/or comments, with date range, minimum points and comments, item types (story, comment, Ask HN, Show HN, poll, front page) and author. Sort by relevance or newest first.
  • Comments. Every comment of the stories you list, flattened in thread order with depth, parentId and storyId.
  • Who is hiring? One row per job post in the monthly thread (latest or any month), with company, roles, location, remote / onsite / hybrid, employment type, salary and apply link parsed from the header line.
  • Monitor mode works with all four: it remembers what it already returned and outputs only new items, so you can schedule keyword alerts or a monthly jobs feed.

Use cases

  • 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

How to use it

  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.

Step-by-step guide: How to scrape Hacker News: search, front page, comments and Who's Hiring jobs

Input

FieldWhat it does
What to scrapeLists, Search, Comments of stories, or "Who is hiring?" (default: Lists)
Max itemsStop after this many rows; your main cost control (default 30)
Listtop (front page), new, best, ask, show or jobs
Search keywords / Item typesWords to find; stories, comments, Ask HN, Show HN, polls, front page
Sort byRelevance or newest first
Posted on or after / beforeYYYY-MM-DD or relative like 7 days
Min points / Min commentsOnly popular stories
Story IDs or URLsStories whose comments you want, with max depth
Month / Remote jobs onlyWhich Who's Hiring thread (latest or 2026-11) and a remote filter
Keep only rows containingKeyword filter on the output in any mode (filtered rows are free)
Monitor modeOnly items not returned by earlier runs of the same query

Example (daily alert for new stories and comments that mention postgres):

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

Output fields

Every mode uses the same schema, so you can mix stories, comments and job posts in one table.

FieldMeaning
idHacker News item ID
typestory, comment, job, poll, or job_post (a Who's Hiring post)
title / url / domainStory title, the linked URL and its domain (empty for comments and text posts)
textPlain text of the story, comment or job post (HTML removed; emails and phone numbers replaced)
authorPoster's public HN username
points / numCommentsScore and total comments (stories)
createdAtPosting time, ISO 8601 UTC
hnUrlLink to the item on news.ycombinator.com
storyId / parentId / depthThread position: story it belongs to, the item it replies to, and depth (0 = story, 1 = top-level comment)
storyTitleTitle of the story a comment belongs to
tagsstory, comment, ask_hn, show_hn, front_page, who_is_hiring...
rank / listTypePosition in the list (Lists mode)
company / roles / locationParsed from a Who's Hiring header line
remote / onsite / hybridWork arrangement flags from the header
employmentType / salary / visaSponsorship / applyUrlAlso parsed when present
hiringMonth / headerThread month and the original header line
isNew / fetchedAtMonitor mode flag and scrape time

A real story row from the default run:

{
"id": 50695539,
"type": "story",
"title": "Sudoku's Hidden Rule",
"url": "https://cyrusjavan.com/posts/solving-with-uniqueness/",
"domain": "cyrusjavan.com",
"text": null,
"author": "multifasciatus",
"points": 318,
"numComments": 142,
"createdAt": "2026-11-30T03:49:48.000Z",
"hnUrl": "https://news.ycombinator.com/item?id=50695539",
"storyId": 50695539,
"parentId": null,
"depth": 0,
"tags": [
"story"
],
"rank": 2,
"listType": "top",
"fetchedAt": "2026-11-30T12:44:43.757Z"
}

A real Who's Hiring row (text shortened here):

{
"id": 50338732,
"type": "job_post",
"title": null,
"url": null,
"domain": null,
"text": "Simple Analytics | DevOps Engineer | REMOTE (worldwide, any timezone) | Full-time, 32h, 24h possible | €5,000/month (full-time) | https://www.simpleanalytics.com/jobs/devops\n\nHi HN, I'm Adriaan. Simple Analytics exists thanks to HN: it started with my Show HN in 2018 [1]. Today we're a self-funded, …",
"author": "AdriaanvRossum",
"points": null,
"numComments": null,
"createdAt": "2026-11-02T16:01:43.000Z",
"hnUrl": "https://news.ycombinator.com/item?id=50338732",
"storyId": 50338728,
"parentId": 50338728,
"depth": 1,
"tags": [
"comment",
"who_is_hiring"
],
"storyTitle": "Ask HN: Who is hiring? (November 2026)",
"hiringMonth": "November 2026",
"company": "Simple Analytics",
"location": "REMOTE (worldwide, any timezone)",
"remote": true,
"onsite": false,
"hybrid": false,
"roles": [
"DevOps Engineer"
],
"employmentType": "Full-time, 32h, 24h possible",
"salary": "€5,000/month (full-time)",
"visaSponsorship": null,
"applyUrl": "https://www.simpleanalytics.com/jobs/devops",
"header": "Simple Analytics | DevOps Engineer | REMOTE (worldwide, any timezone) | Full-time, 32h, 24h possible | €5,000/month (full-time) | https://www.simpleanalytics.com/jobs/devops",
"fetchedAt": "2026-11-30T12:45:31.062Z"
}

A real reply from a comments run (story 8863, depth 2):

{
"id": 9007,
"type": "comment",
"title": null,
"url": null,
"domain": null,
"text": "Drew, this is awesome! All of the features you mentioned are exactly what people need.",
"author": "vlad",
"points": null,
"numComments": null,
"createdAt": "2007-04-05T01:48:11.000Z",
"hnUrl": "https://news.ycombinator.com/item?id=9007",
"storyId": 8863,
"parentId": 8865,
"depth": 2,
"tags": [
"comment"
],
"storyTitle": "My YC app: Dropbox - Throw away your USB drive",
"fetchedAt": "2026-11-30T12:45:20.286Z"
}

Two dataset views are included: Stories and comments and Who is hiring? jobs. A run summary (items output, duplicates, already seen, filtered) is saved to the key-value store as SUMMARY.

Pricing

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.

Pay per item: $1.00 per 1,000 items. 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 the Actor stops cleanly when it's reached (checked on the platform: a run with a $0.01 cap stopped at 9 stories). Apify's free plan includes monthly platform credit, enough to try it on real data.

Integrations and API

Every run's results can be downloaded as JSON, CSV, Excel, XML or HTML, or fetched through the Apify API (REST, plus official JavaScript and Python clients). You can also:

  • Schedule runs hourly, daily or monthly in Apify Console (monitor mode makes each run return only new items).
  • Send results to Make, Zapier, n8n, Google Sheets, Slack, webhooks and other Apify integrations.
  • Let AI agents call it through the Apify MCP server (mcp.apify.com) from Claude, Cursor, VS Code and other MCP clients. Input fields have plain descriptions and examples so an agent can fill them in correctly.

Sources and limits

  • Official public APIs only: the Hacker News API (hacker-news.firebaseio.com/v0) and the HN Search API by Algolia (hn.algolia.com/api/v1). No login, no news.ycombinator.com page scraping.
  • Lists hold up to 500 stories (top, new) or 200 (best, ask, show, jobs), as the official API returns them.
  • Relevance search returns at most 1,000 results per query (Algolia limit). Newest-first search pages back in time for more.
  • Points and comment counts are a snapshot at run time. Comments have no public points.
  • Deleted and dead items are skipped. Who's Hiring parsing is based on the header-line convention; unusual posts keep their full text with some fields empty.

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.

Support

Found a bug, a wrong field or want a new option? Open an issue on the Issues tab. Issues are checked daily. If the Actor saves you time, a quick review helps other people find it.

Made by Kossin Labs. Not affiliated with Hacker News, Y Combinator or Algolia.