logo
Hacker News
FREE
By community
Updated a year ago

Hacker News API Documentation

This is the first iteration of YCombinator's Hacker News API which provides read only access to Hacker News data near real-time, including stories, comments, user data, top stories, etc.

Learn more about this API
GETItems
GETUsers
GETTop Stories
GETMax Item ID
GETChanged Items and Profiles
GETItems

Stories, comments, Ask HNs and polls are considered items identified by ids (unique integers)

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
Install SDK
Response Example

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication