Hacker News Scraper: Stories, Comments & Who Is Hiring avatar

Hacker News Scraper: Stories, Comments & Who Is Hiring

Pricing

from $0.35 / 1,000 rows

Go to Apify Store
Hacker News Scraper: Stories, Comments & Who Is Hiring

Hacker News Scraper: Stories, Comments & Who Is Hiring

Search Hacker News stories and comments by keyword, author, date and points, past the 1,000-result limit. Front-page lists, full comment threads as flat rows, monthly Who is hiring posts and user profiles. $0.50 per 1,000 rows.

Pricing

from $0.35 / 1,000 rows

Rating

0.0

(0)

Developer

Tagada Data

Tagada Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Features

Limited permissions

Share

Get Hacker News as clean, flat rows. Search stories and comments by keyword, author, date range, minimum points and minimum comments, and keep going past the usual 1,000-result limit by walking back through the dates. Pull the front page and the other live lists (Top, New, Best, Ask HN, Show HN, Jobs) with their rank, whole comment threads from story links (one row per comment, with depth and parent so you can rebuild the tree), the job posts of the latest "Who is hiring?" thread, and user profiles. Every row has a type field (story, comment, job, poll, user), so one dataset holds a mixed run and still filters cleanly in a spreadsheet.

$0.50 per 1,000 rows on Free ($0.35 on Gold), plus $0.001 per run. Platform usage is included. No API key, no login, no proxy needed.

What you get

One flat row per story, comment, job post or user. Fields that do not apply to a row type are null.

FieldWhat it is
typestory, comment, job, poll or user
idHacker News item ID (the username for a user row)
title / url / domainStory title, the link it points to, and that link's domain
authorHacker News username of the poster
points / numCommentsStory score and comment count
createdAtWhen it was posted (ISO 8601, UTC); account creation date for a user
text / textHtmlComment, Ask HN text or user "about": plain text (links spelled out in full) and the original HTML
storyId / storyTitle / storyUrlFor a comment: the story it belongs to
parentId / depthFor a comment: what it replies to, and how deep (1 = a direct reply to the story). depth is filled for comments read from a thread, not for comments found by search
rankPosition on the front-page list it came from
headlineHiring-thread posts: the first line, usually Company | Role | Location | Remote
tagsstory, comment, ask_hn, show_hn, job, poll, front_page
karma / submittedCountUser rows: karma and number of submissions
hnUrlThe item or profile on news.ycombinator.com
source / inputWhich part of your input produced the row (search, list, item, comments, hiring, user) and the search term, list, link or username
retrievedAtWhen the row was fetched (ISO 8601)

Comments from Add comment threads and Story URLs come in thread order: each reply right after its parent.

Why this one

  • Past 1,000 results. The Hacker News search engine stops at 1,000 hits per query. With Newest first the actor walks back through the dates and keeps going, up to 10,000 rows per search term.
  • Comments as rows, not a nested blob. Comment search by keyword (who mentions your product), and full threads with depth and parent ID, ready for a spreadsheet, a sentiment model or an AI agent.
  • Exact words. A search for rust does not also return trust or just (the search engine's typo matching is switched off by default; one toggle turns it back on). The search engine also matches usernames, so a keyword can return the odd comment whose author's name contains it.
  • Hiring threads in one click. The latest "Who is hiring?", "Who wants to be hired?" or "Freelancer?" thread as one row per post, with the first line split out.
  • Mixed runs. Search terms, lists, story links, the hiring thread and user profiles in the same run; a story found twice is delivered once.

Who uses it

  • Founders, DevRel and marketing teams: watch every new Hacker News story and comment that mentions their product or a competitor (a scheduled run with Only the last N days = 1).
  • Recruiters and job seekers: the monthly "Who is hiring?" posts as rows, with company, role and location in the headline.
  • Researchers and AI builders: discussion threads and comment datasets on a topic, with dates and scores, for analysis or training data.
  • Investors and analysts: Show HN launches and front-page stories above a points threshold, with their links and domains.

Examples

Prefill: stories about web scraping, best matches first.

{"searchTerms":["web scraping"]}

Every comment from the last 7 days that mentions your product (schedule it daily with lastDays 1):

{"searchTerms":["apify","crawlee"],"contentType":"comment","sort":"newest","lastDays":7,"maxResults":1000}

All Show HN posts about Rust in 2025 with at least 50 points, newest first:

{"searchTerms":["rust"],"contentType":"show_hn","sort":"newest","dateFrom":"2025-01-01","dateTo":"2025-12-31","minPoints":50,"maxResults":2000}

The front page right now, with the 20 first comments of each story:

{"lists":["top"],"maxResults":30,"includeComments":true,"maxCommentsPerStory":20}

A whole discussion thread as rows:

{"storyUrls":["https://news.ycombinator.com/item?id=22238335"],"maxCommentsPerStory":2000}

This month's "Who is hiring?" job posts:

{"hiringThread":"who_is_hiring","maxResults":1000}

Everything one user posted, plus their profile:

{"authors":["pg"],"contentType":"all","sort":"newest","userProfiles":["pg"],"maxResults":500}

Results, zeros and errors

  • A search the site answered with no match, a front-page list where nothing passed your filters, and a story or user that does not exist are reported as such in the run status and cost nothing beyond the run start.
  • A search the site refused, or that the run clock stopped, is named in the status and is never reported as "no match". If the site rate-limits a search, the actor waits once, then moves on and bills only what it delivered.
  • Relevance search returns at most 1,000 results per search term (a limit of the search engine); the status says so, and Newest first goes past it.
  • Invalid input ends the run right away with an "Input error: ..." message and only the $0.001 start charge.

Pricing

  • $0.001 per run (start).
  • $0.50 per 1,000 rows on Free, with lower prices on higher Apify plans ($0.35 per 1,000 on Gold). Stories, comments, job posts and user profiles all count as one row each. Platform usage is included.

Set a maximum charge per run in Apify if you want a hard ceiling; the actor stops at it and says so in the status.

FAQ

Can I get more than 1,000 results for one keyword? Yes: set Sort to Newest first. The actor then walks back through the dates, up to 10,000 rows per search term (split a bigger job into date ranges).

How do I monitor new mentions? Schedule a daily run with your keywords, Content type = Stories and comments, Sort = Newest first and Only the last N days = 1.

Are deleted comments included? No. Deleted and removed comments are skipped; their visible replies are kept, with their real depth.

Are the comments in the same order as on the site? They come in thread order (every reply right after its parent), oldest reply first at each level, not in the site's live ranking.

How fresh is it? Lists and profiles are read live. A story posted in the last minute or two may not be in search yet; for a brand-new story link the actor returns the story and says the thread is not indexed yet.

Data use

The data comes from the public Hacker News APIs (the official API and the public search API). It is the same content anyone can read on news.ycombinator.com without an account. Usernames are public handles; the actor does not collect e-mail addresses or anything beyond the public profile (karma, creation date, about text). If you process comments or profiles about people, you are responsible for doing so lawfully (for example under the GDPR).