Scrapers.lat logo scrapers.lat
News

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.

13 fields per record JSON · CSV · Excel · API Pay per use
hacker-news-scraper.json 200 OK
{
  "objectID": "22238335",
  "title": "Why Discord is switching from Go to Rust",
  "author": "Sikul",
  "points": 1582,
  "numComments": 642,
  "url": "https://blog.discordapp.com/why-discord-is-swi…",
  "storyUrl": "https://news.ycombinator.com/item?id=22238335",
  "domain": "blog.discordapp.com",
  "tags": ["story","author_Sikul","story_22238335"]
}
What you get

Every run returns clean, typed records, ready for your CRM, spreadsheet or database.

  • One clean record per result, deduped and normalized
  • Stable schema in JSON, CSV or Excel, or read it via the Apify API
  • Pay per use in the cloud, nothing to install or maintain
Fields it returns
Object IDTitleAuthorPointsNum CommentsUrlStory UrlDomainTagsCreated AtTop Comments
Sample output

A real example record, exactly the shape you receive.

Object IDTitleAuthorPoints
22238335Why Discord is switching from Go …Sikul1582
40172033Leaving Rust gamedev after 3 yearsdarthdeus1484
25610741A half-hour to learn Rustselvan1444
GET /hacker-news-scraper
{
  "objectID": "22238335",
  "title": "Why Discord is switching from Go to Rust",
  "author": "Sikul",
  "points": 1582,
  "numComments": 642,
  "url": "https://blog.discordapp.com/why-discord-is-swi…",
  "storyUrl": "https://news.ycombinator.com/item?id=22238335",
  "domain": "blog.discordapp.com",
  "tags": ["story","author_Sikul","story_22238335"]
}

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.

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).

Ready when you are.

Run the scraper live on Apify right now, or have us build one tailored to exactly what you need.