Hacker News Scraper avatar

Hacker News Scraper

Pricing

$2.00 / 1,000 item scrapeds

Go to Apify Store
Hacker News Scraper

Hacker News Scraper

Search and scrape Hacker News stories, comments and discussions via the official HN Algolia API. Filter by keyword, type, points, date. No API key.

Pricing

$2.00 / 1,000 item scrapeds

Rating

0.0

(0)

Developer

Mehmet Kut

Mehmet Kut

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Search and scrape Hacker News stories, comments, and discussions via the official HN Algolia API. Filter by keyword, content type, points, and date. Clean JSON, no API key.

๐ŸŽฏ What it does

  • Search HN by keyword, or grab the latest front-page stories
  • Filter by content type: stories, comments, Show HN, Ask HN, polls, jobs
  • Filter by minimum points and sort by relevance or date
  • Optionally fetch top comments for each story
  • Returns: title, URL, author, points, comment count, text, timestamps, HN link

๐Ÿ’ก Use cases

  • Tech trend monitoring โ€” track what's hot in a topic (AI, startups, a language)
  • Content research โ€” find top discussions for a keyword
  • Sentiment / opinion mining โ€” feed comments into LLMs
  • Competitor / product monitoring โ€” get alerted to mentions
  • Lead generation โ€” find founders and devs discussing a space
  • Dataset building โ€” collect HN data for analysis / ML

๐Ÿ“ฅ Input

FieldTypeDescription
queriesarraySearch keywords (empty = front page)
tagsstringstory / comment / show_hn / ask_hn / poll / job / front_page
sortBystringrelevance or date
minPointsintegerMinimum points filter
maxItemsintegerMax items to scrape
includeCommentsbooleanFetch top comments per story

Example input

{
"queries": ["artificial intelligence"],
"tags": "story",
"sortBy": "relevance",
"minPoints": 100,
"maxItems": 200
}

๐Ÿ“ค Output

{
"objectID": "38912345",
"title": "Show HN: I built an AI agent framework",
"url": "https://example.com",
"author": "pg",
"points": 2346,
"numComments": 951,
"createdAt": "2026-07-01T12:00:00Z",
"hnUrl": "https://news.ycombinator.com/item?id=38912345"
}

โšก Performance

Uses the HN Algolia Search API directly โ€” no browser, no API key, no quota. Blazing fast.