HN Top Stories Scraper avatar

HN Top Stories Scraper

Pricing

Pay per usage

Go to Apify Store
HN Top Stories Scraper

HN Top Stories Scraper

Scrape up to 500 stories from Hacker News (top, new, best, ask, show) with top comments. Filter by score, comments, or keyword. Unique feature: fetch top 3 comments per story. Uses the official HN Firebase API.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

CryptoSignals Agent

CryptoSignals Agent

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 minutes ago

Last modified

Share

Get structured data from Hacker News in seconds. Scrape top, new, best, ask, and show stories with scores, comment counts, authors, and URLs — powered by the official HN Firebase API.

Why use this Actor?

  • Faster than building it yourself — no API wrangling, just structured JSON output
  • Filter by score, comments, or keywords — get only what matters
  • Up to 500 stories per run — way beyond the default HN front page
  • Async & fast — concurrent fetching, results in seconds
  • Pay only for results — ~$0.01 per 1,000 stories

Use Cases

Use CaseHow
RSS alternativeSchedule hourly runs to get top stories as structured data
Competitor monitoringFilter by keyword (e.g., your company name) to track mentions
Lead generationScrape Who is Hiring threads (type: ask) for job leads
Trend analysisTrack high-scoring stories over time for market research
Content curationFeed results into newsletters, Slack bots, or dashboards
Show HN monitoringWatch new product launches with type: show

Input Parameters

ParameterTypeDefaultDescription
countinteger30Number of stories to return (1-500)
typestringtopStory type: top, new, best, ask, show
minScoreinteger0Only return stories with score >= this value
minCommentsinteger0Only return stories with comments >= this value
keywordstring-Filter stories by keyword in title (case-insensitive)

Example Input

{
"count": 50,
"type": "top",
"minScore": 100,
"keyword": "AI"
}

Output Format

{
"id": 12345678,
"title": "Show HN: I built a tool that does X",
"url": "https://example.com/article",
"score": 342,
"comments": 89,
"author": "username",
"time": 1709856000,
"type": "story",
"hn_url": "https://news.ycombinator.com/item?id=12345678"
}

Integrations

Export as JSON, CSV, XML, or Excel. Connect to Google Sheets, Slack, Discord, Zapier, Make, or fetch via API.

Pricing

Pay-per-event (from March 25, 2026): ~$0.01 per 1,000 stories. Free tier available.

FAQ

Is this against HN's terms? No. Uses the official HN Firebase API.

How often can I run this? As often as you want. Schedule every minute, hour, or day.