Skip to content
//Hacker News Scraper example\\

Story with its comments, 10 comments

A story and its comment tree from an item link.

Updated October 21, 2026

Input

The input this example runs Hacker News Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Hacker News URLsstartUrls
https://news.ycombinator.com/item?id=8863
Max comments per storymaxCommentsPerItem
10
.json
{
  "startUrls": [
    "https://news.ycombinator.com/item?id=8863"
  ],
  "maxCommentsPerItem": 10
}

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes. The advantage lasts forever.

No credit card. No setup calls.