Hacker News Scraper - Stories, Comments & Search avatar

Hacker News Scraper - Stories, Comments & Search

Pricing

from $0.80 / 1,000 item scrapeds

Go to Apify Store
Hacker News Scraper - Stories, Comments & Search

Hacker News Scraper - Stories, Comments & Search

Scrape Hacker News stories, Show HN, Ask HN, jobs and comments by keyword, author, date or points via the official Algolia HN API. Get title, URL, points, comments count, author and text. Fast, no proxy needed.

Pricing

from $0.80 / 1,000 item scrapeds

Rating

0.0

(0)

Developer

Camp8 fr0

Camp8 fr0

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

6 days ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

Export Hacker News stories, comments, Show HN, Ask HN, jobs and polls in seconds - by keyword, author, date range or minimum points - using the official Algolia Hacker News Search API.

What does it do?

For each search query it pages through the Hacker News search index and returns clean, structured items. Leave queries empty and choose front_page to snapshot the current front page.

Features

  • Keyword search across all of Hacker News history
  • Filter by type (story, comment, Show HN, Ask HN, job, poll), author, points and date range
  • Sort by relevance or newest
  • Comment text cleaned from HTML
  • Direct link to the HN discussion for every item

Use cases

  • Track mentions of your product, competitors or keywords on HN
  • Find launch ideas and trending topics for content and SEO
  • Build datasets for AI / NLP research
  • Monitor Show HN launches and job posts daily with a schedule

How to use

  1. Open the Input tab and fill in search queries (one per line).
  2. Adjust the optional settings if needed.
  3. Click Start, then download your data as JSON, CSV, Excel or HTML, or get it via the Apify API.

Input example

{
"queries": [
"AI agents",
"web scraping"
]
}

Output example

{
"objectId": "41234567",
"type": "story",
"title": "Show HN: I built an open-source scraper",
"url": "https://example.com",
"points": 312,
"numComments": 87,
"author": "pg",
"createdAt": "2026-11-17T14:03:00.000Z",
"hnUrl": "https://news.ycombinator.com/item?id=41234567",
"query": "web scraping"
}

Pricing

$0.80 per 1,000 items plus the Apify platform usage of your run. Inputs that fail are not charged. Set a maximum cost per run in the run options to stay in control.

Use it as an API (HTTP / Standby mode)

Besides normal runs, this Actor can run as a web server: send a GET request with the input fields as query parameters (lists comma-separated) or POST the input as JSON, and get { count, items } back in real time. It also works with the Apify API, MCP / AI agents, Make, Zapier and n8n.

FAQ

Do I need an API key? No. The Algolia HN API is public.

How fresh is the data? Near real time - new items appear within minutes.

Why is there a 1,000 limit? The API returns at most 1,000 hits per query; use a date range to go deeper.

Something not working or need a new field? Open an issue on the Issues tab - it will be handled quickly.