Hacker News API

Free, unauthenticated REST API backed by Firebase providing access to Hacker News stories, comments, jobs, polls, and user profiles in real time.

Evaluated Mar 06, 2026 (0d ago) vcurrent
Homepage ↗ Repo ↗ Other hackernews ycombinator tech-news free no-auth firebase rest-api
⚙ Agent Friendliness
73
/ 100
Can an agent use this?
🔒 Security
77
/ 100
Is it safe for agents?
⚡ Reliability
88
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
--
Documentation
85
Error Messages
60
Auth Simplicity
100
Rate Limits
80

🔒 Security

TLS Enforcement
100
Auth Strength
68
Scope Granularity
60
Dep. Hygiene
80
Secret Handling
80

No API key required — fully open. HTTPS enforced. Public data only. No PII concerns for read operations. Rate limits enforced but generous. Minimal security surface area.

⚡ Reliability

Uptime/SLA
88
Version Stability
90
Breaking Changes
90
Error Recovery
85
AF Security Reliability

Best When

You want free, zero-friction access to Hacker News data for tech news monitoring or community analysis.

Avoid When

You need full-text search, efficient bulk data retrieval, or structured metadata beyond what HN provides.

Use Cases

  • Monitoring top tech stories for trend analysis agents
  • Fetching job listings from the 'Who is Hiring' threads
  • Building HN comment digest tools or summarization agents
  • Tracking new submissions in specific topics or by keywords
  • Academic research on tech community discourse patterns

Not For

  • Full-text search (API has no search endpoint - use Algolia HN search instead)
  • Bulk historical data retrieval (must fetch item by item via Firebase)
  • Commercial content redistribution

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
No
Webhooks
No

Authentication

OAuth: No Scopes: No

No authentication required. Completely open API. Firebase-based, so technically uses Firebase Realtime Database protocol but also exposes REST endpoints.

Pricing

Model: free
Free tier: Yes
Requires CC: No

100% free, no signup, no rate limits documented. Maintained by Y Combinator.

Agent Metadata

Pagination
none
Idempotent
Full
Retry Guidance
Not documented

Known Gotchas

  • No search endpoint - must use the separate Algolia HN Search API (hn.algolia.com) for full-text search
  • Top/new/best stories endpoints return only IDs - agents must make individual item fetches for details
  • Large thread trees require recursive fetching (children arrays contain IDs, not inline data)
  • Deleted and dead items still appear but with 'deleted: true' or 'dead: true' flags that agents should filter
  • API is eventually consistent - very new items may not immediately appear in top story lists

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for Hacker News API.

$99

Scores are editorial opinions as of 2026-03-06.

5173
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered