Hacker News Scraper
Pricing
from $0.10 / 1,000 results
Go to Apify Store

Hacker News Scraper
Scrape top, new, best, Ask HN, Show HN, and job stories from Hacker News via the official Firebase API. Filter by score and comments. Optional comment extraction. No API key or auth needed.
Pricing
from $0.10 / 1,000 results
Rating
0.0
(0)
Developer
Igor Araujo
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
8 days ago
Last modified
Categories
Share
Hacker News Scraper π
Scrape stories from Hacker News via the official Firebase API β no API key, no blocking, no auth required. Pull top, new, best, Ask HN, Show HN, and job listings with full metadata.
Features
- π₯ All HN sections β top, new, best, ask, show, job
- π Smart filtering β filter by minimum score and comment count
- π¬ Optional comments β fetch top-level comments with discussion context
- β‘ Parallel fetching β 20 concurrent requests, fast even on large runs
- π ISO 8601 timestamps β UTC, machine-readable
- π° Free data source β HN Firebase API is 100% public, no rate limits
Input
| Parameter | Type | Default | Description |
|---|---|---|---|
section | enum | top | Story section: top, new, best, ask, show, job |
maxItems | integer | 100 | Max stories (1β500) |
minScore | integer | 0 | Minimum score filter |
minComments | integer | 0 | Minimum comments filter |
fetchComments | boolean | false | Include top-level comments |
Output
Each result:
| Field | Type | Description |
|---|---|---|
id | number | HN story ID |
title | string | Story title |
url | string | External URL (article link) |
hnUrl | string | HN discussion link |
score | number | Upvote count |
comments | number | Comment count |
author | string | Submitter username |
time | string | ISO 8601 timestamp (UTC) |
type | string | Item type |
section | string | HN section used |
scrapedAt | string | When the scrape ran |
topComments | array | Top-level comments (optional) |
Use Cases
- Content curation β find top articles for newsletters and blogs
- Trend detection β track emerging tech topics before they go mainstream
- Competitive monitoring β watch competitor mentions and launches
- Market research β understand what developers and founders care about
- AI training data β high-quality tech discussions for fine-tuning
Pricing
Pay-per-result. No API key required β HN's Firebase API is free and public.