Hacker News API Scraper avatar

Hacker News API Scraper

Pricing

from $1.00 / 1,000 dataset items

Go to Apify Store
Hacker News API Scraper

Hacker News API Scraper

Fetch stories directly from the official Hacker News Firebase API instantly.

Pricing

from $1.00 / 1,000 dataset items

Rating

0.0

(0)

Developer

Andok

Andok

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Instantly fetch top, new, best, ask, show, or job stories directly from the official Hacker News Firebase API.

What it does

Bypasses HTML scraping entirely by talking directly to the HN Firebase endpoints:

  • Fetch stories by category (top, new, best, ask, show, job)
  • Extracts title, URL, score, author, time, and comment count.

Input

  • category (required): one of top, new, best, ask, show, job. Default: top.
  • maxItems (default 100): max stories to fetch (up to 500).
  • timeoutSeconds (default 15): API fetch timeout.

Output

Outputs one dataset item per story.

Monetization + safety

This actor is designed for Pay-Per-Event (dataset item = 1 story) and respects the per-run max charge limit.