Hacker News Scraper - Stories, Points & Comments
Pricing
from $6.80 / 1,000 results
Hacker News Scraper - Stories, Points & Comments
Scrape Hacker News stories by keyword with points, comment counts, author, URL, tags and timestamps. Sort by relevance or newest. Export to JSON, CSV or Excel.
Pricing
from $6.80 / 1,000 results
Rating
5.0
(2)
Developer
Scrapers Lat
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Share
Search Hacker News stories by keyword and export clean structured data: points, comment counts, author, links, tags, story domain, self-post text and the highest-voted discussion comments. Great for tech trend research, monitoring and content curation.
📥 Input · 📤 Output · 💰 Pricing · ▶️ Examples
| Points & top comments full discussion, not just the headline | Author, domain & links self-post text plus tags | JSON / CSV / Excel output formats |
Who is it for
| Use case | Who benefits |
|---|---|
| Tech trend research | Analysts tracking what the community discusses |
| Monitoring | Teams watching mentions of a product or topic |
| Content curation | Newsletters and editors surfacing top stories |
| Dashboards | Builders feeding story stats into their own apps |
How to use it
- Enter a search keyword (for example
artificial intelligence), or leave it empty for the latest stories. - Choose to sort by relevance or newest first.
- Set Max Items and run. Export as JSON, CSV or Excel, or pull it through the Apify API.
Frequently Asked Questions
Can I get the newest stories instead of the most relevant? Yes. Set the sort option to newest first to get stories in reverse chronological order.
Does it include the discussion link? Yes. Every record includes a direct link to the Hacker News thread and, when present, the linked article URL and its domain.
Can I get the actual comments, not just the count? Yes. Turn on Include top comments and each story also carries its highest-voted discussion comments with author, text and timestamp, plus the full self-post text for Ask HN and text posts.
How many stories can I collect? As many as match your keyword; set Max Items to control the total.
How fresh is the data? Points and comment counts are read live at run time, so each record reflects the moment of the run (see observedAt).
Example use cases
Ready-to-run example tasks, each preconfigured for a common scenario. Open one and press run, or use it as a template:
- Hacker News posts about artificial intelligence sorted by relevance: Search Hacker News for artificial intelligence posts with titles, points, author, comment counts and links sorted by relevance for tech trend research.
- Hacker News posts about rust programming sorted by date: Search Hacker News for rust programming posts with titles, points, author, comment counts and links sorted by date for tech trend research.
- Hacker News posts about startups sorted by relevance: Search Hacker News for startups posts with titles, points, author, comment counts and links sorted by relevance for tech trend research.
- Hacker News posts about cybersecurity sorted by date: Search Hacker News for cybersecurity posts with titles, points, author, comment counts and links sorted by date for tech trend research.
- Hacker News posts about self hosting sorted by relevance: Search Hacker News for self hosting posts with titles, points, author, comment counts and links sorted by relevance for tech trend research.
- Hacker News posts about open source sorted by date: Search Hacker News for open source posts with titles, points, author, comment counts and links sorted by date for tech trend research.
- Hacker News posts about remote work sorted by relevance: Search Hacker News for remote work posts with titles, points, author, comment counts and links sorted by relevance for tech trend research.
- Hacker News posts about kubernetes sorted by date: Search Hacker News for kubernetes posts with titles, points, author, comment counts and links sorted by date for tech trend research.
- Hacker News posts about LLM sorted by relevance: Search Hacker News for LLM posts with titles, points, author, comment counts and links sorted by relevance for tech trend research.
- Hacker News posts about web scraping sorted by date: Search Hacker News for web scraping posts with titles, points, author, comment counts and links sorted by date for tech trend research.
Export, API and AI agents (x402 + MCP)
Export the scraped data to JSON, CSV or Excel, pull it as a dataset through the Apify API, or wire it into your app with no code. This web scraper and data extractor also works for bulk data extraction and scheduled runs.
For AI agents: this Actor is available on x402, Apify's agentic payment standard built with Coinbase. An AI agent can discover, pay for and run it on its own with a funded wallet and a single HTTP request: no account, no subscription, no API key and no human in the loop. It also runs as an MCP tool inside Claude, Cursor and other AI clients out of the box. Learn more about x402 agentic payments on Apify.
Related scrapers
More scrapers at scrapers.lat
This actor is built and maintained by scrapers.lat, where we publish scrapers for public platforms: finance, news, real estate, jobs, e-commerce and government data. Browse the full catalog or ask us for a custom scraper at scrapers.lat.
This actor is an independent tool and has no affiliation with Hacker News or Y Combinator. It only accesses publicly available story data. Use the results in accordance with the source's terms.