News — entry 009 of 17

New York Times

Verified Jul 2026

The NYT Developer Network exposes ten separate APIs (Article Search, Top Stories, Books, Most Popular, and more) over a shared API-key scheme, all returning JSON. Registration and usage are completely free, but the terms restrict every API to non-commercial projects only — selling access, running ads, or shipping the data inside a paid product all require a separate licensing deal through NYT Licensing.

newsarticlessearchmedia
AuthenticationAPI KeySign up with the provider to obtain credentials.
HTTPSSupportedTraffic is encrypted in transit.
CORSEnabledCallable directly from browser JavaScript.
PricingFreeNo paid tier — free for the documented use case.
FormatsJSONResponses can be requested as JSON.

GreatAPIs Score

Score84out of 100
Authentication15/25API key required
Pricing20/20Free to use
Docs20/20Machine-readable spec file bundled
Formats9/15Single response format
Freshness20/20Verified within 6 months

Embed this badge

Scored 84 on greatapis.com
<a href="https://greatapis.com/api/new-york-times/"><img src="https://greatapis.com/badge/new-york-times.svg" alt="Scored 84 on greatapis.com"></a>

Auth quickstart

  1. Sign up with the provider to get an API key.
  2. Send it on every request as a headerAuthorization: <key>
  3. The exact header isn't documented — Authorization is a common default; confirm in the provider's docs.
Stored keyNo key stored

Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.

Endpoints

Servers
http://api.nytimes.com/svc/search/v2https://api.nytimes.com/svc/search/v2
Auth
apikey
Stories1
GET/articlesearch.jsonArticle Search
Parameters
NameInRequiredType
qquerynostring
fqquerynostring
begin_datequerynostring
end_datequerynostring
sortquerynostring
flquerynostring
hlquerynoboolean
pagequerynointeger
facet_fieldquerynostring
facet_filterquerynoboolean
Responses
StatusDescriptionSchema
200The docs requested by the article search.

Try it

Developer reference

Base URLhttps://api.nytimes.com/svc/search/v2
Rate limit

500 requests/day, 5 requests/minute per API key

Key endpoints
  • GET/articlesearch.json