Hacker News Scraper - Search Stories & Comments
Pricing
from $3.00 / 1,000 results
Go to Apify Store
Hacker News Scraper - Search Stories & Comments
Search Hacker News stories using the free Algolia HN API. Returns story titles, points, authors, URLs, comment counts, and creation dates. No authentication or browser required — pure JSON API with zero bot-detection risk.
Pricing
from $3.00 / 1,000 results
Rating
0.0
(0)
Developer
Chris Drake
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
a day ago
Last modified
Categories
Share
Search Hacker News stories by keyword using the free Algolia HN API. Returns titles, points, authors, URLs, comment counts, and creation dates. No authentication or browser required — pure JSON API with zero cost overhead.
Why use this actor?
- Free API — uses Algolia's public HN search API, no API key needed
- Fast — pure HTTP, no browser rendering, results in seconds
- Cheap — minimal compute, low per-result pricing
- Structured output — clean JSON with all story metadata
Use cases
- Track mentions of your product/brand on Hacker News
- Monitor trending stories by topic for content curation
- Extract story data for analysis (points, authors, engagement patterns)
- Build a dashboard of competitor mentions
- Feed AI/LLM pipelines with fresh tech discussion data
Input
| Field | Type | Description | Default |
|---|---|---|---|
query | string | Search query (keyword or phrase) | "" |
tags | string | Filter by type: story, comment, or empty for both | story |
numHits | integer | Number of results to return (max 1000) | 20 |
Output
Each result contains:
| Field | Description |
|---|---|
objectID | Unique HN story ID |
title | Story title |
author | Submitter username |
points | Upvote count |
num_comments | Comment count |
url | External link (if story links to one) |
created_at | ISO timestamp |
story_text | Self-post text (if text post) |
Example input
{"query": "OpenAI","tags": "story","numHits": 20}
Example output
{"objectID": "38712345","title": "OpenAI announces new model","author": "pg","points": 5710,"num_comments": 842,"url": "https://example.com/article","created_at": "2025-01-15T10:30:00.000Z"}
Tips
- Use specific queries for better results:
"transformers"instead of"AI" - Set
tagstocommentto search within comments - Increase
numHitsfor broader searches - Results are sorted by relevance by default