Hacker News API Search by Keyword, No Key Needed
Search Hacker News for a keyword and get stories with points, author, comment count, date and both links. Runs on the public API, so there is no quota to mind.
What this run is set to
The settings saved on this example. Every one of them is editable once you open it on Apify — these are a starting point, not a limit.
| Setting | Value | What it does |
|---|---|---|
Search query | openai | Keywords to search Hacker News for (e.g. "openai", "rust async"). |
Item type | story | Which kind of Hacker News items to return: stories, Show HN, Ask HN, comments, or current front page. |
Sort by | relevance | Order results by Algolia relevance (best match) or by date (newest first). |
Max items | 50 | Maximum number of items to return. |
Pricing
$0.001 per item = $1 per 1,000
| You are charged for | When | Price |
|---|---|---|
| Item returned | Charged per HN story/comment returned. | $0.001 |
Pay-per-event pricing: you are billed per result, not per subscription. Billing is handled by Apify on your own account. These are the live Apify store prices, in effect since 2026-06-12, and they are what you are actually charged.
What you get
A structured dataset — each result includes fields like:
authorcreatedAthnUrlnumCommentsobjectIdpointstexttitletypeurlExport every run as JSON, CSV or Excel, or send it to your app, a database, Google Sheets, or an AI agent.
More use cases for Hacker News Scraper
Built on Hacker News Scraper — every input, output field, price and the full how-to are on the tool page.
Where this tool sits
- Categories
- Developer & Research Tools
- Platforms
- Hacker News