Access articles, reviews, and data from The New York Times
The New York Times API provides access to articles, book and movie reviews, bestseller lists, and other content from one of the world’s leading news sources.
1.If you are getting unauthorized errors, you may need to visit each API to manually authorize.
2. Go back to https://developer.nytimes.com/apis.
3. For each API that your app enabled, visit their respective API Pages and click Authorize in the top right corner.
Paste your NYTimes API key into the “NYTIMES_API_KEY” field
Need a new key? Generate one in your NYTimes Developer dashboard.
3
Use it
You can now use prompts with the integration to access NYTimes content.Some examples:
Get the latest top stories using /NYTimes
Search for articles about climate change with /NYTimes
Create a news aggregator using /NYTimes
The API limits how often your app can fetch data. If your app loads the same data often, ask the agent to save it locally so it doesn’t re-fetch every time.
Example prompt for optimization:
Copy
Ask AI
When using /NYTimes, save the article data so my app doesn't have to fetch it again
Your New York Times integration is now ready! Use the /NYTimes command in chat to access articles and content.
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.