New York Times Real Time API

This API offers a comprehensive collection of news articles, in-depth analyses, and multimedia content from the New York Times, spanning diverse subjects such as politics, business, and international affairs.

The New York Times Real Time API provides detailed access to a wealth of news content across various fields, including U.S. politics, global events, business, and science. It offers structured data such as article headlines, publication dates, author information, content summaries, and multimedia assets like images and videos.

Designed for seamless integration, the API uses JSON as its standard format, ensuring compatibility with modern web applications. It includes specialized terminology for key topics, such as political developments (elections, Supreme Court decisions), economic metrics (market trends, fiscal policies), and global issues (conflicts, international agreements).

Developers are required to authenticate via API keys and must adhere to rate limits for managing request loads. The output is organized using well-defined JSON schemas that encapsulate metadata, article content, and categorization tags. This structure allows for efficient implementation, making it easier to incorporate and display comprehensive news content within digital platforms.

API Documentation

Endpoints


This endpoint retrieves the most recent news articles published by the New York Times across various categories such as politics, business, and global events. Users can specify parameters such as the number of articles to return, the category of interest, and a date range for the articles. This functionality is particularly useful for developers looking to display the latest news updates in their applications or for users wanting to stay informed about current events. The response will include article titles, publication dates, author names, and content summaries, allowing for a comprehensive overview of the latest news.


                                                                            
POST https://zylalabs.com/api/5673/new+york+times+real+time+api/7393/news
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"articles":[{"title":"Police Track Steps Suspect in C.E.O.\u2019s Killing Took After Arriving in New York","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"Investigators released images of a man they believe killed Brian Thompson, the C.E.O. of one of the country\u2019s largest health insurers, outside a Midtown hotel."},{"title":"Torrent of Hate for Health Insurance Industry Follows C.E.O.\u2019s Killing","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"The death of a UnitedHealthcare executive has unleashed Americans\u2019 frustrations with an industry that often denies coverage and reimbursement for claims."},{"title":"House Blocks Release of Ethics Report on Gaetz as Republicans Close Ranks","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"In largely party-line votes, the House turned back measures that would have made public the results of the Ethics Committee\u2019s investigation into Matt Gaetz."},{"title":"Pete Hegseth and His \u2018Battle Cry\u2019 for a New Christian Crusade","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"The veteran has praised the brutal religious military campaigns of the past and has called for a Christian approach to governing."},{"title":"Biden Team Considers Blanket Pardons Before Trump\u2019s Promised \u2018Retribution\u2019","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"White House officials believe President-elect Trump\u2019s choices for top law enforcement jobs indicate that he will pursue revenge against his perceived enemies."},{"title":"In First Post-Election Speech, Obama Calls for \u2018Building Coalitions\u2019","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"\u201cPurity tests are not a recipe for long-term success,\u201d former President Obama said in the speech in Chicago."},{"title":"Rebels Storm Another Major City in Syria","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"In another startling setback for President Bashar al-Assad, government forces retreated from the city of Hama after rebels advanced on it."},{"title":"New York City Approves a Plan to Create 80,000 New Homes","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"The City Council passed a major housing plan known as 'City of Yes.' Experts and elected officials say it is only a first step to address the housing crisis."},{"title":"Jordan Neely\u2019s Father Sues Daniel Penny, Accusing Him of Assault","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"Andre Zachery claims that Mr. Penny, using a chokehold on a subway train last year, caused his son\u2019s death through 'negligence, carelessness and recklessness.'"},{"title":"Kindergartners Are \u2018Critical but Stable\u2019 a Day After a California School Shooting","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"Two boys, ages 5 and 6, were rushed to hospitals on Wednesday after they were shot by a gunman on their rural school campus in Northern California."},{"title":"Amnesty International Accuses Israel of Genocide in Gaza","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"Israel rejected the charge \u2014 the first of its kind by a major human rights organization \u2014 saying it was 'based on lies.'"}]}]
                                                                                                                                                                                                                    
                                                                                                    

News - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/5673/new+york+times+real+time+api/7393/news' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'


This endpoint allows users to search for news articles based on specific keywords or phrases. Users can input a keyword and receive a list of articles that match their search criteria, including relevant metadata such as publication dates and authors. This feature is essential for users who want to find articles related to specific topics or events, making it easier to access targeted information. The response will provide a structured list of articles that contain the searched keyword, along with their respective summaries and publication details, enabling users to quickly find relevant content.


                                                                            
POST https://zylalabs.com/api/5673/new+york+times+real+time+api/7394/search+articles
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"articles":[{"title":"Biden Team Considers Blanket Pardons Before Trump\u2019s Promised \u2018Retribution\u2019","publication_date":"Dec. 5, 2024","author":"Not specified","abstract":"White House officials believe President-elect Trump\u2019s choices for top law enforcement jobs indicate that he will pursue revenge against his perceived enemies."},{"title":"Trump\u2019s Cabinet Will Be an Embarrassment of Wretches","publication_date":"Not specified","author":"Frank Bruni","abstract":"An opinion piece discussing the implications of Trump's cabinet selections."},{"title":"Pete Hegseth Fights to Keep His Nomination Alive","publication_date":"Not specified","author":"Not specified","abstract":"Also, the police chased leads in the New York manhunt for a C.E.O.\u2019s killer, rebels stormed a major city in Syria and more news."}]}]
                                                                                                                                                                                                                    
                                                                                                    

Search Articles - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/5673/new+york+times+real+time+api/7394/search+articles' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"keyword":"Required"}'


API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the New York Times Real Time API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

The New York Times Real Time API provides access to a wide array of news articles, analysis, and multimedia content covering various topics including U.S. politics, international affairs, business, and science.

The data from the New York Times Real Time API is structured in JSON format, which includes fields for article titles, publication dates, author names, content summaries, and associated multimedia elements like images and videos.

To use the New York Times Real Time API, you need to authenticate via API keys and be aware of rate limiting to manage request volumes.

Yes, the New York Times Real Time API allows you to filter articles using tags for categorization, enabling you to retrieve content based on specific topics or categories.

You can integrate the New York Times Real Time API into your web application by making HTTP requests to the API endpoints, processing the returned JSON data, and displaying it in your application according to your design.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, look at the β€˜X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]


Related APIs