Hacker News API guide
news.ycombinator.com
Search Hacker News stories, read their comment threads, and explore topic activity and trends in monthly hiring discussions.
Actions and inputs
hackernews searchFind stories by keyword and optionally sort by date.
Inputs query, optional sort and limit
hackernews readRead a story and its comment tree.
Inputs story ID, optional comment limit and depth
pulseSummarize daily topic mentions, average scores, and comment volume.
Inputs topic, days
hiring statsSummarize languages, companies, and remote-work mentions in monthly Who Is Hiring threads.
Inputs months
Story submissions
- Create
Submit a link or text story from your Hacker News account.
Inputs Title and either a URL or story text
- Read
Open a story and read its comment thread.
Inputs Story ID or URL
- Update
Edit your own submission while Hacker News still offers the edit option.
Inputs Story ID and revised title or text
- Delete
Delete your own submission only while Hacker News offers the delete option.
Inputs Story ID and deletion confirmation