Hacker News Story & Comment Scraper
Pricing
Pay per usage
Go to Apify Store

Hacker News Story & Comment Scraper
Scrape Hacker News top/new/best stories with points, comments, author info, and timestamps. Monitor tech trends, startup news, and developer discussions. Uses official Firebase API for reliable data.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
陈俊杰
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Hacker News Scraper — Apify Actor
Extract stories from Hacker News with filtering by points and keywords.
Features
- Fetch top, new, or best stories
- Filter by minimum points score
- Filter by keywords in story titles (comma-separated)
- Structured output: title, URL, points, author, comment count, timestamp
- Uses official Firebase API — no scraping, no blocks
Input
| Field | Type | Default | Description |
|---|---|---|---|
storyType | enum | top | Story feed: top / new / best |
limit | int | 30 | Max stories to fetch (≤100) |
minPoints | int | 0 | Minimum upvotes filter |
keywords | string | — | Comma-separated keywords (e.g. AI,Python,YC) |
Output (one row per story)
{"id": 43254321,"title": "Show HN: Example Project","url": "https://example.com","author": "username","points": 342,"comment_count": 87,"hn_url": "https://news.ycombinator.com/item?id=43254321","type": "story","time": 1748217600}
Use Cases
- 📰 Tech trend monitoring — what's trending on HN right now
- 🏢 Startup intelligence — track Show HN launches
- 🤖 AI training data — collect curated tech news content
- 📊 Competitive analysis — monitor developer sentiment
Example
# CLI via Apify APIcurl -X POST "https://api.apify.com/v2/acts/wsgcjj~hacker-news-scraper/runs" \-H "Content-Type: application/json" \-d '{"storyType":"top","limit":10,"minPoints":100,"keywords":"AI,LLM"}'
Limits
- 100 stories max per run (Firebase API limit)
- Free API — no API key or proxy needed