News
Hacker News Scraper - Stories, Points & Comments
Scrape Hacker News stories by keyword with points, comment counts, author, URL, tags and timestamps. Sort by relevance or newest. Export to JSON, CSV or Excel.
hacker-news-scraper.json 200 OK
{ "objectID": "22238335", "title": "Why Discord is switching from Go to Rust", "author": "Sikul", "points": 1582, "numComments": 642, "url": "https://blog.discordapp.com/why-discord-is-swi…", "storyUrl": "https://news.ycombinator.com/item?id=22238335", "domain": "blog.discordapp.com", "tags": ["story","author_Sikul","story_22238335"] }
What you get
Every run returns clean, typed records, ready for your CRM, spreadsheet or database.
- One clean record per result, deduped and normalized
- Stable schema in JSON, CSV or Excel, or read it via the Apify API
- Pay per use in the cloud, nothing to install or maintain
Fields it returns
Object IDTitleAuthorPointsNum CommentsUrlStory UrlDomainTagsCreated AtTop Comments
Sample output
A real example record, exactly the shape you receive.
| Object ID | Title | Author | Points |
|---|---|---|---|
| 22238335 | Why Discord is switching from Go … | Sikul | 1582 |
| 40172033 | Leaving Rust gamedev after 3 years | darthdeus | 1484 |
| 25610741 | A half-hour to learn Rust | selvan | 1444 |
GET /hacker-news-scraper
{ "objectID": "22238335", "title": "Why Discord is switching from Go to Rust", "author": "Sikul", "points": 1582, "numComments": 642, "url": "https://blog.discordapp.com/why-discord-is-swi…", "storyUrl": "https://news.ycombinator.com/item?id=22238335", "domain": "blog.discordapp.com", "tags": ["story","author_Sikul","story_22238335"] }
Related scrapers
Frequently asked questions
Can I get the newest stories instead of the most relevant?
Yes. Set the sort option to newest first to get stories in reverse chronological order.
Does it include the discussion link?
Yes. Every record includes a direct link to the Hacker News thread and, when present, the linked article URL.
How many stories can I collect?
As many as match your keyword; set Max Items to control the total.
How fresh is the data?
Points and comment counts are read live at run time, so each record reflects the moment of the run (see observedAt).
Ready when you are.
Run the scraper live on Apify right now, or have us build one tailored to exactly what you need.