Trending Videos on Youtube API

Trending Videos on Youtube API

This API will allow developers to retrieve a list of videos that are currently trending on YouTube. This list is updated on a daily basis, and it includes videos from various categories from several countries.

API description

About the API:

The "Trending Videos on Youtube API" allows developers to retrieve a list of videos that are currently trending on YouTube. This list is updated on a daily basis, and it includes videos from various categories, such as music, sports, gaming, and more.

Using the API, developers can retrieve a variety of information about trending videos, such as their titles, descriptions, thumbnails, and other metadata.

You can use the optional parameters to filter by country and by category. 

What your API receives and what your API provides (input/output)?

It may receive a parameter and provide you with a JSON.

What are the most common uses cases of this API?

This information can be used to build applications that display trending videos to users or to analyze trends on YouTube.

For example, a developer could use the API to create a website that displays the current trending videos on YouTube. The website could include a list of trending videos, along with their titles, descriptions, and thumbnails. Users could browse the list to discover new and popular videos on YouTube.

Alternatively, a developer could use the API to analyze trends on YouTube. For example, they could use the API to retrieve a list of trending videos over a period of time, and then use this data to identify patterns or trends in the types of videos that are popular on YouTube.

Overall, the "Trending Videos on Youtube API" is a powerful tool for developers who want to build applications that interact with YouTube and its vast library of videos. Whether you are looking to display trending videos to users, or to analyze trends on YouTube, the API provides a wealth of information and functionality.

Are there any limitations to your plans?

  • 5 per day.

  • Basic Plan: 5,000 API Calls.

  • Pro Plan: 30,000 API Calls.

  • Pro Plus Plan: 100,000 API Calls.

  • Elite Plan: 300,000 API Calls.

API Documentation

Endpoints


The "Obtain Trending Videos" Endpoint is a part of the "Trending Videos on Youtube API" that allows developers to retrieve a list of videos that are currently trending on YouTube. By making a GET request to this endpoint, developers can retrieve information about the trending videos, such as their titles, descriptions, thumbnails, and other metadata.

You can use the optional parameters to filter by “country” for example US, DE, UK, etc. or, the “type” to filter by a category, for example, gaming, music, movies, or default.



                                                                            
GET https://zylalabs.com/api/881/trending+videos+on+youtube+api/670/obtain+trending+videos
                                                                            
                                                                        

