nytimes.com

The Archive API provides lists of NYT articles by month going back to 1851. You can use it to build your own local database of NYT article metadata.

🔑 oauth2 1 endpoints mediaopen_data
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (6 total)

pip install nytimes-python-sdk
npm install nytimes-typescript-sdk
npm install nytimes-sdk
# Maven: see https://github.com/konfig-sdks/nytimes-java-sdk
dotnet add package NYTimes.NET
golang-gcloud-sdk ✓ Official
# See https://github.com/nytimes/golang-gcloud-sdk
curl examples
Archive API
curl \
  # append ?api-key=$API_KEY to the URL \
  http://api.nytimes.com/svc/archive/v1/{year}/{month}.json
Endpoints (1 total)
GET
/{year}/{month}.json
Archive API
At a glance
Total SDKs6
Languages5
Endpoints1
Authoauth2
Categories2
http://api.nytimes.com/svc/archive/v1