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 Stories API

The Stories API from The New York Times — 2 operation(s) for stories.

The New York Times Stories 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 Stories. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 2 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.

2 operations 2 paths 2 schemas 2 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 Stories 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 2

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

Stories 2
GET
/articlesearch.json
The New York Times Article Search
10 params → 200
GET
/{section}.json
The New York Times Top Stories
1 param → 200401429

Schemas 2

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

Doc
object
20 properties
Article
object
19 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

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

Other APIs The New York Times publishes across the network.

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