Hacker News Scraper (Stories, Comments, Ask HN, Show HN)
Pricing
from $0.35 / 1,000 result scrapeds
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
15 days ago
Last modified
Categories
Features
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.
| title | points | comments | posted |
|---|---|---|---|
| BYD sold more EVs last month than the US did all quarter, topping 300,000 | 25 | 4 | 2026-11-02 21:38 UTC |
| Valve "played capitalism so well they broke it" and now Steam can't be replaced | 23 | 23 | 2026-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
- Press Try for free. The form opens with a working example (
apify). - Replace it with your own search terms.
- 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):
| search | id | type | title | url |
|---|---|---|---|---|
| postgres | 45678901 | story | Postgres 19 released | https://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
| Field | What to enter |
|---|---|
| Search terms | Keywords, one per line (empty = newest or top items) |
| Type | Stories, comments, Ask HN, Show HN, polls, jobs, front page |
| Sort by | Newest first or most relevant |
| Maximum results per search | Up to 50,000 |
| Minimum points / comments | Optional thresholds |
| From / to date | Optional date range |
| Author | Optional 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
| Event | When it is charged | Price per 1,000 (Free / Bronze / Silver / Gold plan) |
|---|---|---|
| Search run | Each 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 scraped | Each 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.
- Google News Scraper: News articles by keyword and country.
- RSS Feed Reader: Every new post from the blogs and news sites you follow.
- This tool: Stories and comments from the tech community.
- Bluesky Posts & Profiles Scraper: Posts mentioning your keywords on Bluesky.
- Telegram Channel Scraper: Posts from public Telegram channels.
- 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.