swagger: '2.0' info: version: 2.0.0 title: Archive Content.json API description: 'The Archive API returns an array of NYT articles for a given month, going back to 1851. Its response fields are the same as the Article Search API. The Archive API is very useful if you want to build your own database of NYT article metadata. You simply pass the API the year and month and it returns a JSON object with all articles for that month. The response size can be large (~20mb). ``` /{year}/{month}.json ``` ## Example Call ``` https://api.nytimes.com/svc/archive/v1/2019/1.json?api-key=yourkey ``` ' host: api.nytimes.com basePath: /svc/archive/v1 schemes: - https produces: - application/json security: - apikey: [] tags: - name: Content.json paths: /content.json: get: parameters: - name: url in: query type: string description: The complete URL of a specific news item, URL-encoded or backslash-escaped default: https%3A%2F%2Fwww.nytimes.com%2F2018%2F09%2F19%2Fworld%2Fasia%2Fnorth-south-korea-nuclear-weapons.html required: true responses: '200': description: An array of Articles schema: type: object properties: status: type: string copyright: type: string num_results: type: integer results: type: array items: $ref: '#/definitions/Article' '401': description: Unauthorized request. Make sure api-key is set. '429': description: Too many requests. You reached your per minute or per day rate limit. tags: - Content.json definitions: Article: type: object properties: section: type: string subsection: type: string title: type: string abstract: type: string url: type: string short_url: type: string byline: type: string thumbnail_standard: type: string item_type: type: string source: type: string updated_date: type: string created_date: type: string published_date: type: string material_type_facet: type: string kicker: type: string headline: type: string des_facet: type: array items: type: string org_facet: type: string per_facet: type: array items: type: string geo_facet: type: array items: type: string blog_name: type: string related_urls: type: array items: type: object properties: suggested_link_text: type: string url: type: string multimedia: type: array items: type: object properties: url: type: string format: type: string height: type: integer width: type: integer type: type: string subtype: type: string caption: type: string copyright: type: string securityDefinitions: apikey: type: apiKey name: api-key in: query