Publishers and feeds

The New York Times APIs

by developer.nytimes.com

Publishers and feeds Added on October 31st, 2026 Checked and working on November 2nd, 2026
Visit developer.nytimes.com →

What it does

The New York Times offers a set of free APIs: Article Search for articles back to 1851, Top Stories per section, Most Popular articles, the Books API with the bestseller lists, the Times Wire for the newest articles, the Archive by month, and more. Responses are JSON. Free, with a free API key and a daily request limit.
  • API
  • HTTP-GET
  • JSON
  • REST

At a glance

API key
Needed, free · More APIs with a free key
Pricing
Free, with a free API key and a daily request limit.
From the browser
Yes (CORS)
Formats
JSON
Interface
REST, HTTP-GET
Provider
developer.nytimes.com
Last checked
Working on November 2nd, 2026

More information: https://developer.nytimes.com/apis

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

developer.nytimes.com
The New York Times APIs

Example request

curl

curl 'https://api.nytimes.com/svc/search/v2/articlesearch.json?q=london&api-key=YOUR_API_KEY'

JavaScript

const response = await fetch("https://api.nytimes.com/svc/search/v2/articlesearch.json?q=london&api-key=YOUR_API_KEY");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://api.nytimes.com/svc/search/v2/articlesearch.json?q=london&api-key=YOUR_API_KEY",
    timeout=30,
)
print(response.json())

Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried The New York Times APIs.