Hacker News API

The Hacker News API provides access to items (stories, comments, jobs, Ask HNs, polls), users, and live data via Firebase endpoints. It is a public, read-only REST API that exposes the full dataset of Hacker News content in near real-time. Developers can retrieve individual items by ID, look up user profiles, and subscribe to live feeds of new, top, best, ask, show, and job stories. The API requires no authentication and returns JSON data from Firebase's real-time database infrastructure.

OpenAPI Specification

hacker-news-openapi.yml Raw ↑