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

The New York Times Content API

The Content API from The New York Times — 3 operation(s) for content.

The New York Times Content API is one of 7 APIs that The New York Times publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 3 operations across 3 paths, and defines 2 schemas. It is described by OpenAPI 3.0.0, at version 1.0.0.

Requests are made against 2 base URLs: http://api.nytimes.com/svc/archive/v1, https://api.nytimes.com/svc/archive/v1.

3 operations 3 paths 2 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0.0
Base URL
https://api.nytimes.com/svc/archive/v1
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

The New York Times Content API declares 1 security scheme for authenticating requests. An API key is passed in the query as api-key (apikey). By default, every request must be authenticated.

Paths & Operations 3

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

Content 3
GET
/content/{source}/{section}.json
4 params → 200400401429
GET
/content.json
1 param → 200400401429
GET
/content/section-list.json
→ 200400401429

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Article (24 properties), Section (2 properties). Each schema is shown below with its type and property counts.

Article
object
24 properties
Section
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

the-new-york-times-content-api-openapi.yml Raw ↑

Other APIs The New York Times publishes across the network.

The New York Times Archive API
The New York Times Movies API
The New York Times Name API
The New York Times Search API
The New York Times Stories API
The New York Times Timestags API