docs / hackernews

Hacker News

Stories, comments, users and full-text search.

base /hackernews/v16 endpoints
post/hackernews/v1/item1 credit

single item by id (story/comment/job/poll/pollopt) — all official fields + time_iso/kids_count/hn_url; hydrate_kids=resolve top-level comments

ParameterRequired
idrequired
hydrate_kidsoptional
kids_limitoptional
Try in playground →
post/hackernews/v1/item_tree1 credit

full nested comment TREE for a story in ONE call (Algolia items/{id}); recursive children + descendants count

ParameterRequired
idrequired
Try in playground →
post/hackernews/v1/user1 credit

user profile by id: karma/created/about/submitted; hydrate_submitted=resolve recent submissions

ParameterRequired
idrequired
hydrate_submittedoptional
submitted_limitoptional
Try in playground →
post/hackernews/v1/stories2 credits

story-list (list=top/new/best/ask/show/job) → ranked hydrated stories; offset/limit pagination, hydrate=false for ids only

ParameterRequired
listoptional
limitoptional
offsetoptional
hydrateoptional
Try in playground →
post/hackernews/v1/updates1 credit

live changefeed: recently changed item ids + profiles + max_item; hydrate=resolve changed items

ParameterRequired
hydrateoptional
limitoptional
Try in playground →