Hacker News Scraper: Front Page Stories & Scores avatar

Hacker News Scraper: Front Page Stories & Scores

Pricing

Pay per usage

Go to Apify Store
Hacker News Scraper: Front Page Stories & Scores

Hacker News Scraper: Front Page Stories & Scores

Pull the current Hacker News top, new, best, Ask, Show or Job lists via the official Firebase API: title, score, author, comment count and target domain. No login, no proxy, no browser.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Naimur Hasan

Naimur Hasan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Categories

Share

Hacker News Scraper

Pulls a Hacker News list — top, new, best, Ask, Show or Jobs — via the official Firebase API. No login, no proxy, no browser.

Input

FieldTypeNotes
liststringtopstories | newstories | beststories | askstories | showstories | jobstories. Default topstories.
maxItemsintegerHow many stories. Default 30.
minScoreintegerDrop stories below this score. Default 0.

Output

One row per story: rank, id, title, type, by, score, commentCount, url, domain, isSelfPost, text, createdAt, discussionUrl.

Notes

  • The list endpoint returns ids only. Each story needs its own request, so 500 ids means 500 calls; this Actor fetches in batches of ten concurrently and maxItems defaults to a front page rather than the whole list.
  • A self post has no url. Ask HN and most Show HN entries carry text instead, so url falls back to the discussion page and isSelfPost marks which is which — otherwise the domain column is empty for exactly the posts people most want to find.
  • Deleted and dead items stay in the list. They come back as stubs with no title, and are dropped rather than emitted as blank rows.
  • descendants is the full comment count including replies; kids is only the top-level replies and is not the number shown on the site.
  • rank reflects position in the requested list before score filtering, so filtered output still shows where each story sat.