Trending YouTube Videos, in JSON via REST 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.
[{"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"}]},{"_note":"Response truncated for documentation purposes"}]
curl --location --request GET 'https://zylalabs.com/api/881/trending+videos+on+youtube+api/670/obtain+trending+videos?country=US&type=shorts' --header 'Authorization: Bearer YOUR_API_KEY'
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 simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
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 returns a JSON array containing details about trending YouTube videos, including titles, descriptions, published dates, video IDs, URLs, channel names, and thumbnails.
Key fields in the response include "title," "description," "publishedDate," "videoId," "videoUrl," "channelName," "channelId," and "thumbnails," which provide essential information about each trending video.
Users can customize their requests using parameters such as "country" (e.g., US, DE, UK) to filter by region and "type" to filter by category (e.g., gaming, music, movies).
The response data is organized as a JSON array of objects, where each object represents a trending video with structured fields for easy access to video details and metadata.
The data is sourced directly from YouTube's trending video listings, ensuring that the information reflects the most current trends and popular content on the platform.
Typical use cases include building applications that display trending videos, creating analytics tools to study video trends over time, or integrating trending content into websites and mobile apps for user engagement.
Users can utilize the returned data by displaying video titles and thumbnails in their applications, linking to video URLs for direct access, and analyzing trends based on published dates and categories.
Data accuracy is maintained through regular updates from YouTube's API, which ensures that the trending video information reflects real-time changes in viewer engagement and popularity.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund