Hacker News Scraper - Stories, Points & Comments avatar

Hacker News Scraper - Stories, Points & Comments

Pricing

from $6.80 / 1,000 results

Go to Apify Store
Hacker News Scraper - Stories, Points & Comments

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

Scrapers Lat

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

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

Apify Stories Output

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 caseWho benefits
Tech trend researchAnalysts tracking what the community discusses
MonitoringTeams watching mentions of a product or topic
Content curationNewsletters and editors surfacing top stories
DashboardsBuilders feeding story stats into their own apps

How to use it

  1. Enter a search keyword (for example artificial intelligence), or leave it empty for the latest stories.
  2. Choose to sort by relevance or newest first.
  3. 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:

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.

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.