Hacker News Search & Comments (official API)
Pricing
from $1.00 / 1,000 stories
Hacker News Search & Comments (official API)
Search Hacker News stories, Ask HN, Show HN, jobs, polls and the front page through the official Algolia HN API. Filters by date, author, points and comments. Optional full comment threads, flattened with depth. No scraping, no proxies.
Pricing
from $1.00 / 1,000 stories
Rating
0.0
(0)
Developer
Luigi Larochelle
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Security
Limited permissionsShare
Hacker News Search & Comments
Search Hacker News and export stories with their full comment threads, through the official, free Algolia HN Search API. No scraping of news.ycombinator.com, no login, no proxies.
What you get
- Front page, newest stories, Ask HN, Show HN, jobs, polls, or a full-text search.
- Filters: date range, author, minimum points, minimum comments.
- Sorting by relevance or by date.
- Optional comment threads, flattened in thread order with
depthandparentId, so a spreadsheet or an LLM can read them.
Output (one row per story)
{"id": 22238335,"type": "story","title": "Why Discord is switching from Go to Rust","url": "https://blog.discordapp.com/...","hnUrl": "https://news.ycombinator.com/item?id=22238335","author": "Sikul","points": 1582,"numComments": 642,"createdAt": "2020-02-04T17:30:40Z","text": null,"isAskHn": false,"isShowHn": false,"comments": [{ "id": 22238816, "parentId": 22238335, "depth": 0, "author": "...", "createdAt": "...", "text": "...", "hnUrl": "..." }]}
Pricing
Pay per event: one event per story, one per comment when includeComments is on. Nothing is charged for API errors.
Limits
- The API returns at most 1,000 pages of 100 hits per query. Narrow the date range to go deeper.
- Comments are those indexed by Algolia; a story updated in the last minutes may lag slightly.
Use cases
Developer sentiment on a product, competitor mentions, launch monitoring (Show HN), hiring trends (jobs), research datasets.