Skip to content
ANY//
//Source · Social Media

Hacker News API — Threads Assembled in One Call

The official Firebase API hands you raw item ids — no search, id-only lists, comment trees you rebuild fetch by fetch. These 5 endpoints return the finished objects: full threads, front-page lists with complete item data, full-text search, and user profiles.

Start for free7-day free trial

What You Can Pull From Hacker News

/api/hackernews/itemsA single item — story, comment, job, or poll — by numeric id: title, url, author, score, time, type, and descendant count.
/api/hackernews/items/commentsThe full nested comment tree of a thread by id, in one call — no recursive id-by-id Firebase fetching.
/api/hackernews/items/listsFront-page lists (top, new, best, ask, show, job) returned with full item data, not just ids.
/api/hackernews/items/searchFull-text search across stories, comments, jobs, and polls — the capability the official API does not have.
/api/hackernews/usersA user profile by username: karma, account age, and submission history.

Start Building with Hacker News Data

Stories, full comment trees, front-page lists, search, and user profiles — one of 500+ sources on the same key, from $30/month with a 7-day free trial.

Common Questions

The official HN API returns raw item ids: you reassemble comment trees by fetching each id recursively, front-page lists are id-only, and there is no search. These endpoints return the assembled objects — full comment trees in one call, lists with complete item data, and full-text search across everything.