Obtain Trending Videos - Endpoint Features
Object Description
country [Optional] Filter by country. For example US, DE, UK, etc.
type [Optional] Filter by a category, for example, gaming, music, movies, or default.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"title":"I Saved $40 at the Grocery Store Buying Steak.. Let Me Show You How!","description":"","publishedDate":"2023-01-04T18:02:11.677Z","publishedText":"1 month ago","videoId":"fL89gyZJr2w","videoUrl":"https://www.youtube.com/watch?v=fL89gyZJr2w","channelName":"Butcher Wizard","channelId":"UCFCDEaQC9NqzYDTxwTejlDg","channelUrl":"https://youtube.com/@ButcherWizard","thumbnails":[{"quality":"maxres","url":"https://i.ytimg.com/vi/fL89gyZJr2w/maxres.jpg","width":1280,"height":720},{"quality":"maxresdefault","url":"https://i.ytimg.com/vi/fL89gyZJr2w/maxresdefault.jpg","width":1280,"height":720},{"quality":"sddefault","url":"https://i.ytimg.com/vi/fL89gyZJr2w/sddefault.jpg","width":640,"height":480},{"quality":"high","url":"https://i.ytimg.com/vi/fL89gyZJr2w/hqdefault.jpg","width":480,"height":360},{"quality":"medium","url":"https://i.ytimg.com/vi/fL89gyZJr2w/mqdefault.jpg","width":320,"height":180},{"quality":"default","url":"https://i.ytimg.com/vi/fL89gyZJr2w/default.jpg","width":120,"height":90},{"quality":"start","url":"https://i.ytimg.com/vi/fL89gyZJr2w/1.jpg","width":120,"height":90},{"quality":"middle","url":"https://i.ytimg.com/vi/fL89gyZJr2w/2.jpg","width":120,"height":90},{"quality":"end","url":"https://i.ytimg.com/vi/fL89gyZJr2w/3.jpg","width":120,"height":90}],"views":786602,"viewsText":"786.6K","duration":1221,"durationText":"20:21","verified":false,"creatorOnRise":true,"isShort":false},{"title":"This Kitchen Gadget Cooks A Perfect Steak Every time!!","description":"","publishedDate":"2023-01-04T18:02:11.677Z","publishedText":"1 month ago","videoId":"UFM_3KwM20Q","videoUrl":"https://www.youtube.com/watch?v=UFM_3KwM20Q","channelName":"Butcher Wizard","channelId":"UCFCDEaQC9NqzYDTxwTejlDg","channelUrl":"https://youtube.com/@ButcherWizard","thumbnails":[{"quality":"maxres","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/maxres.jpg","width":1280,"height":720},{"quality":"maxresdefault","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/maxresdefault.jpg","width":1280,"height":720},{"quality":"sddefault","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/sddefault.jpg","width":640,"height":480},{"quality":"high","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/hqdefault.jpg","width":480,"height":360},{"quality":"medium","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/mqdefault.jpg","width":320,"height":180},{"quality":"default","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/default.jpg","width":120,"height":90},{"quality":"start","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/1.jpg","width":120,"height":90},{"quality":"middle","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/2.jpg","width":120,"height":90},{"quality":"end","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/3.jpg","width":120,"height":90}],"views":13102,"viewsText":"13.1K","duration":359,"durationText":"5:59","verified":false,"creatorOnRise":true,"isShort":false},{"title":"2 Ways To Properly Vacuum Seal And Freeze Your Extra Steak","description":"","publishedDate":"2023-01-04T18:02:11.677Z","publishedText":"1 month ago","videoId":"DCuDzg8l0LI","videoUrl":"https://www.youtube.com/watch?v=DCuDzg8l0LI","channelName":"Butcher Wizard","channelId":"UCFCDEaQC9NqzYDTxwTejlDg","channelUrl":"https://youtube.com/@ButcherWizard","thumbnails":[{"quality":"maxres","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/maxres.jpg","width":1280,"height":720},{"quality":"maxresdefault","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/maxresdefault.jpg","width":1280,"height":720},{"quality":"sddefault","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/sddefault.jpg","width":640,"height":480},{"quality":"high","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/hqdefault.jpg","width":480,"height":360},{"quality":"medium","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/mqdefault.jpg","width":320,"height":180},{"quality":"default","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/default.jpg","width":120,"height":90},{"quality":"start","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/1.jpg","width":120,"height":90},{"quality":"middle","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/2.jpg","width":120,"height":90},{"quality":"end","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/3.jpg","width":120,"height":90}],"views":25521,"viewsText":"25.5K","duration":304,"durationText":"5:04","verified":false,"creatorOnRise":true,"isShort":false},{"title":"Bills safety Damar Hamlin taken to hospital after Monday Night Football injury","description":"A Bills player was taken off the field in an ambulance during a Monday Night Football matchup with the Cincinnati Bengals.","publishedDate":"2023-01-04T15:39:11.677Z","publishedText":"1 day ago","videoId":"PR715VHT8LE","videoUrl":"https://www.youtube.com/watch?v=PR715VHT8LE","channelName":"WTVR CBS 6","channelId":"UC9ha3sh4YTCSK83dH6OlWTw","channelUrl":"https://youtube.com/@WtvrCBS6","thumbnails":[{"quality":"maxres","url":"https://i.ytimg.com/vi/PR715VHT8LE/maxres.jpg","width":1280,"height":720},{"quality":"maxresdefault","url":"https://i.ytimg.com/vi/PR715VHT8LE/maxresdefault.jpg","width":1280,"height":720},{"quality":"sddefault","url":"https://i.ytimg.com/vi/PR715VHT8LE/sddefault.jpg","width":640,"height":480},{"quality":"high","url":"https://i.ytimg.com/vi/PR715VHT8LE/hqdefault.jpg","width":480,"height":360},{"quality":"medium","url":"https://i.ytimg.com/vi/PR715VHT8LE/mqdefault.jpg","width":320,"height":180},{"quality":"default","url":"https://i.ytimg.com/vi/PR715VHT8LE/default.jpg","width":120,"height":90},{"quality":"start","url":"https://i.ytimg.com/vi/PR715VHT8LE/1.jpg","width":120,"height":90},{"quality":"middle","url":"https://i.ytimg.com/vi/PR715VHT8LE/2.jpg","width":120,"height":90},{"quality":"end","url":"https://i.ytimg.com/vi/PR715VHT8LE/3.jpg","width":120,"height":90}],"views":1072197,"viewsText":"1.1M","duration":78,"durationText":"1:18","verified":true,"creatorOnRise":false,"isShort":false},{"title":"Bills' Damar Hamlin in critical condition after suffering cardiac arrest | NFL | FIRST THINGS FIRST","description":"Last night’s Buffalo Bills-Cincinnati Bengals came to an abrupt halt when Bills safety Damar Hamlin collapsed on the field. Hamlin suffered cardiac arrest and was given CPR on the field to...","publishedDate":"2023-01-04T16:03:11.677Z","publishedText":"20 hours ago","videoId":"Wf1e4kPAwBU","videoUrl":"https://www.youtube.com/watch?v=Wf1e4kPAwBU","channelName":"First Things First","channelId":"UCOTPo2y-NHJjg1EuENrxypA","channelUrl":"https://youtube.com/@FirstThingsFirst","thumbnails":[{"quality":"maxres","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/maxres.jpg","width":1280,"height":720},{"quality":"maxresdefault","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/maxresdefault.jpg","width":1280,"height":720},{"quality":"sddefault","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/sddefault.jpg","width":640,"height":480},{"quality":"high","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/hqdefault.jpg","width":480,"height":360},{"quality":"medium","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/mqdefault.jpg","width":320,"height":180},{"quality":"default","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/default.jpg","width":120,"height":90},{"quality":"start","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/1.jpg","width":120,"height":90},{"quality":"middle","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/2.jpg","width":120,"height":90},{"quality":"end","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/3.jpg","width":120,"height":90}],"views":413752,"viewsText":"413.8K","duration":690,"durationText":"11:30","verified":true,"creatorOnRise":false,"isShort":false},{"title":"IM INVISIBLE?? | BAILEY SPINN #shorts #comedy #skit","description":"","publishedDate":"2023-01-04T16:03:11.677Z","publishedText":"20 hours ago","videoId":"orQvswVTSRQ","videoUrl":"https://www.youtube.com/watch?v=orQvswVTSRQ","channelName":"Bailey Spinn","channelId":"UC9MAhLcXqWZo2CKlFjLpDEA","channelUrl":"https://youtube.com/@baileyspinn","thumbnails":[{"quality":"maxres","url":"https://i.ytimg.com/vi/orQvswVTSRQ/maxres.jpg","width":1280,"height":720},{"quality":"maxresdefault","url":"https://i.ytimg.com/vi/orQvswVTSRQ/maxresdefault.jpg","width":1280,"height":720},{"quality":"sddefault","url":"https://i.ytimg.com/vi/orQvswVTSRQ/sddefault.jpg","width":640,"height":480},{"quality":"high","url":"https://i.ytimg.com/vi/orQvswVTSRQ/hqdefault.jpg","width":480,"height":360},{"quality":"medium","url":"https://i.ytimg.com/vi/orQvswVTSRQ/mqdefault.jpg","width":320,"height":180},{"quality":"default","url":"https://i.ytimg.com/vi/orQvswVTSRQ/default.jpg","width":120,"height":90},{"quality":"start","url":"https://i.ytimg.com/vi/orQvswVTSRQ/1.jpg","width":120,"height":90},{"quality":"middle","url":"https://i.ytimg.com/vi/orQvswVTSRQ/2.jpg","width":120,"height":90},{"quality":"end","url":"https://i.ytimg.com/vi/orQvswVTSRQ/3.jpg","width":120,"height":90}],"views":1722114,"viewsText":"1.7M","duration":53,"durationText":"0:53","verified":true,"creatorOnRise":true,"isShort":true},{"title":"THE WORST ROOMMATE EVER...","description":"","publishedDate":"2023-01-04T15:39:11.677Z","publishedText":"1 day ago","videoId":"ydRKUdHyPxA","videoUrl":"https://www.youtube.com/watch?v=ydRKUdHyPxA","channelName":"Zachary Ryan","channelId":"UCRJ-wKLkf96N4fl4w-1LZQw","channelUrl":"https://youtube.com/@ZacharyRyan","thumbnails":[{"quality":"maxres","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/maxres.jpg","width":1280,"height":720},{"quality":"maxresdefault","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/maxresdefault.jpg","width":1280,"height":720},{"quality":"sddefault","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/sddefault.jpg","width":640,"height":480},{"quality":"high","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/hqdefault.jpg","width":480,"height":360},{"quality":"medium","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/mqdefault.jpg","width":320,"height":180},{"quality":"default","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/default.jpg","width":120,"height":90},{"quality":"start","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/1.jpg","width":120,"height":90},{"quality":"middle","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/2.jpg","width":120,"height":90},{"quality":"end","url":"https://...
                                                                                                                                                                                                                    
                                                                                                    

Obtain Trending Videos - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/881/trending+videos+on+youtube+api/670/obtain+trending+videos' --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 Trending Videos on Youtube 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
698ms

Category:


Tags:


Related APIs