Hacker News data API
A story's title, score and author, or its comment thread. Through FoxAPIs you send one request with one key and get fields back, the same shape as the other platforms.
fact The field tables are from real responses captured on 19 November 2026. The official API limits are quoted from Hacker News API's own page, read 19 November 2026. Prices are credits per call from our catalog.
Endpoints
| Endpoint | Credits a call | Credits per 1,000 calls |
|---|---|---|
POST /v1/developer/hackernews/post | 1 | 1,000 |
POST /v1/developer/hackernews/comments | 2 | 2,000 |
POST /v1/developer/hackernews/post
Price. 1 credit a call, so 1,000 credits per 1,000 calls: about $9.80 per 1,000 calls on the Builder plan. fact: catalog credits Calculated by us: plan price divided by its credits.Formula
Fields filled in a real response (2026-11-19)
| Field | Type | Value in that response |
|---|---|---|
url | string | http://www.getdropbox.com/u/2/screencast.html |
platform | string | hackernews |
extracted_at | string | 2026-11-18T20:36:42.187684+00:00 |
text | string | http://www.getdropbox.com/u/2/screencast.html |
title | string | My YC app: Dropbox - Throw away your USB drive |
author_name | string | dhouston |
author_handle | string | dhouston |
published_at | string | 2007-04-04T19:16:40+00:00 |
published_at_unix | number | 1175714200 |
date_source | string | hn_firebase_api |
likes | number | 104 |
comments_count | number | 71 |
images | list | [] |
content_type | string | story |
hashtags | list | [] |
mentions | list | [] |
extras | object | {"hn_type":"story","post_type":"story","kids":[9224],"domain":"www.getdropbox.com","deleted":false,"dead":f... |
errors | list | [] |
credits_used | number | 1 |
13 other fields listed by the response came back empty for this source and input, so they are not shown.
Try it
POST /v1/developer/hackernews/comments
Price. 2 credits a call, so 2,000 credits per 1,000 calls: about $19.60 per 1,000 calls on the Builder plan. fact: catalog credits Calculated by us: plan price divided by its credits.Formula
Fields filled in a real response (2026-11-19)
| Field | Type | Value in that response |
|---|---|---|
url | string | https://news.ycombinator.com/item?id=8863 |
post_id | string | 8863 |
comments | list | [{"id":9224,"author":"BrandonM","text":"I have a few qualms with this app:<p>1. For a Linux user, you can a... |
comments_count | number | 5 |
credits_used | number | 2 |
0 other fields listed by the response came back empty for this source and input, so they are not shown.
Try it
Hacker News API compared
What Hacker News API says about its own limits, from its own page, read 19 November 2026:
- No rate limit.
When to use which. The official Firebase-backed API is free with no stated rate limit. Use it directly if Hacker News is all you read. FoxAPIs returns a post or its comments as fields in the same shape as the other platforms.
Limits and prices change; check the official page before you decide. Nothing here is an offer from Hacker News API, and FoxAPIs is not affiliated with it.
What it costs for your volume
Calculated by us from the credits above and the plans listed on the pricing page.Formula
Other platforms: GitHub · Stack Overflow · CoinGecko · Chess.com · Steam · Apple App Store · FDA drug approvals · Mastodon · Twitch · all platforms · status
How we calculate
- Credits per 1,000 calls: The credits per call from the catalog times 1,000.
- Plan price per credit: The smallest paid plan's monthly price divided by its monthly credits.
Data: the FoxAPIs catalog and plans, read 2026-11-19. Every other figure on this page is copied from the record, not calculated by us.
Run this free, then pay per call
Free to start: 100 credits, no card. Then from $10. Credits you buy never expire. Use them at your own pace. Get my free key
One call costs 1 credit. That is $7.96 per 1,000 calls on the Production plan and $9.80 on Builder (plan price divided by its monthly credits). The Free plan gives 100 credits a month with no card.
Building an AI agent?
- The FoxAPIs MCP server gives your agent every tool through one connection.
- Per-call pricing in credits: you pay for the calls your agent makes, with no seats.
- Free plan: 100 credits a month, no card, no monthly fee.