The latest news API

The latest news API

The latest news API is a web-based API that allows developers to access recent news articles from a variety of sources.

API description

About the API:

This API allows users to access up-to-date news on a wide range of topics from health, technology, sports, entertainment, and more. The API provides developers with a simple and easy-to-use interface for accessing news data. One of the main advantages of a recent news API is that it ensures that users always have access to the most current information. This makes it an ideal tool for creating news-related applications such as news aggregators, news widgets, or custom news feeds.


Recent news APIs can be used for a variety of purposes, such as building a new website, mobile app, or any other type of application that requires news data. It can be integrated with other APIs to provide additional data, such as weather, financial data, or social media data.

Overall, a recent news API is a valuable resource for anyone interested in keeping up with the latest news and events. It provides access to a wealth of information that can be used to create engaging and informative news-related applications.

API Documentation

Endpoints


To use this endpoint, all you have to do is run it, and it will return 50 current news items.



                                                                            
GET https://zylalabs.com/api/1108/the+latest+news+api/969/get+fifty+news
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [
    {
        "id": 1,
        "category": "World"
    },
    {
        "id": 2,
        "category": "Politics"
    },
    {
        "id": 3,
        "category": "Sport"
    },
    {
        "id": 4,
        "category": "Economy"
    },
    {
        "id": 5,
        "category": "Science"
    },
    {
        "id": 6,
        "category": "Entertainment"
    },
    {
        "id": 7,
        "category": "Video"
    },
    {
        "id": 8,
        "category": "Technology"
    },
    {
        "id": 9,
        "category": "Health"
    },
    {
        "id": 10,
        "category": "Football"
    },
    {
        "id": 11,
        "category": "Family"
    },
    {
        "id": 12,
        "category": "USA"
    },
    {
        "id": 13,
        "category": "UK"
    },
    {
        "id": 14,
        "category": "Travel"
    },
    {
        "id": 15,
        "category": "Food"
    },
    {
        "id": 16,
        "category": "Cars"
    },
    {
        "id": 17,
        "category": "Culture"
    }
]
                                                                                                                                                                                                                    
                                                                                                    

Get fifty news - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/1108/the+latest+news+api/969/get+fifty+news' --header 'Authorization: Bearer YOUR_API_KEY' 

    

