Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Hacker News Items API

Stories, comments, jobs, Ask HNs, polls, and pollopts.

Hacker News Items API is one of 4 APIs that Hacker News publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Items. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 1 operation across 1 path, and defines 1 schema. It is described by OpenAPI 3.0.3, at version v0.

Requests are made against a single base URL, https://hacker-news.firebaseio.com/v0.

1 operations 1 paths 1 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
v0
Base URL
https://hacker-news.firebaseio.com
License
Resource Areas
1

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

Items 1

Stories, comments, jobs, Ask HNs, polls, and pollopts.

GET
/item/{id}.json
Get item by ID
getItem 1 param → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is Item (15 properties). Each schema is shown below with its type and property counts.

Item
object
15 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hacker-news-items-api-openapi.yml Raw ↑

Other APIs Hacker News publishes across the network.

Hacker News Lists API
Hacker News Live API
Hacker News Users API