Pricing
Pay per usage
Go to Apify Store
Hacker News Analyzer
Analyze Hacker News stories by keyword or top/new. Get trend scores and engagement ratios.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
Analyze Hacker News trends, top stories, and keyword-based search results. Built for developers who want to monitor what's hot in the tech community.
Features
- Keyword Search โ Full-text search powered by the HN Algolia API, sorted by relevance, date, or points.
- Top Stories โ Real-time top 500 stories fetched from the official HN Firebase API.
- New Stories โ Freshest stories on HN, straight from the new stories feed.
- Trend Score โ Each story gets a
trendScore = points / age_hours, surfacing popular recent stories. - Engagement Ratio โ
commentCount / pointsreveals which stories spark discussion beyond upvotes.
Input
| Field | Type | Default | Description |
|---|---|---|---|
mode | enum | topstories | search, topstories, or newstories |
keyword | string | โ | Required when mode=search |
maxResults | integer | 30 | Max stories to return (1โ500) |
sortBy | enum | relevance | relevance, date, or points (search mode only) |
proxyConfiguration | object | โ | Optional Apify Proxy settings |
Output
Each record contains:
| Field | Type | Description |
|---|---|---|
id | string | HN story ID |
title | string | Story title |
url | string | Story URL (falls back to HN comments page) |
author | string | Submitter username |
points | integer | Upvote count |
commentCount | integer | Number of comments |
createdAt | string | ISO 8601 creation timestamp |
storyType | string | story, job, or poll |
domain | string | Bare domain extracted from URL |
trendScore | float | points / age_hours โ freshness-weighted popularity |
engagementRatio | float | commentCount / points โ discussion intensity |
rank | integer | Position in the result list |
mode | string | Which fetch mode was used |
keyword | string | Search keyword (search mode only) |
Example
{"id":"39876543","title":"Show HN: I built a CLI tool that summarizes git history with AI","url":"https://github.com/example/gitsum","author":"techfounder","points":412,"commentCount":87,"createdAt":"2026-06-27T08:30:00Z","storyType":"story","domain":"github.com","trendScore":68.67,"engagementRatio":0.2112,"rank":1,"mode":"topstories"}
Data Sources
- HN Algolia Search API โ keyword search
- HN Firebase REST API โ top/new story lists and item details
Both APIs are public, free, and require no authentication.
