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

2 days ago

Last modified

Share

Scrape stories from Hacker News using the official Firebase API. Extract top stories, new submissions, best posts, Ask HN, Show HN, and job listings. Fully reliable — no blocking, no authentication needed.

Features

  • 🔥 Top, New, Best, Ask, Show, Job — all HN story sections
  • 📊 Score & comment filtering — find high-signal content
  • 💬 Optional comment extraction — top-level comments included
  • Fast parallel fetching — 20 concurrent API calls
  • 🔗 Direct HN + external URLs — both the discussion and the article
  • 🕐 Timestamps — ISO 8601 with UTC timezone
  • 💰 No API key — uses HN's free public Firebase API

Input

ParameterTypeDefaultDescription
sectionenumtopStory section: top, new, best, ask, show, job
maxItemsinteger100Max stories to return (1-500)
minScoreinteger0Minimum score filter (0 = no filter)
minCommentsinteger0Minimum comments filter (0 = no filter)
fetchCommentsbooleanfalseAlso fetch top-level comments

Output

Each result contains:

  • id — HN story ID
  • title — Story title
  • url — External article URL (if any)
  • hnUrl — HN discussion link
  • score — Upvote count
  • comments — Comment count
  • author — Submitter username
  • time — ISO 8601 timestamp
  • type — Item type (always "story")
  • section — The HN section used
  • topComments — Top-level comments (if fetchComments enabled)

Use Cases

  • Content Curation — Find top articles for newsletters and blogs
  • Trend Detection — Track emerging tech topics before they go mainstream
  • Competitive Analysis — Monitor competitor mentions and launches
  • Market Research — Understand what developers care about
  • AI Training Data — High-quality tech discussions for fine-tuning

Pricing

Pay-per-result. No API key required — uses Hacker News' free public Firebase API.