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.
It may receive a parameter and provide you with a JSON.
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.
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.
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.
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. |
[{"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://...
curl --location --request GET 'https://zylalabs.com/api/881/trending+videos+on+youtube+api/670/obtain+trending+videos' --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.
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]
To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.
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 trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.
Service Level:
100%
Response Time:
1,466ms
Service Level:
100%
Response Time:
3,313ms
Service Level:
100%
Response Time:
480ms
Service Level:
100%
Response Time:
6,880ms
Service Level:
100%
Response Time:
3,139ms
Service Level:
100%
Response Time:
2,560ms
Service Level:
100%
Response Time:
1,209ms
Service Level:
100%
Response Time:
1,311ms
Service Level:
100%
Response Time:
1,731ms
Service Level:
100%
Response Time:
1,103ms
Service Level:
100%
Response Time:
921ms
Service Level:
100%
Response Time:
1,873ms
Service Level:
100%
Response Time:
1,223ms
Service Level:
100%
Response Time:
3,100ms
Service Level:
100%
Response Time:
2,399ms
Service Level:
100%
Response Time:
409ms
Service Level:
100%
Response Time:
3,679ms