Hacker News Scraper - Stories & Comments
Pricing
Pay per usage
Go to Apify Store
Hacker News Scraper - Stories & Comments
Search Hacker News stories and comments by keyword. No login.
Hacker News Scraper — Stories & Comments by Keyword (No Login)
Search Hacker News for any keyword and export the matching stories and comments — no login, no API key.
What it does
Give it one or more keywords and it returns, for each match:
- type — story or comment
- title / text — the headline or comment body
- points, numComments — engagement
- author, createdAt — who and when
- url — the linked article (for stories)
- hnUrl — the Hacker News discussion link
Use cases
- Track what HN is saying about your product, company, or a competitor
- Research trends and sentiment in tech/startup topics
- Build datasets of top stories on a subject for analysis or newsletters
- Feed HN discussion data into an AI agent or dashboard
Input
| Field | Description |
|---|---|
queries | One or more keywords/phrases to search |
tags | Stories only, comments only, or both |
sortByDate | Newest-first, or by relevance/popularity |
maxItemsPerQuery | How many results per keyword (up to 1000) |
Output
One row per story/comment, ready for a spreadsheet, database, or AI pipeline.
{"query": "AI agents","type": "story","title": "An AI agent published a hit piece on me","points": 2346,"author": "scottshambaugh","numComments": 951,"url": "https://theshamblog.com/...","hnUrl": "https://news.ycombinator.com/item?id=46990729","createdAt": "2026-02-12T16:23:24Z"}
Pricing
Pay per result — you're only charged for the items you actually receive.