Home · Platforms · Hacker News

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

EndpointCredits a callCredits per 1,000 calls
POST /v1/developer/hackernews/post11,000
POST /v1/developer/hackernews/comments22,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)

FieldTypeValue in that response
urlstringhttp://www.getdropbox.com/u/2/screencast.html
platformstringhackernews
extracted_atstring2026-11-18T20:36:42.187684+00:00
textstringhttp://www.getdropbox.com/u/2/screencast.html
titlestringMy YC app: Dropbox - Throw away your USB drive
author_namestringdhouston
author_handlestringdhouston
published_atstring2007-04-04T19:16:40+00:00
published_at_unixnumber1175714200
date_sourcestringhn_firebase_api
likesnumber104
comments_countnumber71
imageslist[]
content_typestringstory
hashtagslist[]
mentionslist[]
extrasobject{"hn_type":"story","post_type":"story","kids":[9224],"domain":"www.getdropbox.com","deleted":false,"dead":f...
errorslist[]
credits_usednumber1

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)

FieldTypeValue in that response
urlstringhttps://news.ycombinator.com/item?id=8863
post_idstring8863
commentslist[{"id":9224,"author":"BrandonM","text":"I have a few qualms with this app:<p>1. For a Linux user, you can a...
comments_countnumber5
credits_usednumber2

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:

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

Start free: get a key

Other platforms: GitHub · Stack Overflow · CoinGecko · Chess.com · Steam · Apple App Store · FDA drug approvals · Mastodon · Twitch · all platforms · status

How we calculate

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.

Run this freeBuy credits

Building an AI agent?

See the MCP server