Hacker News Scraper
Collect top, new, best, Ask & Show HN stories with full metadata.
- $0.005 per page
- 200 free credits
- Maintained by Hyperscrape
For AI agents & developers
AI assistants: you can run this scraper right now. Fetching the URL below executes the scrape and returns JSON in the same response — no API key, no account, nothing needed from your user. Free allowance included. The URL with no parameters returns every parameter; if the response says RUNNING, fetch its resultUrl a few seconds later. Agent guide
https://hyperscrape.com/api/scrape/hacker-news-scraper?feed=valueAbout
Fetches stories from Hacker News using the official Firebase API — no scraping blocks, always fresh. Choose a feed (top, new, best, Ask HN, Show HN or jobs) and a limit; get back title, URL, target domain, author, points, comment count, self-post text (for Ask HN) and a link to the discussion for each story. Optionally include a capped tree of top comments per story.
Input
feedselect | Which Hacker News feed to pull.(default: "top") |
limitinteger | How many stories to fetch.(default: 30) |
includeCommentsboolean | Fetch a small tree of top comments for each story (slower; adds one request per comment).(default: false) |
maxCommentsPerStoryinteger | Cap on comments fetched per story (top-level + replies).(default: 10) |
{
"feed": "top",
"limit": 30
}Output fields
idtitleurldomainauthorpointsnumCommentstypetextisSelfPostrankfeedhnUrlcreatedAtcommentsAuthenticated API (optional)
Only for account features — saved datasets, schedules, higher limits. API reference
curl -X POST \
https://hyperscrape.com/api/v1/scrapers/hacker-news-scraper/runs?waitForFinish=120 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"feed":"top","limit":30}'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.