//Endpoints · Hacker News
Hacker News Endpoint Reference
5 maintained endpoints and what each returns. For the full Hacker News overview — sample response, FAQ and use cases — see the source page.
About the Hacker News source/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.