The New York Times
communityLeading global newspaper offering news, opinion, analysis, and multimedia journalism.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://api.nytimes.com/svc/search/v2/articlesearch.jsonSearch NYT articles archive
Parameters
qsearch query (stringrequiredsortnewest|oldest|relevance (stringoptionalend_dateYYYYMMDD (stringoptionalbegin_dateYYYYMMDD (stringoptionalReturns
response.docs[] with headline, snippet, web_url, pub_date, bylineGET
https://api.nytimes.com/svc/topstories/v2/{section}.jsonGet top stories by section
Parameters
sectionhome|world|us|politics|business|technology|science|health|sports|arts (stringrequiredReturns
results[] with title, abstract, url, published_date, multimediaGET
https://api.nytimes.com/svc/books/v3/lists/current/{list}.jsonGet NYT bestseller book lists
Parameters
listhardcover-fiction|hardcover-nonfiction|paperback (stringrequiredReturns
results.books[] with title, author, rank, description, publisher, isbn