To use this endpoint, all you have to do is run it, and it will return 100 current news items.



                                                                            
GET https://zylalabs.com/api/1108/the+latest+news+api/970/get+one+hundred+news
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [
    {
        "title": "The problem with saying \u2018my son won,t play football,",
        "link": "https:\/\/www.washingtonpost.com\/dc-md-va\/2023\/01\/25\/football-son-wont-play\/",
        "image": "https:\/\/arc-anglerfish-washpost-prod-washpost.s3.amazonaws.com\/public\/7Q5PKVA7EQI6TJ2ZFOCUDO56EA.jpg",
        "pubDate": "Wed, 25 Jan 2023 19:48:08 +0000",
        "source": "washingtonpost",
        "category": "USA"
    },
    {
        "title": "Italy mourns death of 'beloved,' mischievous brown bear burglar, Juan Carrito",
        "link": "https:\/\/www.usatoday.com\/story\/news\/world\/2023\/01\/25\/juan-carrito-bear-death-italy\/11119419002\/",
        "image": "https:\/\/www.gannett-cdn.com\/presto\/2023\/01\/25\/USAT\/665bbad6-a0c7-4a13-8e57-57fb48785d89-Juan_Carrito.png",
        "pubDate": "Wed, 25 Jan 2023 19:42:22 +0000",
        "source": "usatoday",
        "category": "World"
    },
    {
        "title": "A Curator Unbound: First She Was Fired. Then She Found Freedom",
        "link": "https:\/\/www.nytimes.com\/2023\/01\/25\/arts\/design\/helen-molesworth-curator.html",
        "image": "https:\/\/static01.nyt.com\/images\/2023\/01\/25\/multimedia\/25molesworth1-vkft\/25molesworth1-vkft-facebookJumbo.jpg",
        "pubDate": "Wed, 25 Jan 2023 19:43:47 +0000",
        "source": "nytimes",
        "category": "Entertainment"
    },
    {
        "title": "NY AG's office calls on Madison Square Garden to explain use of facial recognition to bar lawyers from venues",
        "link": "https:\/\/www.foxbusiness.com\/entertainment\/ny-ags-office-calls-madison-square-garden-explain-facial-recognition-bar-lawyers-venues",
        "image": "https:\/\/static.foxbusiness.com\/foxbusiness.com\/content\/uploads\/2023\/01\/MSG.jpg  medium= image  isDefault= true \/ \n         https:\/\/a57.foxnews.com\/static.foxbusiness.com\/foxbusiness.com\/content\/uploads\/2023\/01\/60\/60\/MSG.jpg?ve=1&tl=1  medium= image  width= 60  height= 60 \/ \n       \/media:group \n       media:thumbnail url= https:\/\/a57.foxnews.com\/static.foxbusiness.com\/foxbusiness.com\/content\/uploads\/2023\/01\/60\/60\/MSG.jpg?ve=1&tl=1  width= 60  height= 60 \/ \n       category domain= foxnews.com\/metadata\/dc.identifier  5fab9701-3299-5221-9e40-ea2bab17712f \/category \n       category domain= foxbusiness.com\/taxonomy  fox-news\/fox-news-travel\/fox-news-vacation-destinations\/fox-news-new-york-city \/category \n       category domain= foxbusiness.com\/taxonomy  fox-news\/fox-news-us\/fox-news-us-regions\/fox-news-northeast\/fox-news-new-york \/category \n       category domain= foxbusiness.com\/taxonomy  fox-business\/money\/legal \/category \n       category domain= foxnews.com\/metadata\/prism.channel  fbn \/category \n       category domain= foxnews.com\/section-path  fox-business\/entertainment \/category \n       category domain= foxnews.com\/content-",
        "pubDate": "Wed, 25 Jan 2023 18:38:52 GMT",
        "source": "foxnews",
        "category": "Economy"
    },
    {
        "title": "'Imminent' earnings recession could tank US stocks, Morgan Stanley warns",
        "link": "https:\/\/www.foxbusiness.com\/markets\/imminent-earnings-recession-could-tank-us-stocks-morgan-stanley-warns",
        "image": "https:\/\/static.foxbusiness.com\/foxbusiness.com\/content\/uploads\/2022\/06\/29581966-stock-market-2.jpg  medium= image  isDefault= true \/ \n         https:\/\/a57.foxnews.com\/static.foxbusiness.com\/foxbusiness.com\/content\/uploads\/2022\/06\/60\/60\/29581966-stock-market-2.jpg?ve=1&tl=1  medium= image  width= 60  height= 60 \/ \n       \/media:group \n       media:thumbnail url= https:\/\/a57.foxnews.com\/static.foxbusiness.com\/foxbusiness.com\/content\/uploads\/2022\/06\/60\/60\/29581966-stock-market-2.jpg?ve=1&tl=1  width= 60  height= 60 \/ \n       category domain= foxnews.com\/metadata\/dc.identifier  98e981d7-573b-57f7-8c05-170ea79c182a \/category \n       category domain= foxbusiness.com\/taxonomy  fox-business\/markets \/category \n       category domain= foxbusiness.com\/taxonomy  fox-business\/markets\/stocks \/category \n       category domain= foxbusiness.com\/taxonomy  fox-business\/money \/category \n       category domain= foxbusiness.com\/taxonomy  fox-business\/markets\/economy \/category \n       category domain= foxbusiness.com\/taxonomy  fox-news\/fox-news-us\/fox-news-economy\/inflation \/category \n       category domain= foxnews.com\/metadata\/prism.channel  fbn \/category \n       category domain= foxnews.com\/section-path  fox-business\/markets \/category \n       category domain= foxnews.com\/content-",
        "pubDate": "Wed, 25 Jan 2023 19:08:08 GMT",
        "source": "foxnews",
        "category": "Economy"
    },
    {
        "title": "Many Americans believe inflation will get worse in 2023",
        "link": "https:\/\/www.foxbusiness.com\/personal-finance\/americans-believe-inflation-worse-in-2023",
        "image": "",
        "pubDate": "Wed, 25 Jan 2023 19:17:59 GMT",
        "source": "foxnews",
        "category": "Economy"
    },
    {
        "title": "Americans plan to increase Valentine's Day spending despite squeezed budgets",
        "link": "https:\/\/www.foxbusiness.com\/economy\/americans-plan-to-increase-valentines-day-spending-despite-squeezed-budgets",
        "image": "https:\/\/static.foxbusiness.com\/foxbusiness.com\/content\/uploads\/2023\/01\/valentines-day-spending.jpg  medium= image  isDefault= true \/ \n         https:\/\/a57.foxnews.com\/static.foxbusiness.com\/foxbusiness.com\/content\/uploads\/2023\/01\/60\/60\/valentines-day-spending.jpg?ve=1&tl=1  medium= image  width= 60  height= 60 \/ \n       \/media:group \n       media:thumbnail url= https:\/\/a57.foxnews.com\/static.foxbusiness.com\/foxbusiness.com\/content\/uploads\/2023\/01\/60\/60\/valentines-day-spending.jpg?ve=1&tl=1  width= 60  height= 60 \/ \n       category domain= foxnews.com\/metadata\/dc.identifier  975392d4-5fe1-50b7-937e-507d88d37c97 \/category \n       category domain= foxbusiness.com\/taxonomy  fox-business\/personal-finance \/category \n       category domain= foxbusiness.com\/taxonomy  fox-business\/markets\/economy \/category \n       category domain= foxbusiness.com\/taxonomy  fox-business\/money\/credit-debt \/category \n       category domain= foxbusiness.com\/taxonomy  fox-business\/industries\/retail \/category \n       category domain= foxnews.com\/metadata\/prism.channel  fbn \/category \n       category domain= foxnews.com\/section-path  fox-business\/economy \/category \n       category domain= foxnews.com\/content-",
        "pubDate": "Wed, 25 Jan 2023 19:33:59 GMT",
        "source": "foxnews",
        "category": "Economy"
    },
    {
        "title": "Making America's semitrucks",
        "link": "https:\/\/www.cnbc.com\/2023\/01\/25\/making-americas-semitrucks.html",
        "image": "https:\/\/image.cnbcfm.com\/api\/v1\/image\/107089470-1657898522954-GettyImages-1241915284.jpg",
        "pubDate": "Wed, 25 Jan 2023 19:32:38 GMT",
        "source": "cnbc",
        "category": "Economy"
    },
    {
        "title": "Western tanks are 'iron fist' to break Russian lines, says Ukraine's defense minister",
        "link": "https:\/\/www.cnn.com\/videos\/tv\/2023\/01\/25\/amanpour-ukrainian-defense-minister-reznikov-tank-announcement-corruption.cnn",
        "image": "https:\/\/cdn.cnn.com\/cnnnext\/dam\/assets\/230125185325-amanpour-reznikov-2-super-169.jpg",
        "pubDate": "Wed, 25 Jan 2023 18:55:09 GMT",
        "source": "cnn",
        "category": "Video"
    },
    {
        "title": "Hollywood Minute: 'Elvis' back in theaters",
        "link": "https:\/\/www.cnn.com\/videos\/entertainment\/2023\/01\/25\/hollywood-minute-movies-music-elvis-theaters-easterseals-nickelback.cnn",
        "image": "https:\/\/cdn.cnn.com\/cnnnext\/dam\/assets\/230125110657-hollywood-minute-movies-music-elvis-theaters-easterseals-nickelback-00000000-super-169.png",
        "pubDate": "Wed, 25 Jan 2023 19:08:59 GMT",
        "source": "cnn",
        "category": "Video"
    },
    {
        "title": "Scientists test nuclear fusion",
        "link": "https:\/\/www.cnn.com\/videos\/world\/2023\/01\/25\/fastint-nuclear-fusion-vause-marsh-aired-121422.cnn",
        "image": "https:\/\/cdn.cnn.com\/cnnnext\/dam\/assets\/230125135824-fastint-nuclear-fusion-vause-marsh-aired-121422-00003114-super-169.png",
        "pubDate": "Wed, 25 Jan 2023 19:16:41 GMT",
        "source": "cnn",
        "category": "Video"
    },
    {
        "title": "Retired general lays out what to expect after tanks are sent to Ukraine",
        "link": "https:\/\/www.cnn.com\/videos\/world\/2023\/01\/25\/us-sending-tanks-ukraine-abrams-hertling-ip-vpx.cnn",
        "image": "https:\/\/cdn.cnn.com\/cnnnext\/dam\/assets\/230125131513-hertling-super-169.jpg",
        "pubDate": "Wed, 25 Jan 2023 19:19:58 GMT",
        "source": "cnn",
        "category": "Video"
    },
    {
        "title": "'Teen Wolf: The Movie' pounces onto Paramount+",
        "link": "https:\/\/www.cnn.com\/videos\/entertainment\/2023\/01\/25\/hollywood-movies-paramount-streaming-teen-wolf-the-movie.cnn",
        "image": "https:\/\/cdn.cnn.com\/cnnnext\/dam\/assets\/230125111025-hollywood-movies-paramount-streaming-teen-wolf-the-movie-00001629-super-169.png",
        "pubDate": "Wed, 25 Jan 2023 19:23:24 GMT",
        "source": "cnn",
        "category": "Video"
    },
    {
        "title": "Anna Faris makes career moves after two year break from acting",
        "link": "https:\/\/www.dailymail.co.uk\/tvshowbiz\/article-11676575\/Anna-Faris-makes-career-moves-two-year-break-acting.html",
        "image": "https:\/\/i.dailymail.co.uk\/1s\/2023\/01\/25\/18\/66967901-0-image-m-6_1674672548910.jpg",
        "pubDate": "Wed, 25 Jan 2023 19:45:53 GMT",
        "source": "dailymail",
        "category": "Entertainment"
    },
    {
        "title": "Octomom's 8 kids turn 14! Exclusive look at Nadya Sulem...
                                                                                                                                                                                                                    
                                                                                                    

Get one hundred news - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/1108/the+latest+news+api/970/get+one+hundred+news' --header 'Authorization: Bearer YOUR_API_KEY' 

    

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 The latest news 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
  • Dedicated account manager
  • Service-level agreement (SLA)

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

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. 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 with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected β€” plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

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.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
693ms

Category:


Tags: