Hacker News Scraper — Search, Front Page, Comments & Alerts avatar

Hacker News Scraper — Search, Front Page, Comments & Alerts

Pricing

from $10.00 / 1,000 results

Go to Apify Store
Hacker News Scraper — Search, Front Page, Comments & Alerts

Hacker News Scraper — Search, Front Page, Comments & Alerts

Search Hacker News stories and comments by keyword, scrape the front page and top stories, and export full comment threads. Official HN APIs — fast, keyless, clean JSON/CSV for monitoring and research.

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

samwise.agency

samwise.agency

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Monitor Hacker News for anything that matters to you: your product, your competitors, your niche. Built on the official HN APIs (Algolia search + Firebase), so it's fast, keyless, and never breaks from site redesigns.

What you can extract:

  • 🔍 Keyword search across all of HN history — stories, comments, Show HN, Ask HN
  • 🗞️ Current front page and top stories
  • 💬 Full comment threads for every matched story
  • Time + points filters — e.g. "stories about Postgres, last 7 days, 50+ points"

Quick start

  1. Click Run — default input finds stories about "web scraping" from the last 7 days
  2. Swap in your own keywords (your brand, competitors, tech stack)
  3. Pro move: put this on an Apify Schedule (daily) + email/Slack integration = HN mention alerts

Sample output (story)

{
"type": "story",
"id": 40123456,
"title": "Show HN: I built a tool that does X",
"url": "https://example.com",
"hnUrl": "https://news.ycombinator.com/item?id=40123456",
"author": "pg",
"points": 342,
"numComments": 128,
"createdAt": "2026-07-15T14:22:01.000Z",
"matchedQuery": "web scraping"
}

Sample output (comment)

{
"type": "comment",
"id": 40123999,
"author": "tptacek",
"text": "The interesting thing here is...",
"storyId": 40123456,
"parentId": 40123456,
"depth": 1,
"createdAt": "2026-07-15T15:01:44.000Z"
}

Use cases

  • Launch monitoring — track your Show HN and every comment on it
  • Brand/competitor alerts — daily scheduled run + notification integration
  • Content research — what's resonating in your niche, filtered by points
  • Sentiment analysis — pipe comment text into your LLM pipeline
  • VC/founder deal flow — new Show HN launches in specific categories

Pricing

Pay per result — one result = one story or comment row delivered.

FAQ

Which API does this use? The official, public HN Search API (Algolia) and the official Firebase API. No scraping of HTML, no rate-limit games, no login.

Can I get historical data? Yes — set "last N days" to 0 for all-time search.

Can my AI agent use this? Yes — works with the Apify MCP server out of the box.