freeapis

New York Times

The New York Times Developer Network

Authentication
API Key
HTTPS
Yes
CORS
Unknown
Category
News
Data source
public-apis + marcelscruz

Overview

The NYT API family exposes New York Times content programmatically: Top Stories, Article Search (archive since 1851), Most Popular, Books, Movie Reviews, and more. Each API has its own key and quota. A strong source for news apps and research with an editorial angle.

Quick Start

Top Stories (replace YOUR_KEY):

curl "https://api.nytimes.com/svc/topstories/v2/home.json?api-key=YOUR_KEY"

Article Search:

curl "https://api.nytimes.com/svc/search/v2/articlesearch.json?q=spacex&api-key=YOUR_KEY"

Most Popular (viewed/shared/emailed):

curl "https://api.nytimes.com/svc/mostpopular/v2/viewed/1.json?api-key=YOUR_KEY"

Authentication

  • Register at developer.nytimes.com — one key per API, instant and free.
  • Send it as the api-key query parameter (an invalid key returns 401 — verified).

Rate Limits & Notes

  • Free tier: rate limits per API (roughly 4-5 requests/second and ~5,000 requests/day per key — check the docs).
  • Different APIs (Top Stories, Search, Books…) have separate keys and quotas.
  • Top Stories requires a section (or home); sections include science, technology, world, sports, arts…
  • Article Search covers the full archive back to 1851 — great for historical analysis.

FAQ

Is the NYT API free? Yes — free keys with per-API rate limits.

How do I get a key? Register at developer.nytimes.com and request keys per API.

Can I search old articles? Yes — Article Search covers the archive since 1851.

More in News

APIAuthHTTPSCORS
APITube News API

Real-time and historical news from 300,000+ sources in 177 countries and 59 languages, enriched with sentiment, entities and topics, with 65+ search filters

API KeyYesUnknown↗
Associated Press

Search for news and metadata from Associated Press

API KeyYesUnknown↗
Chronicling America

Provides access to millions of pages of historic US newspapers from the Library of Congress

No authNoUnknown↗
Currents

Real-time and historical global news with multilingual support

API KeyYesYes↗
DataCube AI

Daily curated AI industry news, funding rounds and trends in 8 languages

No authYesNo↗