The New York Times is an American newspaper of record providing comprehensive coverage of national and international news, opinion, business, technology, science, health, sports, and the arts.
With the World News API you can programmatically access news articles from The New York Times (nytimes.com). On average, over 180 articles per day are indexed from this source.
The source is based in United States and publishes primarily in the language code en. For every API endpoint that supports the news-sources parameter, use https://www.nytimes.com to retrieve news exclusively from The New York Times.
Historically, you can search news from The New York Times starting January 1st, 2022.
Here are some examples showing how to search news, filter by category, and retrieve specific articles from The New York Times. Be sure to check out the in-depth documentation as each API offers many different parameters to explore.
news-sources=https://www.nytimes.com news-sources=https://www.nytimes.com text=technology news-sources=https://www.nytimes.com categories=politics news-sources=https://www.nytimes.com Each article in the response includes a sentiment score ranging from -1 (very negative) to 1 (very positive), enabling sentiment analysis of The New York Times's coverage.
Use the Search News endpoint with the parameter news-sources=https://www.nytimes.com. This returns only articles published by The New York Times. You can further filter by keyword, category, date range, and more.
World News API indexes over 180 articles per day from The New York Times. Coverage includes all major sections and categories published on nytimes.com.
Yes, World News API stores articles from The New York Times starting from January 1st, 2022. Use the earliest-publish-date and latest-publish-date parameters in the Search News endpoint to query historical articles.
Yes, the news-sources parameter accepts a comma-separated list of source URLs. For example, you can retrieve news from The New York Times and other outlets in a single request.
Yes! World News API offers a free plan with 50 daily API points — enough to start building and testing with The New York Times news data. Sign up for a free API key to get started. Paid plans start at $39/month for higher volume needs.
Looking for a different news source? Select from the list below or browse all media outlets.