Hacker News Scraper: Search Stories, Comments & Threads avatar

Hacker News Scraper: Search Stories, Comments & Threads

Pricing

Pay per usage

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

Hacker News Scraper: Search Stories, Comments & Threads

Hacker News scraper and search: stories, comments, Ask HN, Show HN and jobs by keyword, author, points and date, or export full comment threads. Official HN Algolia API, no login, no proxy. Great for brand monitoring.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Tom Studio

Tom Studio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

Hacker News Scraper - Search Stories, Comments & Threads

Search Hacker News (news.ycombinator.com) for any keyword and export stories, comments, Ask HN, Show HN, jobs and polls with title, URL, text, author, points, comment count and date. Or paste story URLs to export full comment threads (with parent and depth).

Uses the official HN Algolia API - no login, no proxy, no browser. Fast and very cheap. The Actor walks back in time automatically, so you can go beyond Algolia's 1,000 results per query.

Use cases

  • Brand & competitor monitoring: get every mention of your product on HN. Schedule daily with lastDays: 1 + onlyNew: true and send results to Slack / email via Apify integrations.
  • Launch tracking: export the full comment thread of your Show HN.
  • Market research & AI datasets: collect developer opinions on a technology (e.g. "rust", "postgres").
  • Recruiting / leads: export "job" posts and Who's Hiring comments.

Input example

{
"queries": ["apify", "web scraping"],
"types": ["story", "comment"],
"lastDays": 30,
"minPoints": 5,
"maxItems": 500,
"storyIds": ["https://news.ycombinator.com/item?id=1"]
}

minPoints / minComments apply to stories (comments have no points in the API).

Output sample

{
"id": "50107586",
"type": "story",
"title": "Show HN: ...",
"url": "https://example.com",
"text": null,
"author": "someuser",
"points": 42,
"numComments": 17,
"createdAt": "2026-10-15T09:12:00Z",
"hnUrl": "https://news.ycombinator.com/item?id=50107586",
"query": "apify"
}

Export to JSON, CSV, Excel, Google Sheets, or call via API. Questions? Open an issue on the Actor page.

Who is this for?

Founders and marketers tracking mentions of their product, developer-relations teams, researchers building datasets of developer opinion, and recruiters reading "Who is hiring" threads.

FAQ

Do I need an API key? No. It uses the public HN Algolia API. Can I monitor my brand daily? Yes: queries: ["yourbrand"], lastDays: 1, onlyNew: true, plus an Apify schedule. How do I export a whole discussion? Put the story URLs in storyIds to get every comment with parent and depth. Is there a 1,000 results limit? Algolia caps one query at 1,000; the Actor walks back in time to go further. Can it post or vote? No, read-only.

More free tools by tomstudio