Hacker News Scraper: Stories, Comments & Search
Pricing
from $0.50 / 1,000 story or comments
Hacker News Scraper: Stories, Comments & Search
Get Hacker News stories and comments from the official API: top, new, best, Ask HN, Show HN, jobs, or keyword search with date and points filters. Optional comment threads. Fast and cheap, no browser.
Pricing
from $0.50 / 1,000 story or comments
Rating
0.0
(0)
Developer
Nico Klyve
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Features
Share
Hacker News Scraper: stories, comments and keyword search
Get Hacker News data as clean JSON, CSV or Excel in seconds. Pick the front page, newest, best, Ask HN, Show HN or job posts, or search every story and comment ever posted by keyword, with date and points filters. Optionally add the full comment thread of each story.
The Actor uses the official Hacker News API (Firebase) and the public HN Search API by Algolia. No browser, no proxy, no login: fast, reliable and cheap.
What people use it for
- Brand and product monitoring: search your company name, domain or product every day and get every new mention in stories and comments.
- Launch tracking: follow how your Show HN or Launch HN post ranks, its points and every comment.
- Trend research: collect the top stories about AI, Rust, startups or any topic over a date range.
- Hiring and job leads: export the job posts published on Hacker News.
- Datasets for analysis and LLMs: build a corpus of high-quality tech discussions with authors, dates and reply structure.
Example output
A story:
{"type": "story","id": 50520182,"title": "Grazing sheep in fields with solar arrays","url": "https://news.cornell.edu/stories/2026/10/sheep-grazing-solar-fields-offers-farmers-economic-ecological-gains","domain": "news.cornell.edu","text": null,"author": "PaulHoule","points": 33,"commentsCount": 5,"createdAt": "2026-11-16T17:27:46.000Z","hnUrl": "https://news.ycombinator.com/item?id=50520182","rank": 1}
A comment (when "Include comments" is on):
{"type": "comment","id": 50385491,"storyId": 50381687,"storyTitle": "Launch HN: Rivet (YC W23) – Scale and Orchestrate Agents on S3","parentId": 50381687,"depth": 1,"author": "kianN","text": "As someone who is not incredibly deep in the agent space, but works a lot on scientific and distributed computing, this really caught my eye...","repliesCount": 2,"createdAt": "2026-11-05T22:36:30.000Z","hnUrl": "https://news.ycombinator.com/item?id=50385491"}
Input
| Field | What it does |
|---|---|
| What to get | Front page, newest, best, Ask HN, Show HN, jobs, or Search by keyword. |
| Search keywords | Words to search (Search mode). |
| Search in | Stories, comments, or both (Search mode). |
| Sort search results by | Newest first or most relevant (Search mode). |
| Posted on or after / before | Date range (Search mode). |
| Minimum points | Keep only stories with at least this many upvotes. |
| Max stories or search results | How many stories or results to save. |
| Include comments | Add the comment thread of each story, with depth and parent id. |
| Max comments per story / Max reply depth | Limit the size of each thread. |
Pricing
Pay per result: $0.0005 per story or comment saved ($0.50 per 1,000 items). Deleted items and empty results are free. Set a maximum charge per run to stay in control.
Good to know
- Comment text is converted from HTML to plain text, links are kept as plain URLs.
rankis the position of the story in the selected list at the time of the run.- Schedule the Actor (for example every hour in Search mode sorted by newest) to get alerts on new mentions.
- Data comes from public, official Hacker News APIs. Please respect the people behind the comments when you reuse them.