Hacker News Scraper avatar

Hacker News Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Hacker News Scraper

Hacker News Scraper

Scrape Hacker News stories, comments, and user profiles. Fetch top, new, best, ask, show, and job stories with full item details. Extract comments, user karma, and submission history.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Noximilian

Noximilian

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 hours ago

Last modified

Categories

Share

Scrape Hacker News stories, comments, and user profiles via the Firebase HN API and Algolia search API.

Features

  • Story lists: Fetch top, new, best, ask HN, show HN, and job stories
  • Item details: Get full item data (title, URL, score, author, text, timestamps)
  • Comment trees: Recursively fetch comment threads with configurable depth
  • User profiles: Fetch karma, about, and submission history
  • Search: Full-text search via Algolia HN API

Input

FieldTypeDefaultDescription
modestringstoriesstories, item, user, search
storyTypestringtoptop, new, best, ask, show, job (stories mode)
itemIdintItem ID (item mode)
usernamestringHN username (user mode)
querystringSearch query (search mode)
limitint100Max results
includeCommentsboolfalseFetch comment trees (stories mode)
commentDepthint2Comment recursion depth

Output

Each result is a JSON object with HN item or user data. Stories include: id, type, title, url, text, score, by, time, descendants, kids. Comments include nested _children arrays. Users include: id, karma, about, created, submitted.

API

  • Firebase HN API (no auth, no rate limit)
  • Algolia HN Search API (no auth)