Hacker News Scraper β Stories & Comments Search
Pricing
from $0.72 / 1,000 hits
Hacker News Scraper β Stories & Comments Search
Search Hacker News stories, comments, Show HN and Ask HN by keyword into clean JSON: title, URL, author, points, comment count and dates. Powered by the official HN Algolia API. No anti-bot.
Pricing
from $0.72 / 1,000 hits
Rating
0.0
(0)
Developer
Marouane Oulabass
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 months ago
Last modified
Categories
Share
Search Hacker News and get clean JSON. Query stories, comments, Show HN, Ask HN or the front page by keyword and get back a tidy row per hit: title, URL, author, points, comment count and dates. Powered by the official HN Algolia API β no anti-bot, no key.
AI-agent ready: this Actor is callable and payable by AI agents via x402 (USDC on Base), no Apify account required.
Turn Hacker News into a structured dataset for research, monitoring, sentiment analysis and trend-tracking.
Who uses this
- π Founders & marketers β monitor mentions of your product, competitors or topics.
- π Researchers & analysts β build datasets of tech discussions and sentiment.
- π€ AI / LLM pipelines β feed HN stories and comments to your models.
- π° Trend watchers β track what's rising on the front page and in Show/Ask HN.
- π§βπ» Developers β a clean HN search endpoint without touching the raw API.
What you get β one clean row per hit
| Field | Description |
|---|---|
title | Story / item title |
url | Linked article URL |
author | HN username |
points | Score |
numComments | Comment count |
createdAt | Post date |
storyText / commentText | Text body (Ask HN, comments) |
tags | HN item tags |
hnUrl | Link to the HN discussion |
id, query, scrapedAt | Identifiers & provenance |
Example
Input
{ "queries": ["ai agents", "rust"], "tag": "story", "minPoints": 50, "sortByDate": false, "maxResultsPerQuery": 100 }
Output (one item)
{"id": "38765432","title": "Show HN: I built an open-source AI agent framework","url": "https://github.com/example/agent","author": "pg","points": 412, "numComments": 137,"createdAt": "2026-07-13T14:05:00Z","hnUrl": "https://news.ycombinator.com/item?id=38765432"}
Why this scraper
- β Official source β the Hacker News Algolia API, always current.
- π Search everything β stories, comments, Show HN, Ask HN, polls, front page.
- π― Filter that matters β by minimum points, and sort by date or relevance.
- β‘ Fast & affordable β pay only per hit returned. No anti-bot, no key.
- π§Ή Clean output β normalized JSON, ready for Sheets/Excel/your database.
Input options
queries(required) β keywords (one search per query).tagβstory,comment,poll,show_hn,ask_hnorfront_page.sortByDateβ newest first (true) vs by relevance (false).minPointsβ only items with at least this many points.maxResultsPerQueryβ cap hits per query (default 100).
FAQ
Stories or comments? Both β set tag to story, comment, show_hn, ask_hn, poll or front_page.
Can I filter by popularity? Yes β set minPoints to only get items above a score.
Newest or most relevant? Your choice β toggle sortByDate.
How fresh is the data? Live from the HN Algolia API on every run.
Can I export to CSV/Excel/Google Sheets? Yes β the dataset exports to JSON, CSV, Excel and HTML, or pull it via the API.
What does it cost? Pay-per-hit β you're only charged for items actually returned.
Tip: schedule a keyword search daily to monitor when your product or topic hits the HN front page.