Hacker News front page with top comments
Mivah
Get the current Hacker News front page (30 stories) with points, comment counts and links, plus up to 20 top comments per story in thread order.
Input
Output fields
Sign up on Apify or log in
The Hacker News Scraper: Stories, Comments & Search Actor is ready to run with the inputs already set for "Hacker News front page with top comments". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Hacker News front page with top comments" task
The Hacker News Scraper: Stories, Comments & Search Actor will start running based on the input automatically. You can also change all the input fields, like what to scrape, max stories (or search results), and more, to match your specific use case.
Receive the "Hacker News front page with top comments" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as type, rank, title, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Hacker News front page with top comments" task via API.

The Hacker News Scraper task returns the type, rank, title, points, comments count, author, created date, comments' depth, text, and URLs for stories and comments.
The Hacker News Scraper task fetches up to 30 stories from the current Hacker News front page.
Only public HN usernames as authors. The Actor doesn't scrape user profiles, karma or about texts, and it reads HN's public APIs rather than news.ycombinator.com pages.
Up to 20 per story, two levels deep in this example. Comments are fetched level by level, so you get the top-level discussion first, in HN's ranking order within each thread.
The Hacker News Scraper task does not require an API key; it utilizes Hacker News' official APIs directly.
$0.0002 per story and $0.0001 per comment plus Apify's $0.00005 run start: about $0.07 for this front page with comments. Error rows are free. Schedule it daily in Apify Console.
Yes, the Hacker News Scraper task converts HTML into clean plain text for more readable output.