Hacker News Scraper: Front Page Stories & Scores
Pricing
Pay per usage
Go to Apify Store

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
Maintained by CommunityActor 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
| Field | Type | Notes |
|---|---|---|
list | string | topstories | newstories | beststories | askstories | showstories | jobstories. Default topstories. |
maxItems | integer | How many stories. Default 30. |
minScore | integer | Drop 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
maxItemsdefaults to a front page rather than the whole list. - A self post has no
url. Ask HN and most Show HN entries carrytextinstead, sourlfalls back to the discussion page andisSelfPostmarks 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.
descendantsis the full comment count including replies;kidsis only the top-level replies and is not the number shown on the site.rankreflects position in the requested list before score filtering, so filtered output still shows where each story sat.