Hacker News Scraper
Pricing
from $3.00 / 1,000 results
Go to Apify Store
Hacker News Scraper
Scrape Hacker News stories, comments, and user profiles. Fetch top, new, best, ask, show, and job stories with full item details. Extract comments, user karma, and submission history.
Pricing
from $3.00 / 1,000 results
Rating
0.0
(0)
Developer
Noximilian
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
11 hours ago
Last modified
Categories
Share
Scrape Hacker News stories, comments, and user profiles via the Firebase HN API and Algolia search API.
Features
- Story lists: Fetch top, new, best, ask HN, show HN, and job stories
- Item details: Get full item data (title, URL, score, author, text, timestamps)
- Comment trees: Recursively fetch comment threads with configurable depth
- User profiles: Fetch karma, about, and submission history
- Search: Full-text search via Algolia HN API
Input
| Field | Type | Default | Description |
|---|---|---|---|
| mode | string | stories | stories, item, user, search |
| storyType | string | top | top, new, best, ask, show, job (stories mode) |
| itemId | int | — | Item ID (item mode) |
| username | string | — | HN username (user mode) |
| query | string | — | Search query (search mode) |
| limit | int | 100 | Max results |
| includeComments | bool | false | Fetch comment trees (stories mode) |
| commentDepth | int | 2 | Comment recursion depth |
Output
Each result is a JSON object with HN item or user data. Stories include: id, type, title, url, text, score, by, time, descendants, kids. Comments include nested _children arrays. Users include: id, karma, about, created, submitted.
API
- Firebase HN API (no auth, no rate limit)
- Algolia HN Search API (no auth)