Apify Actor
Hacker News Scraper
Search or read the front page, Ask HN, Show HN and jobs — with the full discussion if you want it.
Pay per result on Apify. Runs that return nothing cost nothing; Apify's free plan includes $5 of usage a month, and Apify Bronze, Silver and Gold subscribers get 10%, 20% and 30% off.
Search Hacker News by keyword or read its lists and get every story with points, comment count, domain, author and date, optionally with the whole discussion flattened into comments with depth and parent. Filter by date and minimum points.
Built on the official Algolia Hacker News API: exact numbers, no scraped HTML, no login.
What you get
- • Front page, newest, Ask HN, Show HN, jobs, polls and full-text search
- • Comments with depth and parentId — rebuild the thread or feed it to an LLM
- • Date and minimum-points filters
- • Deduplicated across queries and lists
- • Monitored daily
Typical uses
- • Tracking mentions of your product or competitors
- • Launch research on Show HN
- • Weekly front-page digests via LLM
- • Hiring-market analysis from Who is hiring threads
Output
| id, type, title, url, hnUrl, domain | The story |
| author, points, commentsCount, createdAt | Metrics |
| text, textHtml | Ask HN / job text |
| comments[] | id, parentId, depth, author, createdAt, text, url, repliesCount |
Run it from code
Same Actor, same output, from your own scripts (any language) or from n8n, Make and Zapier.
curl -X POST "https://api.apify.com/v2/acts/chorelet~hacker-news-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"queries":["web scraping"],"lists":["front_page"],"postedAfter":"7 days","includeComments":true}'