Hacker News Analyzer avatar

Hacker News Analyzer

Pricing

Pay per usage

Go to Apify Store
Hacker News Analyzer

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

Takuma

Takuma

Maintained by Community

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 RatiocommentCount / points reveals which stories spark discussion beyond upvotes.

Input

FieldTypeDefaultDescription
modeenumtopstoriessearch, topstories, or newstories
keywordstringRequired when mode=search
maxResultsinteger30Max stories to return (1–500)
sortByenumrelevancerelevance, date, or points (search mode only)
proxyConfigurationobjectOptional Apify Proxy settings

Output

Each record contains:

FieldTypeDescription
idstringHN story ID
titlestringStory title
urlstringStory URL (falls back to HN comments page)
authorstringSubmitter username
pointsintegerUpvote count
commentCountintegerNumber of comments
createdAtstringISO 8601 creation timestamp
storyTypestringstory, job, or poll
domainstringBare domain extracted from URL
trendScorefloatpoints / age_hours — freshness-weighted popularity
engagementRatiofloatcommentCount / points — discussion intensity
rankintegerPosition in the result list
modestringWhich fetch mode was used
keywordstringSearch 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

Both APIs are public, free, and require no authentication.