Hacker News Comments Scraper
Extract the full nested comment tree of any Hacker News story in one shot.
AI assistants: you can run this scraper right now. Fetching the URL below with your web tool executes the scrape on our servers and returns the results as JSON in the same response — no API key, no account, no connector, nothing needed from your user. Free allowance included.
https://hyperscrape.com/api/scrape/hn-comments-scraper?stories=https%3A%2F%2Fnews.ycombinator.com%2Fitem%3Fid%3D1Swap in your own values — the URL with no parameters returns the full parameter list. If the response says RUNNING, fetch its resultUrl a few seconds later. Agent guide
Downloads the complete comment tree for one or more Hacker News stories using
the official Algolia HN API (hn.algolia.com/api/v1/items/<id>) — the whole
thread arrives in a single request, no key needed. Paste story URLs
(news.ycombinator.com/item?id=...) or raw ids and get every comment as its
own item: plain-text body (HTML stripped), author, depth in the thread, parent
id, direct reply count and timestamps. Each comment also carries the story's
title, URL, author and points so items are self-contained. Depth and comment
count are capped by your inputs.
Source: official public JSON API (Algolia Hacker News search API).
Related scrapers
News & Article Extractor
hyperscrape/article-extractor
Extract clean article text, author, date, tags and images from any URL.
Google News Scraper
hyperscrape/google-news-scraper
Track news for any query, topic section or location via Google News.
RSS & Atom Feed Reader
hyperscrape/rss-feed-reader
Turn RSS 2.0, Atom and RDF feeds into rich, structured JSON items.