Hacker News Scraper avatar
Hacker News Scraper

Pricing

Pay per usage

Go to Apify Store
Hacker News Scraper

Hacker News Scraper

Scrape Hacker News stories, comments, and user profiles. Get top, new, best, ask, and show stories with scores and metadata. Built for content curation and trend analysis.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Donny Nguyen

Donny Nguyen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

21 hours ago

Last modified

Categories

Share

Hacker News Scraper - Extract Stories & Comments Data

Scrape Hacker News stories, comments, and user profiles. Get top, new, best, ask, and show stories with scores, authors, and metadata.

Key Features

  • Scrape 6 feed types (top/new/best/ask/show/jobs)
  • Search by keyword via Algolia API
  • Optionally fetch top comments per story
  • Filter by minimum score

Cost

This actor uses pay-per-usage pricing. Typical runs cost $0.01-0.05 depending on scope.

Input Example

{
"feedType": "top",
"maxResults": 10
}

Output Example

{
"id": 12345678,
"title": "Show HN: My Cool Project",
"url": "https://example.com",
"hnUrl": "https://news.ycombinator.com/item?id=12345678",
"author": "username",
"score": 256,
"commentCount": 89,
"createdAt": "2026-02-02T10:00:00.000Z",
"type": "top",
"scrapedAt": "2026-02-02T12:00:00.000Z"
}

Use Cases

  • Content curation and trend analysis
  • Startup and tech news monitoring
  • Research on developer sentiment
  • Building HN dashboards and alerts

Limitations

  • HN API rate limits may slow large requests; comments add significant fetch time

Built By

Donny Dev - Blockchain & automation developer