Hacker News Algolia Search
Pricing
from $0.50 / 1,000 hn items
Go to Apify Store
Hacker News Algolia Search
Search Hacker News stories, comments, polls, Ask HN, and Show HN via the official Algolia HN API. No HTML scraping.
Pricing
from $0.50 / 1,000 hn items
Rating
0.0
(0)
Developer
Bryce
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Security
Limited permissionsShare
Search Hacker News stories, comments, polls, Ask HN, Show HN, and front-page items via the official HN Algolia API (https://hn.algolia.com/api/v1/).
This Actor is an API client only. It does not scrape news.ycombinator.com HTML.
What you get
| Field | Description |
|---|---|
objectID / id | HN item id |
title / author / url | Story metadata |
hnUrl | Direct link to the HN item |
points / numComments | Score and comment count |
createdAt / createdAtI | Timestamps |
tags | Algolia _tags (story, comment, …) |
storyText / commentText | Text bodies when present |
source | search or item-lookup |
Input
- query — full-text query (optional)
- tags — e.g.
story,comment,front_page,author_pg,(story,poll) - numericFilters — e.g.
points>100 - sort —
relevance(/search) ordate(/search_by_date) - hitsPerPage / maxPages / limit — pagination and hard cap
- itemIds — optional
/items/:idlookups - requestDelayMs — polite delay (default 200)
Example
{"query": "OpenAI","tags": "story","sort": "relevance","hitsPerPage": 20,"maxPages": 1,"limit": 20}
How it works
- Calls
https://hn.algolia.com/api/v1/searchor/search_by_datewith query/tags filters. - Optionally fetches
https://hn.algolia.com/api/v1/items/:id. - Sends User-Agent:
tidydata69-hacker-news-algolia-search (Apify Actor). - Writes one dataset row per item (deduped by
objectID).
Pricing (pay-per-event)
| Event | Price | Notes |
|---|---|---|
apify-actor-start | $0.001 | Synthetic Actor start |
item | $0.0005 | One HN item written to the dataset |
Limitations & rules
- No HTML scraping of news.ycombinator.com.
- Algolia rate limit ~10,000 requests/hour/IP — Actor uses serial requests + delay.
- Empty
query+ emptytags+ emptyitemIdsis rejected.
Use cases
- Track keyword mentions on HN
- Export front-page / Ask HN / Show HN feeds
- Enrich datasets with HN discussion metadata