Hacker News Scraper avatar

Hacker News Scraper

Pricing

from $10.00 / 1,000 results

Go to Apify Store
Hacker News Scraper

Hacker News Scraper

Scrape Hacker News stories and comments. Get top, new, best, ask, show, and job stories via Firebase API. Full-text search via Algolia HN API. Includes scores, authors, timestamps.

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

lulz bot

lulz bot

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

Scrape stories and comments from Hacker News using the official Firebase and Algolia APIs. Fast, reliable, and comprehensive.

Features

  • Top/New/Best stories from HN front page
  • Ask HN, Show HN, Jobs dedicated feeds
  • Full-text search via Algolia HN Search API
  • Optional comment fetching with configurable depth
  • Real-time data from official HN APIs

Modes

ModeDescription
topCurrent top stories
newNewest stories
bestBest stories of all time
askAsk HN posts
showShow HN posts
jobJob postings
searchFull-text search via Algolia

Input Example

{
"mode": "top",
"maxResults": 30,
"includeComments": true,
"maxCommentDepth": 2
}

Output Fields

FieldTypeDescription
idnumberHN story ID
titlestringStory title
urlstringStory URL
scorenumberUpvote score
bystringAuthor username
timenumberUnix timestamp
timeISOstringISO 8601 timestamp
descendantsnumberTotal comment count
typestringItem type (story/job)
textstringStory text (for Ask/Show HN)
hnUrlstringHN discussion URL
commentsarrayNested comments (if enabled)

Cost

This actor charges $0.005 per result using Pay-Per-Event pricing.