HN Scraper avatar

HN Scraper

Pricing

Pay per usage

Go to Apify Store
HN Scraper

HN Scraper

Scrape Hacker News stories with title, author, score, comments, and timestamps. Supports top, new, best, ask, and show story types. Free API, no proxies needed. Clean structured JSON output.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Usman Mirza

Usman Mirza

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

20 days ago

Last modified

Share

Hacker News Scraper

Scrape Hacker News stories. Fast, reliable, uses public API.

Features

  • 5 story types - top, new, best, ask, show
  • Clean output - title, author, score, comments, URL, timestamp
  • No login required - Uses HN's public Algolia API
  • Fast - Direct API calls, no browser needed
  • Free to run - No proxies needed

Use Cases

  • Tech trend monitoring - Track what's trending on HN
  • Content research - Find popular topics
  • Developer insights - See what developers care about
  • Market research - Monitor tech industry trends
  • Data analysis - Build datasets for research

Input

FieldTypeDefaultDescription
storyTypestring"top"top, new, best, ask, show
maxItemsinteger30Max stories to fetch (1-100)

Output

Each story includes:

  • id - HN story ID
  • title - Story title
  • author - Author username
  • score - Upvote count
  • comments - Comment count
  • url - External URL
  • hnUrl - HN discussion URL
  • type - Story type
  • createdAt - ISO timestamp

Pricing

$0.001 per result (pay-per-event)

License

MIT