News API is a versatile and comprehensive tool that empowers developers to access the latest news content from the web based on specific topics of interest. With this API, users can effortlessly stay informed and up to date with the ever-evolving world of news.
By leveraging the News API, developers gain access to a vast repository of news articles from a wide range of reliable sources, including major news outlets, niche publications, and regional sources. The API aggregates news content from multiple publishers, ensuring a diverse and comprehensive coverage of various topics.
One of the key features of the News API is its ability to retrieve news based on specific topics. Whether you are interested in politics, technology, sports, entertainment, or any other subject, you can tailor your queries to obtain news articles that are most relevant to your needs. This flexibility allows developers to create applications and services that cater to the specific interests of their users.
The News API provides real-time access to news content, ensuring that you receive the most current information available. This enables users to stay ahead of the curve, tracking breaking news stories and staying informed about the latest developments in their preferred fields.
Integration with the News API is straightforward, thanks to its well-documented and developer-friendly interface. The API supports various programming languages and provides comprehensive documentation, including code examples, to assist developers in integrating it seamlessly into their applications.
In addition to topic-based searches, the News API offers additional search parameters to refine your queries. These parameters include date range, source filtering, language preferences, and sorting options. Such fine-grained control over search parameters allows developers to build sophisticated news applications that deliver highly personalized and relevant content to their users.
With its robust infrastructure and powerful search capabilities, the News API ensures fast and efficient retrieval of news articles. The API delivers results in a standardized format, typically in JSON or XML, making it easy to parse and integrate the data into applications or websites.
Whether you are building a news aggregator, a content recommendation system, or a personalized news app, the News API provides the essential tools to access the latest news content from across the web. Stay informed, engage your users, and enhance their news consumption experience with this powerful and flexible API.
Pass your search term and receive the latest news about any topic.
News Aggregator: Create a news aggregation platform that fetches the latest news articles from multiple sources using the News API. Users can browse through various topics and receive a comprehensive overview of current events, all in one place.
Personalized News App: Develop a personalized news application that allows users to customize their news feed based on their interests. By integrating the News API, you can fetch news articles tailored to each user's preferred topics, ensuring they receive the most relevant news content.
Content Recommendation System: Build a content recommendation system that suggests news articles to users based on their browsing history or previous interactions. By leveraging the News API, you can access a diverse range of news articles and recommend them to users based on their preferences, enhancing their news consumption experience.
Research and Analysis: Utilize the News API to gather data for research and analysis purposes. By retrieving news articles on specific topics, researchers can gain insights into trends, sentiment analysis, or perform data-driven studies to understand public opinion or market dynamics.
News Notifications: Develop a notification service that keeps users informed about breaking news or specific topics of interest. With the News API, you can retrieve the latest news articles in real-time and send push notifications to users, ensuring they stay updated on important events and stories.
Social Media Integration: Integrate the News API with social media platforms to provide users with the option to share news articles directly from your application. This allows users to engage with their networks, promoting discussions and enhancing the reach of news articles.
Besides the number of API calls, there is a limitation of 200 requests per day on plans below ProPlus.
To use this endpoint you must indicate a search term in the parameter.
Search News - Endpoint Features
Object | Description |
---|---|
q |
[Required] Indicates a search term |
{
"searchParameters": {
"q": "fraud and scams",
"gl": "us",
"type": "news",
"API": "News"
},
"news": [
{
"title": "'Gold Grifters': Inside the growing scam using couriers to pick up gold bars from victims",
"link": "https://abcnews.go.com/US/gold-grifters-inside-growing-scam-couriers-pick-gold/story?id=119147460",
"snippet": "Victims of gold bar scams reported losses of $126 million in 2024.",
"date": "1 day ago",
"source": "ABC News",
"imageUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQNyzC2AdPPf5EvySelhr103wfd-c_4xGZNWT6KiCFrHrLHKTNC2VSIS6Y&usqp=CAI&s",
"position": 1
},
{
"title": "'Never thought I'd fall for a scam': Omaha man loses thousands from phone scam, county sheriff warns of growing trends",
"link": "https://www.ketv.com/article/never-thought-id-fall-for-a-scam-omaha-man-loses-thousands-from-phone-scam-county-sheriff-warns-of-growing-trends/63909423",
"snippet": "Douglas County Sheriff Aaron Hanson says complex scams are happening more and more often. He knows about a new one, spreading across the...",
"date": "24 hours ago",
"source": "KETV",
"imageUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTFHQooJZH72622u9QxJMU1DfPLusO2Holkjhj3AqvOXwadC2GmgYV-FYo&usqp=CAI&s",
"position": 2
},
{
"title": "Scam Factories: the inside story of Southeast Asia’s brutal fraud compounds",
"link": "https://theconversation.com/scam-factories-the-inside-story-of-southeast-asias-brutal-fraud-compounds-250448",
"snippet": "People around the world have lost billions of dollars to scams. But the scammers are often victims, too. We're taking you inside their...",
"date": "2 days ago",
"source": "The Conversation",
"imageUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQoaJA5303TRdhbyHtG5ExzbHRCYCj50eiqsi93fBrnUxRVKd7AvRB4kXA&usqp=CAI&s",
"position": 3
},
{
"title": "Drivers Hit With 'The Toll Roads' Scam Text—What to Watch Out For",
"link": "https://www.newsweek.com/drivers-hit-toll-roads-scam-text-what-watch-out-2035437",
"section": "News about Confidence trick",
"date": "1 day ago",
"source": "Newsweek",
"imageUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQChSgPxcVsbJTFgvuLfhS8agjluhNAG-t-edBQ2URchYo8b3u9G-ZcYv8&usqp=CAI&s",
"position": 4
},
{
"title": "TxDOT warns of text scam. Here's what to do if you get one.",
"link": "https://www.mysanantonio.com/news/local/traffic/article/toll-road-txtag-text-scam-20184632.php",
"section": "News about Confidence trick",
"date": "1 day ago",
"source": "MySA",
"imageUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQxqXeIvLj7vUYyoDOhLrUIv4Zn5Jei_QIr6K2YA4GkTlzqVVir_c9KRog&usqp=CAI&s",
"position": 4
}
curl --location --request GET 'https://zylalabs.com/api/2088/news+api/8710/search+news?q=Required' --header 'Authorization: Bearer YOUR_API_KEY'
Header | Description |
---|---|
Authorization
|
[Required] Should be Bearer access_key . See "Your API Access Key" above when you are subscribed. |
No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.
The "Get Latest News" endpoint returns a collection of news articles, including details such as the article title, author, publication date, summary, and a URL to the full article. The data is structured in a standardized format, typically JSON or XML.
Key fields in the response data include "title," "link," "pubDate," "description," "source_name," and "language." These fields provide essential information about each news article.
The response data is organized in a JSON or XML format, with a top-level object containing a "status" and "totalResults." The "results" array contains individual articles, each represented as an object with relevant fields.
Users can customize their requests using parameters such as topic keywords, date range, source filtering, language preferences, and sorting options. This allows for tailored news retrieval based on specific interests.
The endpoint provides information on various topics, including politics, technology, sports, and entertainment. It aggregates news from multiple sources, ensuring diverse coverage of current events.
The News API aggregates articles from a wide range of reliable sources, including major news outlets, niche publications, and regional sources. This ensures a comprehensive and diverse news coverage.
Users can utilize the returned data by displaying article titles and summaries in their applications, linking to full articles, and filtering results based on user preferences. This enhances user engagement with relevant news content.
If the API returns partial or empty results, users should implement error handling to manage these scenarios. They can provide fallback content or notify users that no articles match their criteria, ensuring a smooth user experience.
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, refer to the ‘X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.
To see the maximum number of API requests your plan allows, check the ‘X-Zyla-RateLimit-Limit’ response header. For instance, if your plan includes 1,000 requests per month, this header will display 1,000.
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 3,600, it means 3,600 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]
To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.
After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.
Service Level:
100%
Response Time:
118ms
Service Level:
100%
Response Time:
11,555ms
Service Level:
100%
Response Time:
9,182ms
Service Level:
100%
Response Time:
1,641ms
Service Level:
100%
Response Time:
16,525ms
Service Level:
100%
Response Time:
10,144ms
Service Level:
100%
Response Time:
1,206ms
Service Level:
100%
Response Time:
858ms
Service Level:
100%
Response Time:
2,401ms
Service Level:
100%
Response Time:
8,613ms