Search and read discussions
Read-only search of public stories and comments through Hacker News’s linked Algolia index, or retrieve an item by ID/URL with full plain-text discussion comments, links, authors, timestamps, available scores, and parent/depth structure; indexed metadata may lag live HN and comment scores are often absent. Returns up to `limit` results per call (default 20, maximum 50): search uses 50-hit API pages with a ten-page cursor depth, while discussion comments are windowed from the complete API child tree in depth-first source order. When `next_cursor` is not null, call again within ten minutes with the same inputs and `cursor` set to it for the results that follow; when `list_changed` is true, results may repeat earlier ones, so de-duplicate by ID; never submits, votes, or modifies anything.
Input
Result
modestringresultslist of objectshas_morebooleannext_cursorstring or nulllist_changedbooleanapplied_querystringtotal_resultsinteger or nullapplied_filtersobjectnext_cursor_expires_atstring or nullnext_cursor_unavailablestring