Hacker News Scraper — Full Archive | $4/1K avatar

Hacker News Scraper — Full Archive | $4/1K

Pricing

$4.00 / 1,000 results

Go to Apify Store
Hacker News Scraper — Full Archive | $4/1K

Hacker News Scraper — Full Archive | $4/1K

Search the whole Hacker News archive past the 1000-result cap that stops every other scraper. Stories and comments by keyword, points and date. Front page feeds, comment trees as clean plain text, user profiles. For market research and developer sentiment analysis.

Pricing

$4.00 / 1,000 results

Rating

0.0

(0)

Developer

Finjard Neumeier

Finjard Neumeier

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

13 hours ago

Last modified

Categories

Share

Hacker News Scraper

Search the entire Hacker News archive, pull the current front page, expand whole comment trees, and look up user profiles. No API key, no login.


Why this scraper

Search past the 1,000-result cap. Hacker News search returns at most 50 pages — 1,000 results — no matter how many matches exist. Ask for 10,000 posts about Rust and every scraper built the obvious way stops at 1,000. This one walks a moving time window instead and keeps going, verified duplicate-free.

Comments as readable text. Hacker News stores comments as HTML with escaped entities. Exported raw, a CSV is full of &#x27; and <p> tags. Here it arrives as plain text.

Breadth-first comment trees. When you limit how many comments to fetch, you want the top of the discussion, not one deep thread. Comments come back level by level, each row tagged with its depth.


What you can extract

ModeWhat you get
Search the whole archiveEvery story or comment matching a keyword, filterable by points, comment count and date range
Current front page or listTop, newest, best, Ask HN, Show HN or job listings as they stand right now
Comments on a storyThe full comment tree, flattened, with depth and parent for each reply
User profilesKarma, join date, submission count and bio

Quick start

  1. Pick Search the whole archive.
  2. Type a keyword, or leave it empty and set Minimum points to 100.
  3. Set Maximum results, click Start, download as CSV or JSON.

Example inputs

Everything ever posted about a topic

{
"mode": "search",
"searchQuery": "postgres",
"sortBy": "date",
"maxItems": 10000
}

Only stories that actually landed

{
"mode": "search",
"searchQuery": "startup",
"minPoints": 100,
"maxItems": 2000
}

Track a competitor being discussed

{
"mode": "search",
"searchQuery": "\"your product name\"",
"contentType": "comment",
"maxItems": 1000
}

Show HN launches in a date range

{
"mode": "search",
"contentType": "show_hn",
"since": "2026-01-01",
"until": "2026-06-30",
"maxItems": 3000
}

Today's front page

{
"mode": "frontPage",
"listName": "topstories",
"maxItems": 30
}

A whole discussion

{
"mode": "comments",
"storyIds": ["https://news.ycombinator.com/item?id=49195231"],
"maxDepth": 10,
"maxItems": 2000
}

Output fields

FieldDescription
id, typeItem ID and whether it is a story, comment, poll or job
titleStory headline; empty for comments
url, domainThe linked article and its domain
hnUrlLink to the Hacker News discussion
textComment or self-post content, as plain text
authorWho posted it
points, numCommentsUpvotes and comment count
createdAt, createdAtTimestampWhen, as ISO date and Unix timestamp
storyId, parentIdFor comments: which story and which parent
depthComment mode: 1 is a top-level reply
childCountDirect replies to this item
tagsCategories such as story or show_hn
username, karma, about, submissionCountUser mode fields

Input notes

  • Stories accept an item ID or a full news.ycombinator.com link.
  • Sort order matters: newest first pages through the entire archive, most relevant stops at 1,000 results — that is a limit of the search backend, not of this Actor.
  • Several stories split the maxItems budget evenly between them.
  • Quoted phrases work in the search query: "rust vs go".

Limits

  • Points are snapshots. Scores change; a story scraped today may differ tomorrow.
  • Relevance sort caps at 1,000. Use newest first for full coverage.
  • Deleted and dead comments are skipped rather than returned as empty rows.
  • Very deep trees on huge threads take time — one request per comment.

FAQ

Do I need an API key? No. Hacker News runs both of its interfaces openly.

Can I really get more than 1,000 search results? Yes, with newest first. That is the main thing this Actor does differently.

How far back does the archive go? To 2007, when Hacker News launched.

Can I search comments, not just stories? Yes — set Stories or comments to Comments.

What formats can I export? CSV, Excel, JSON, XML, or straight from the Apify API.


This Actor reads publicly available data through Hacker News's own public interfaces. It does not bypass authentication or access private content.

Usernames and comment text are personal data under GDPR. You remain responsible for how you store, analyse and republish the output.