Hacker News Scraper avatar

Hacker News Scraper

Pricing

from $0.10 / 1,000 results

Go to Apify Store
Hacker News Scraper

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

Igor Araujo

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

8 days ago

Last modified

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

ParameterTypeDefaultDescription
sectionenumtopStory section: top, new, best, ask, show, job
maxItemsinteger100Max stories (1–500)
minScoreinteger0Minimum score filter
minCommentsinteger0Minimum comments filter
fetchCommentsbooleanfalseInclude top-level comments

Output

Each result:

FieldTypeDescription
idnumberHN story ID
titlestringStory title
urlstringExternal URL (article link)
hnUrlstringHN discussion link
scorenumberUpvote count
commentsnumberComment count
authorstringSubmitter username
timestringISO 8601 timestamp (UTC)
typestringItem type
sectionstringHN section used
scrapedAtstringWhen the scrape ran
topCommentsarrayTop-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.