News — entry 009 of 17
New York Times
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.
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
Score84
Authentication15/25API key required
Pricing20/20Free to use
Docs20/20Machine-readable spec file bundled
Formats9/15Single response format
Freshness20/20Verified within 6 months
Auth quickstart
- Sign up with the provider to get an API key.
- Send it on every request as a header
Authorization: <key> - 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
Stories1
GET/articlesearch.jsonArticle Search
Parameters
| Name | In | Required | Type |
|---|---|---|---|
q | query | no | string |
fq | query | no | string |
begin_date | query | no | string |
end_date | query | no | string |
sort | query | no | string |
fl | query | no | string |
hl | query | no | boolean |
page | query | no | integer |
facet_field | query | no | string |
facet_filter | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | The docs requested by the article search. | — |
Try it
Developer reference
Base URL
https://api.nytimes.com/svc/search/v2Rate limit
500 requests/day, 5 requests/minute per API key
Key endpoints
- GET/articlesearch.json