Hacker News API Documentation (community) | RapidAPI

Hacker News

FREE
By community
Updated 9 months ago
Media
8.9/10
Popularity Score
371ms
Latency
100%
Success Rate

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.

View API Details
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
Required Parameters
idNUMBER
REQUIREDThe item's unique id. Required.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication