Hacker News Scraper (Stories, Comments, Ask HN, Show HN) avatar

Hacker News Scraper (Stories, Comments, Ask HN, Show HN)

Pricing

from $0.35 / 1,000 result scrapeds

Go to Apify Store
Hacker News Scraper (Stories, Comments, Ask HN, Show HN)

Hacker News Scraper (Stories, Comments, Ask HN, Show HN)

Search Hacker News stories, comments, Ask HN and Show HN by keyword, author, points and date, beyond the usual 1,000-result limit. Clean JSON, no login, fast.

Pricing

from $0.35 / 1,000 result scrapeds

Rating

0.0

(0)

Developer

Pagecraft Tools

Pagecraft Tools

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Categories

Features

Limited permissions

Share

Hacker News Scraper: Stories, Comments, Ask HN and Show HN

For founders, marketers and researchers tracking what the tech crowd is talking about. You get stories and comments with points, comment counts, authors and links.

Real run (2 Nov 2026): the Hacker News front page, 30 stories in 2 seconds. The example input costs about 1 cent on Apify's Free plan (1 search plus 20 results); the plan includes $5 of free usage every month.

titlepointscommentsposted
BYD sold more EVs last month than the US did all quarter, topping 300,0002542026-11-02 21:38 UTC
Valve "played capitalism so well they broke it" and now Steam can't be replaced23232026-11-02 20:42 UTC

Search Hacker News by keyword, type, author, points and date, and get clean, structured stories and comments. Unlike most tools, newest-first searches keep going past the usual 1,000-result limit.

Quick start

  1. Press Try for free. The form opens with a working example (apify).
  2. Replace it with your own search terms.
  3. Press Start. Results appear as they are found; download them as Excel, CSV or JSON, or use the API.

A result looks like this (some columns):

searchidtypetitleurl
postgres45678901storyPostgres 19 releasedhttps://www.postgresql.org/about/news/

What it does

  • Searches stories, comments, Ask HN, Show HN, polls, jobs or the current front page.
  • Filters by minimum points, minimum comments, date range and author.
  • Sorts by newest first or by relevance.
  • Returns clean text: HTML and entities in comments are converted to plain text, and links are kept.
  • Adds the Hacker News link and the linked site's domain to every story.

Who it's for

  • Founders and marketers tracking mentions of their product or competitors.
  • Developer relations and recruiters finding active people and discussions.
  • Researchers and AI pipelines collecting tech discussion data over time.

Input

FieldWhat to enter
Search termsKeywords, one per line (empty = newest or top items)
TypeStories, comments, Ask HN, Show HN, polls, jobs, front page
Sort byNewest first or most relevant
Maximum results per searchUp to 50,000
Minimum points / commentsOptional thresholds
From / to dateOptional date range
AuthorOptional username
{ "searchTerms": ["postgres", "sqlite"], "type": "story", "minPoints": 100, "dateFrom": "2026-01-01" }

Output

{
"search": "postgres", "id": "45678901", "type": "story",
"title": "Postgres 19 released", "url": "https://www.postgresql.org/about/news/", "domain": "postgresql.org",
"hnUrl": "https://news.ycombinator.com/item?id=45678901",
"author": "someone", "points": 512, "comments": 203, "createdAt": "2026-09-25T14:03:00Z",
"text": null, "isAskHn": false, "isShowHn": false
}

Comments include text, storyId, parentId and the parent story's title.

Pricing

EventWhen it is chargedPrice per 1,000 (Free / Bronze / Silver / Gold plan)
Search runEach request for up to 1,000 results (most searches need one), once per started 1 MB, including searches with no results.$1 on every plan
Result scrapedEach story or comment returned in the dataset.$0.50 / $0.45 / $0.40 / $0.35

Example: 5 searches returning 1,000 results each on the Free plan costs 5 × $0.001 + 5,000 × $0.0005 = $2.51.

Notes and limits

  • Data comes from the public Hacker News search API (by Algolia), which is usually up to date within minutes.
  • Sorting by relevance stops at about 1,000 results per search; use newest first for more.
  • Points and comment counts are as they stand when the run happens.

Workflows with other Pagecraft tools

Pagecraft tools are built to work together. Ideas that use this one:

Monitor news and social mentions. Follow a brand, topic or market across news and social platforms.

  1. Google News Scraper: News articles by keyword and country.
  2. RSS Feed Reader: Every new post from the blogs and news sites you follow.
  3. This tool: Stories and comments from the tech community.
  4. Bluesky Posts & Profiles Scraper: Posts mentioning your keywords on Bluesky.
  5. Telegram Channel Scraper: Posts from public Telegram channels.
  6. Article Extractor: The full text of any article you want to analyse.

Use with AI agents (MCP)

Connect this tool to Claude, Cursor, VS Code or any other MCP client through the Apify MCP server. To load only this tool, use this server URL:

https://mcp.apify.com?tools=pagecraft/hacker-news-scraper

Then ask, for example: "Find Hacker News discussions about our product from the last six months with at least 50 points". The agent gets back each story or comment with title, author, points, date and link. Each call is charged per event at the prices in Pricing above. Agents without an Apify account can also pay per run through Apify's agentic payments.