Story with its comments, 10 comments
A story and its comment tree from an item link.
Updated November 14, 2026
What this example returns
This example returns up to 10 comments.
The dataset’s “Comments” view shows 6 columns: Story, Author, Depth, Text, Created, and HN page. See every output field.
What each setting does
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 URLs
startUrls https://news.ycombinator.com/item?id=8863
Item URLs (news.ycombinator.com/item?id=...) to get a story or comment with its comment tree, user URLs (user?id=...), list pages (/news, /newest, /ask, /show, /jobs, /best) or hn.algolia.com search URLs. Bare item ids work too.
- Max comments per story
maxCommentsPerItem 10
Cap on comments per story or item. 0 = the whole thread.
Default: 50 → this example uses 10
{
"startUrls": [
"https://news.ycombinator.com/item?id=8863"
],
"maxCommentsPerItem": 10
}What it costs
From about $0.008 for 10 comments
An estimate at the lowest plan price: 10 × $0.000796 per result (One Hacker News story, comment or user profile saved to the dataset). A run is charged for the events it reports, so one that finds fewer comments costs less. Platform usage is included in the event price.
When to use this example
From the Hacker News Scraper readme:
Why are some fields empty?
Hacker News leaves them empty: link posts have no text, Ask HN posts have no url, comments have no points (HN hides them), and deleted comments are skipped.
Other ways to run Hacker News Scraper
- Newest Hacker News stories, 10 resultsThe live list of new stories.
- Stories about AI, 10 resultsSearch Hacker News stories by keyword.
- Newest Rust stories with 100+ points, 10 resultsPopular stories sorted by date.
About Hacker News Scraper
Scrape Hacker News stories, comments, front-page lists and user profiles. Full-archive search with points, comments, date and author filters, complete comment trees, live rankings. No login needed.
- Price:
- From $0.796 / 1,000 results
- Developer:
- Querystone
- Categories:
- News, Developer tools
Related actors
Latest articles
GuidesWeb Scraper Chrome Extensions: 4 Good Ones, and When to Use a Cloud Scraper
The best web scraper Chrome extensions in 2026 (Web Scraper, Instant Data Scraper, Data Miner and Evomi Web Data), what each is good at, where every extension stops, and how a cloud scraper takes over for schedules, thousands of pages and API access.
Read the article
AI agents12 Best MCP Servers in 2026: Web Data, Code, Docs and Browsers
The best MCP servers in 2026, grouped by job: web data, documentation, code, browsers, errors, databases and the official reference servers. Each with its hosted URL or install command, how it signs in, and the caveats its own README states.
Read the article
Guidesn8n Puppeteer Node: Puppeteer and Playwright in n8n Without Self-Hosting Chrome
The n8n Puppeteer node needs Chromium inside your n8n container and installs only on self-hosted n8n. How it and the Playwright nodes install, where they break, and how to run the same browser scrape on Scrape.ly from n8n instead, with a real tested run.
Read the article
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.