Hacker News
25 endpoints on Hacker News. Every one returns the same response shape and has a flat, published price in credits.
Category: Messaging & communities · Overview page
Endpoints#
| Endpoint | What it does | Cost | Status |
|---|---|---|---|
ask_hn | Latest Ask HN posts. | 5 credits | stable |
askstories | Latest Ask HN story ids. | 5 credits | stable |
author_comments | Comments written by a Hacker News user. | 5 credits | stable |
author_submissions | Stories submitted by a Hacker News user. | 5 credits | stable |
beststories | Best story ids on Hacker News. | 5 credits | stable |
front_page | Hacker News front page (Algolia). | 5 credits | stable |
item | A Hacker News item (Algolia, with points and counts). | 1 credit | stable |
item_comments | Top-level comments of a Hacker News item (children of the comment tree). | 5 credits | stable |
item_firebase | A Hacker News item (official Firebase API). | 1 credit | stable |
jobs | Hacker News job posts. | 5 credits | stable |
jobstories | Latest job story ids. | 5 credits | stable |
maxitem | Current maximum Hacker News item id. | 1 credit | stable |
newstories | Newest story ids on Hacker News. | 5 credits | stable |
polls | Hacker News polls. | 5 credits | stable |
search | Search Hacker News stories by keyword. | 1 credit | stable |
search_by_date | Search Hacker News stories, newest first. | 5 credits | stable |
search_comments | Search Hacker News comments. | 5 credits | stable |
search_url | Stories that link to a URL or domain. | 5 credits | stable |
show_hn | Latest Show HN posts. | 5 credits | stable |
showstories | Latest Show HN story ids. | 5 credits | stable |
story_comments | Comments of a Hacker News story (flat, newest first). | 1 credit | stable |
topstories | Top story ids on Hacker News. | 5 credits | stable |
updated_profiles | Recently changed Hacker News usernames. | 5 credits | stable |
updates | Recently changed Hacker News item ids. | 5 credits | stable |
user | Fetch a Hacker News user profile. | 1 credit | stable |
Every endpoint page has a Field mapping section showing which source field becomes which unified field (fixed schema) or platform-specific ext. field.