The New York Times Company Archive API

The Archive API from The New York Times Company — 1 operation(s) for archive.

Operations 1

GET /{year}/{month}.json Returns an array of articles for a given month #

Documentation

Specifications

Schemas & Data

Other Resources

🔗
Examples
https://raw.githubusercontent.com/api-evangelist/new-york-times-company/refs/heads/main/examples/article-search-example.json
🔗
Signup
https://developer.nytimes.com/accounts/create
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/new-york-times-company/refs/heads/main/examples/top-stories-home-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/new-york-times-company/refs/heads/main/examples/most-popular-emailed-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/new-york-times-company/refs/heads/main/examples/timeswire-content-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/new-york-times-company/refs/heads/main/examples/archive-month-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/new-york-times-company/refs/heads/main/examples/books-best-sellers-list-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/new-york-times-company/refs/heads/main/examples/movie-reviews-search-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/new-york-times-company/refs/heads/main/examples/times-tags-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/new-york-times-company/refs/heads/main/examples/semantic-concept-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/new-york-times-company/refs/heads/main/examples/geo-query-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/new-york-times-company/refs/heads/main/examples/community-comments-example.json
🔗
Status
https://developer.nytimes.com/docs/community-api-product/1/overview
🔗
APIsJSON
https://raw.githubusercontent.com/api-evangelist/new-york-times-company/refs/heads/main/apis.yml

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/new-york-times-company:new-york-times-company-archive-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

new-york-times-company-archive-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2.0.0
  title: Archive API
  description: The Archive API returns an array of NYT articles for a given month, going back to 1851.
servers:
- url: https://api.nytimes.com/svc/archive/v1
security:
- apikey: []
tags:
- name: Archive
paths:
  /{year}/{month}.json:
    get:
      summary: Returns an array of articles for a given month
      description: Pass in year and month and get back JSON with all articles for that month. The response can be big (~20 megabytes) and contain thousands of articles, depending on the year and month.
      parameters:
      - name: year
        in: path
        description: 'Year: 1851-2019'
        required: true
        schema:
          type: integer
          default: 2018
      - name: month
        in: path
        description: 'Year: 1-12'
        required: true
        schema:
          type: integer
          default: 9
      tags:
      - Archive
      responses:
        '200':
          description: An array of articles.
          content:
            application/json:
              schema:
                type: object
                properties:
                  copyright:
                    type: string
                  response:
                    type: object
                    properties:
                      meta:
                        type: object
                        properties:
                          hits:
                            type: integer
                      docs:
                        type: array
                        items:
                          $ref: '#/components/schemas/Article'
        '401':
          description: Unauthorized request, check api-key is set.
          content:
            application/json:
              schema:
                type: object
                properties:
                  fault:
                    type: object
                    properties:
                      faultstring:
                        type: string
                      detail:
                        type: object
                        properties:
                          errorcode:
                            type: string
        '429':
          description: Too many requests.  You reached your per minute or per day rate limit.
      operationId: getByYear{month}Json
      x-operation-id-source: derived
components:
  schemas:
    Byline:
      type: object
      properties:
        original:
          type: string
        person:
          type: array
          items:
            $ref: '#/components/schemas/Person'
        organization:
          type: string
    Multimedia:
      type: object
      properties:
        rank:
          type: integer
        subtype:
          type: string
        caption:
          type: string
        credit:
          type: string
        type:
          type: string
        url:
          type: string
        height:
          type: integer
        width:
          type: integer
        legacy:
          type: object
          properties:
            xlarge:
              type: string
            xlargewidth:
              type: integer
            xlargeheight:
              type: integer
        crop_name:
          type: string
    Article:
      type: object
      properties:
        web_url:
          type: string
        snippet:
          type: string
        print_page:
          type: integer
        source:
          type: string
        multimedia:
          type: array
          items:
            $ref: '#/components/schemas/Multimedia'
        headline:
          $ref: '#/components/schemas/Headline'
        keywords:
          type: array
          items:
            $ref: '#/components/schemas/Keyword'
        pub_date:
          type: string
        document_type:
          type: string
        news_desk:
          type: string
        byline:
          $ref: '#/components/schemas/Byline'
        type_of_material:
          type: string
        _id:
          type: string
        word_count:
          type: integer
        score:
          type: integer
        uri:
          type: string
    Keyword:
      type: object
      properties:
        name:
          type: string
        value:
          type: string
        rank:
          type: integer
        major:
          type: string
    Person:
      type: object
      properties:
        firstname:
          type: string
        middlename:
          type: string
        lastname:
          type: string
        qualifier:
          type: string
        title:
          type: string
        role:
          type: string
        organization:
          type: string
        rank:
          type: integer
    Headline:
      type: object
      properties:
        main:
          type: string
        kicker:
          type: string
        content_kicker:
          type: string
        print_headline:
          type: string
        name:
          type: string
        seo:
          type: string
        sub:
          type: string
  securitySchemes:
    apikey:
      type: apiKey
      name: api-key
      in: query