Hacker News Scraper
Pricing
$2.00 / 1,000 item scrapeds
Go to Apify Store
Hacker News Scraper
Search and scrape Hacker News stories, comments and discussions via the official HN Algolia API. Filter by keyword, type, points, date. No API key.
Pricing
$2.00 / 1,000 item scrapeds
Rating
0.0
(0)
Developer
Mehmet Kut
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Search and scrape Hacker News stories, comments, and discussions via the official HN Algolia API. Filter by keyword, content type, points, and date. Clean JSON, no API key.
๐ฏ What it does
- Search HN by keyword, or grab the latest front-page stories
- Filter by content type: stories, comments, Show HN, Ask HN, polls, jobs
- Filter by minimum points and sort by relevance or date
- Optionally fetch top comments for each story
- Returns: title, URL, author, points, comment count, text, timestamps, HN link
๐ก Use cases
- Tech trend monitoring โ track what's hot in a topic (AI, startups, a language)
- Content research โ find top discussions for a keyword
- Sentiment / opinion mining โ feed comments into LLMs
- Competitor / product monitoring โ get alerted to mentions
- Lead generation โ find founders and devs discussing a space
- Dataset building โ collect HN data for analysis / ML
๐ฅ Input
| Field | Type | Description |
|---|---|---|
queries | array | Search keywords (empty = front page) |
tags | string | story / comment / show_hn / ask_hn / poll / job / front_page |
sortBy | string | relevance or date |
minPoints | integer | Minimum points filter |
maxItems | integer | Max items to scrape |
includeComments | boolean | Fetch top comments per story |
Example input
{"queries": ["artificial intelligence"],"tags": "story","sortBy": "relevance","minPoints": 100,"maxItems": 200}
๐ค Output
{"objectID": "38912345","title": "Show HN: I built an AI agent framework","url": "https://example.com","author": "pg","points": 2346,"numComments": 951,"createdAt": "2026-07-01T12:00:00Z","hnUrl": "https://news.ycombinator.com/item?id=38912345"}
โก Performance
Uses the HN Algolia Search API directly โ no browser, no API key, no quota. Blazing fast.