Youtube Data API

Get Videos details, playlist data, channel information, and get suggested videos with simple queries.

 

 

About the API:

The Youtube Data API provides more complete and scalable access to YouTube's data than standalone YouTube embed codes. The Youtube Data API allows you to obtain complete playlists, user uploads, and even search results. You may also integrate YouTube functionality into your website or app, allowing users to post videos and manage channel subscriptions directly from the site or app.

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

Passing the video ID, channel ID, or playlist ID you will be able to retrieve all its content and details as well. 

 

What are the most common uses cases of this API?

You may use this API to add a variety of YouTube features to your websites, such as embedding videos, curated playlists, and more. It enables organizations to provide comprehensive video sharing services on their website or app without having to create programming from the ground up.

The YouTube API, like other APIs (or Application Programming Interfaces), makes a programmer's job easier by avoiding the tedious task of creating every single line of code every time a user requests data. Instead, programmers may curate YouTube videos on a website using specified functions and protocols.

 

Are there any limitations with your plans?

The only limitation is the number of API calls you can make per month.

Documentación de la API

Endpoints


Receive a list of related videos. 

Pass a video ID and you will get a list of videos that are most similar to it. 

 



                                                                            
GET https://zylalabs.com/api/14/youtube+data+api/56/similar+videos
                                                                            
                                                                        

Similar Videos - Características del Endpoint

Objeto Descripción
relatedToVideoId [Requerido]
part [Requerido]
type [Requerido]
maxResults Opcional
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"kind":"youtube#searchListResponse","nextPageToken":"CDIQAA","pageInfo":{"totalResults":108,"resultsPerPage":50},"items":[{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"mj0XInqZMHY"},"snippet":{"publishedAt":"2019-06-27T14:44:32Z","channelId":"UC0C-w0YjGpqDXGB8IHb662A","title":"Ed Sheeran - Beautiful People (feat. Khalid) [Official Music Video]","description":"The official music video for Ed Sheeran - Beautiful People (feat. @khalid)\nSubtract, the new album, out 05.05.2023. Pre-order: https://es.lnk.to/subtract\n \nTaken from No.6 Collaborations Project released in 2019, which featured the hit singles 'I Don't Care', 'Cross Me', 'Beautiful People', 'Blow', 'Best Part of Me', 'Antisocial', 'South of the Border' &'Take Me Back To London'. \n \nSubscribe to the Ed Sheeran channel for all the best and latest official music videos, behind the scenes and live performances.  \nhttp://bit.ly/SubscribeToEdSheeran \n \nSee more official videos from Ed Sheeran here: \nhttps://www.youtube.com/watch?v=ryJgDL9jzKk&list=PLjp0AEEJ0-fGKG_3skl0e1FQlJfnx-TJz \n\nListen to more from the No. 6 Collaborations Project here : \nhttps://www.youtube.com/playlist?list=PLjp0AEEJ0-fHZDWhxhKo0wG08bMUcRy3l\n \nFollow Ed Sheeran on: \nInstagram: http://instagram.com/teddysphotos\nTikTok: https://www.tiktok.com/@edsheeran\nFacebook: http://www.facebook.com/EdSheeranMusic\nTwitter: http://twitter.com/edsheeran\nDiscord: http://discord.gg/edsheeran\nOfficial Website: http://edsheeran.com \n\nAbout Ed Sheeran: \nEd Sheeran may be the quintessential pop star of the 2010s: an internationally acclaimed, multi-award winning singer/songwriter who seems to acknowledge no boundaries between styles or eras with elements of folk, hip-hop, pop, dance, soul, and rock woven throughout his music. \n\nHis incredible catalogue includes the studio albums ‘+’ (plus), ‘x’ (multiply) and ‘÷’ (divide) which spawned hit singles such as ‘The A team’ , ’Lego House’, ‘Sing', ‘Thinking Out Loud’, ‘Photograph’, ‘Shape Of You’, ‘Castle on The Hill’ and ‘Perfect’. \n \nIn 2019, Ed Sheeran released the genre-spanning ‘No.6 Collaborations Project’ which featured a wide-range of artists including ‘Justin Bieber’, ‘Camilla’ Cabello’, ‘Travis Scott’, ‘Eminem’, ‘Cardi B, ‘Paulo Londra’, ‘Bruno Mars’ and ‘Stormzy’ amongst many others, producing hits such as ‘I Don’t Care’, ‘Beautiful People’, ‘South of The Border’ and ‘Take Me Back To London’. \n \n#EdSheeran #Khalid #BeautifulPeople","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/mj0XInqZMHY/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/mj0XInqZMHY/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/mj0XInqZMHY/hqdefault.jpg","width":480,"height":360},"standard":{"url":"https://i.ytimg.com/vi/mj0XInqZMHY/sddefault.jpg","width":640,"height":480}},"channelTitle":"Ed Sheeran","liveBroadcastContent":"none","publishTime":"2019-06-27T14:44:32Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"uGCZJvA76LE"},"snippet":{"publishedAt":"2011-02-13T03:51:19Z","channelId":"UClREceMWYqSZ8YuQBV625mw","title":"Just A Feeling - Maroon 5 - (Lyrics)","description":"Maroon 5 - Just A Feeling - (Lyrics)\r\n\r\n***I OWN NOTHING.  NO COPYRIGHT INFRINGEMENT INTENDED.***","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/uGCZJvA76LE/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/uGCZJvA76LE/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/uGCZJvA76LE/hqdefault.jpg","width":480,"height":360},"standard":{"url":"https://i.ytimg.com/vi/uGCZJvA76LE/sddefault.jpg","width":640,"height":480},"maxres":{"url":"https://i.ytimg.com/vi/uGCZJvA76LE/maxresdefault.jpg","width":1280,"height":720}},"channelTitle":"aprilaries2011","liveBroadcastContent":"none","publishTime":"2011-02-13T03:51:19Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"Mgfe5tIwOj0"},"snippet":{"publishedAt":"2018-01-12T09:28:15Z","channelId":"UC-J-KZfRV8c13fOCkhXdLiQ","title":"Dua Lipa - IDGAF (Official Music Video)","description":"The official music video for Dua Lipa - IDGAF\n\nTaken from her self-titled debut studio album released in 2017, which featured the hit singles 'Be The One', 'IDGAF', 'Hotter Than Hell' & 'New Rules'\n\nSubscribe to the Dua Lipa channel for all the best and latest official music videos, behind the scenes and live performances. \nhttps://www.youtube.com/channel/UC-J-KZfRV8c13fOCkhXdLiQ?sub_confirmation=1\n\nSee more official videos from Dua Lipa here:\nhttps://www.youtube.com/playlist?list=PLNrotoZZ8BaoXT_LJuwEyESQlctWNDCwD\n\nListen to more from the album 'Dua Lipa' :\nhttps://www.youtube.com/playlist?list=OLAK5uy_lMtkOc6m2IXAsWWmUc1UvhMh3gvNIqrEI\n\nFollow Dua Lipa:\nInstagram:  https://dualipa.co/instagram\nFacebook: http://dualipa.co/facebook\nTikTok: https://www.tiktok.com/@dualipaofficial\nTwitter: http://dualipa.co/twitter\nYouTube: https://dualipa.co/youtube\n\nVideo Credits:\nArtistic direction: Henry Scholfield & Mosaert (Paul Van Haver aka Stromae and Luc Junior Tam)\nDirector: Henry Scholfield\n\nLyrics:\nYou call me, all friendly, tellin’ me how much you miss me\nThat’s funny, I guess you’ve heard my songs, well\nI’m too busy for your business, go find a girl who wants to listen\nCause if you think I was born yesterday, you have got me wrong\n \nSo I cut you off, I don’t need your love\nCause I already cried enough, I been done\nI’ve been movin’ on, since we said goodbye\nI cut you off, I don’t need your love, so you can try all you want\nYour time is up, I’ll tell you why\n \nYou say you’re sorry, but it’s too late now\nSo save it, get gone, shut up\nCause if you think I care about you now \nBoy I don’t give a fuck\n \nI remember that weekend, when my best friend caught you creepin’\nYou blamed it all on the alcohol\nSo, I made my decision, cause you made your bed sleep in it\nPlay the victim and switch your position, I’m through, I’m done\n \nSo I cut you off, I don’t need your love\nCause I already cried enough, I been done\nI’ve been movin’ on, since we said goodbye\nI cut you off, I don’t need your love, so you can try all you want\nYour time is up, I’ll tell you why\n\nYou say you’re sorry, but it’s too late now\nSo save it, get gone, shut up\nCause if you think I care about you now \nBoy I don’t give a fuck\n \nI see you tryna get to me\nI see you begging on your knees\nBoy I don’t give a fuck \nSo stop tryna get to me\nGet up off your knees\nBoy I don’t give a fuck\n \nAbout you, no I don’t give a damn\nYou keep reminiscin’ on when you were my man\nBut I’m over you, now you’re all in the past\nYou talk all that sweet talk but I ain’t comin’ back\n \nCut you off, I don’t need your love, so you can try all you want\nYour time is up, I’ll tell you why, I’ll tell you why\n \nYou say you’re sorry, but it’s too late now\nSo save it, get gone, shut up\nCause if you think I care about you now \nWell boy I don’t give a fuck\n \nI see you tryna get to me\nI see you begging on your knees\nBoy I don’t give a fuck\nSo stop tryna get to me, get up off your knees\nBoy I don't give a fuck\n\nAbout Dua Lipa:\nBorn and raised in London to Kosovar-Albanian parents Dua Lipa signed to Warner Records in 2015, releasing her self titled debut in 2017 which featured the hit singles, 'Be The One', 'IDGAF', 'Hotter Than Hell' & her first UK #1 hit 'New Rules'. \n\nCritical success soon followed as Dua Lipa picked up Brit Awards for 'Best Female Solo Artist' and 'Best British Breakthrough Act' as well as Grammy Awards for 'Best New Artist' and 'Best Dance Recording' for the track 'Electricity' in collaboration with Silk City.\n\nHer second internationally acclaimed studio album 'Future Nostalgia' was released in 2020 and included the hit singles 'Don't Start Now, 'Break My Heart', 'Hallucinate' and 'Levitating', with the remix album 'Club Future Nostalgia' following shortly after featuring guest appearances from 'Blackpink', 'Missy Elliott', 'Madonna' and 'Gwen Stefani'. \n\n#DuaLipa #IDGAF #DL1","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/Mgfe5tIwOj0/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/Mgfe5tIwOj0/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/Mgfe5tIwOj0/hqdefault.jpg","width":480,"height":360},"standard":{"url":"https://i.ytimg.com/vi/Mgfe5tIwOj0/sddefault.jpg","width":640,"height":480}},"channelTitle":"Dua Lipa","liveBroadcastContent":"none","publishTime":"2018-01-12T09:28:15Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"m-M1AtrxztU"},"snippet":{"publishedAt":"2013-12-04T18:16:25Z","channelId":"UCvhQPdeTHzIRneScV8MIocg","title":"Clean Bandit - Rather Be ft. Jess Glynne [Official Video]","description":"Download or stream our new single Tick Tock with Mabel ft. 24kGoldn: https://cleanbandit.lnk.to/TickTock\n\nDownload or stream our new album \"What Is Love?\" - out now: http://atlanti.cr/WhatIsLove\n\nClick here to subscribe: http://bit.ly/SubscribeToCleanBandit\n\nFollow us:\nWebsite: http://cleanbandit.co.uk/\nFacebook: http://www.facebook.com/cleanbandit \nTwitter: http://www.twitter.com/cleanbandit \nInstagram: http://instagram.com/cleanbandit\nSoundcloud: http://www.soundcloud.com/cleanbandit\nSpotify: http://www.atlre.co.uk/CleanBanditSpo...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/m-M1AtrxztU/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/m-M1AtrxztU/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/m-M1AtrxztU/hqdefault.jpg","width":480,"height":360},"standard":{"url":"https://i.ytimg.com/vi/m-M1AtrxztU/sddefault.jpg","width":640,"height":480},"maxres":{"url":"https://i.ytimg.com/vi/m-M1AtrxztU/maxresdef...
                                                                                                                                                                                                                    
                                                                                                    

Similar Videos - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/14/youtube+data+api/56/similar+videos?relatedToVideoId=7ghhRHRP6t4&part=id,snippet&type=video&maxResults=50' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Get a list of the latest comments about the video you want. 

You will get the date it was created, how many likes it got, the user that made it, and the text of the comment as well. 

 

 



                                                                            
GET https://zylalabs.com/api/14/youtube+data+api/61/video+comments
                                                                            
                                                                        

Video Comments - Características del Endpoint

Objeto Descripción
part [Requerido]
videoId [Requerido] The ID of the video you want to get the comments from.
maxResults [Requerido] The number of comments you want to retrieve. Max 100
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"kind":"youtube#commentThreadListResponse","nextPageToken":"QURTSl9pMkhQOVNLWTljLVpYd1NYS3RBYy1QdnB3UGo1UGZYdnBJRWFQM29CdjVuTmR3OFJWVndpQTVnM05XdGZqSnZDd2RFa0F5eVJ3MA==","pageInfo":{"totalResults":100,"resultsPerPage":100},"items":[{"kind":"youtube#commentThread","id":"UgxQy6RKclgJw3dI6YZ4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","topLevelComment":{"kind":"youtube#comment","id":"UgxQy6RKclgJw3dI6YZ4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","textDisplay":"Bruh went from Mike Ross to Elliot Stabler....❤M5","textOriginal":"Bruh went from Mike Ross to Elliot Stabler....❤M5","authorDisplayName":"Wesley Carver","authorProfileImageUrl":"https://yt3.ggpht.com/_mAcS2WmnGtnBK45aLz8gyMo9epmboYu49mMbtzwZtZ8XeFAJgSEVrfNM1U3xQatUnIv0KX6=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/channel/UCcZz-WO74vykmDI8HOg5ENw","authorChannelId":{"value":"UCcZz-WO74vykmDI8HOg5ENw"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2023-06-06T07:11:42Z","updatedAt":"2023-06-06T07:11:42Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","id":"Ugx-b8901tYQ234db0h4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","topLevelComment":{"kind":"youtube#comment","id":"Ugx-b8901tYQ234db0h4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","textDisplay":"Vuestro tema me ha recordado a cierto momento de mi vida en el que alguien me escribió una carta de Amor con una letra que contaba, que yo era su Universo, su otra mitad, y su todo. Al final esas palabras y confesiones que me hizo, se quedaron en ese papel, y no llegamos posterior, a estar realmente juntos. Lo que no se demuestra con hechos, al final te muestra la verdad por mucho que te escriban o digan. Y más verdad tienes delante de su falta de amor hacía tí, si para tu sorpresa, luego te muestran cierto odio, te intentan engañar o incluso faltar al respeto. Yo, Gracias a Dios, estoy libre de eso y no sé odiar, lo cual me alegro. Deducción: Tu otra mitad es más o menos como tú... Es lo que me extrañó que pensé en un principio que era El... El odio que puso en mi y demás cosas no buenas... O se pasó al otro lado, o realmente no era el. Siempre pienso que fue lo primero... No sé bien.","textOriginal":"Vuestro tema me ha recordado a cierto momento de mi vida en el que alguien me escribió una carta de Amor con una letra que contaba, que yo era su Universo, su otra mitad, y su todo. Al final esas palabras y confesiones que me hizo, se quedaron en ese papel, y no llegamos posterior, a estar realmente juntos. Lo que no se demuestra con hechos, al final te muestra la verdad por mucho que te escriban o digan. Y más verdad tienes delante de su falta de amor hacía tí, si para tu sorpresa, luego te muestran cierto odio, te intentan engañar o incluso faltar al respeto. Yo, Gracias a Dios, estoy libre de eso y no sé odiar, lo cual me alegro. Deducción: Tu otra mitad es más o menos como tú... Es lo que me extrañó que pensé en un principio que era El... El odio que puso en mi y demás cosas no buenas... O se pasó al otro lado, o realmente no era el. Siempre pienso que fue lo primero... No sé bien.","authorDisplayName":"Anita Cosmical","authorProfileImageUrl":"https://yt3.ggpht.com/nzhVpcmo-Hkuf4DvUIcrsmHwPPcVU_yEoApHJUMh2Dkbm4XEluoVS_MjbeEzuV5xED8ELMmD=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/channel/UCrH4H4775EBD_zz_r0ygMqw","authorChannelId":{"value":"UCrH4H4775EBD_zz_r0ygMqw"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2023-06-05T01:26:59Z","updatedAt":"2023-06-05T01:30:13Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","id":"Ugymnsqpp3D9yM9U2rp4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","topLevelComment":{"kind":"youtube#comment","id":"Ugymnsqpp3D9yM9U2rp4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","textDisplay":"This is my favorite Maroon 5 song.","textOriginal":"This is my favorite Maroon 5 song.","authorDisplayName":"Annie Bwalya","authorProfileImageUrl":"https://yt3.ggpht.com/ytc/AGIKgqNF9iHQT_tpEExtlBVZigN1yusCix1TwDTvUja0NvRy6001esWFU5MAzZjPgANO=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/channel/UC93KMTzXu1MZgMXej-hgb7w","authorChannelId":{"value":"UC93KMTzXu1MZgMXej-hgb7w"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2023-06-03T20:55:16Z","updatedAt":"2023-06-03T20:55:16Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","id":"UgzSiG9YyxDDNucgcZ14AaABAg","snippet":{"videoId":"7ghhRHRP6t4","topLevelComment":{"kind":"youtube#comment","id":"UgzSiG9YyxDDNucgcZ14AaABAg","snippet":{"videoId":"7ghhRHRP6t4","textDisplay":"Top, o máximo, incrível, fantástico 👏👏👏🥰🇧🇷🇧🇷🇧🇷","textOriginal":"Top, o máximo, incrível, fantástico 👏👏👏🥰🇧🇷🇧🇷🇧🇷","authorDisplayName":"Eraldo Novais","authorProfileImageUrl":"https://yt3.ggpht.com/ytc/AGIKgqNJCqXZmC0IE2hGtIMUcaeDB5-FFzp2o4TfoA=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/channel/UCfDEDcijLbWDo-BeYkB_TeA","authorChannelId":{"value":"UCfDEDcijLbWDo-BeYkB_TeA"},"canRate":true,"viewerRating":"none","likeCount":1,"publishedAt":"2023-06-03T18:04:36Z","updatedAt":"2023-06-03T18:04:36Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","id":"UgyxzW6VJCdAnBGopHl4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","topLevelComment":{"kind":"youtube#comment","id":"UgyxzW6VJCdAnBGopHl4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","textDisplay":"The day this video was released was the day my daughter was born. I’ll never forget it. Now we sing to it! This song and “Clover Cage - Colorblind With A Beautiful Mind” are the two songs that helped get rid of my depression. I just want to send love to everyone and I want everyone to know things will get better. We are in this together..I love you 💕❤","textOriginal":"The day this video was released was the day my daughter was born. I’ll never forget it. Now we sing to it! This song and “Clover Cage - Colorblind With A Beautiful Mind” are the two songs that helped get rid of my depression. I just want to send love to everyone and I want everyone to know things will get better. We are in this together..I love you 💕❤","authorDisplayName":"Wiz Khalifa","authorProfileImageUrl":"https://yt3.ggpht.com/ytc/AGIKgqNZJUlP79D2CFXJPWsS1h_USrVLNU9oLrrtqFZKmA=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/channel/UC-w0ezfWHJPuL-mQjsTqmrQ","authorChannelId":{"value":"UC-w0ezfWHJPuL-mQjsTqmrQ"},"canRate":true,"viewerRating":"none","likeCount":1,"publishedAt":"2023-06-03T17:31:56Z","updatedAt":"2023-06-03T17:31:56Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","id":"UgxfqYwdvhZ1B4mZzgp4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","topLevelComment":{"kind":"youtube#comment","id":"UgxfqYwdvhZ1B4mZzgp4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","textDisplay":"Is this song about weed","textOriginal":"Is this song about weed","authorDisplayName":"Gavis Matthews","authorProfileImageUrl":"https://yt3.ggpht.com/ytc/AGIKgqMEk0RkQnGybVJYjXUd2LOoKuA_DAVJYwZ3Kxl5Zg=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/channel/UCdEy9TiDCv9rOn32G7m2bWw","authorChannelId":{"value":"UCdEy9TiDCv9rOn32G7m2bWw"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2023-06-03T16:00:08Z","updatedAt":"2023-06-03T16:00:08Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","id":"UgyLSmOqD_KdNJHfgrR4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","topLevelComment":{"kind":"youtube#comment","id":"UgyLSmOqD_KdNJHfgrR4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","textDisplay":"I forgot this song existed<br>I heard it in davids bridal and now I&#39;m obsessed again","textOriginal":"I forgot this song existed\nI heard it in davids bridal and now I'm obsessed again","authorDisplayName":"xxmop123xx","authorProfileImageUrl":"https://yt3.ggpht.com/ytc/AGIKgqM2QVn7_NCNajIa0goKYXukM5p55jOfkDokag=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/channel/UCs1JLYV9sSKzssl7j2p59rw","authorChannelId":{"value":"UCs1JLYV9sSKzssl7j2p59rw"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2023-06-02T18:31:30Z","updatedAt":"2023-06-02T18:31:30Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","id":"Ugwjcvn2OvJvyyKPZgV4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","topLevelComment":{"kind":"youtube#comment","id":"Ugwjcvn2OvJvyyKPZgV4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","textDisplay":"Maroon 5 still the legend for me ❤","textOriginal":"Maroon 5 still the legend for me ❤","authorDisplayName":"Ly Haksreng","authorProfileImageUrl":"https://yt3.ggpht.com/ytc/AGIKgqPUVo1UJuUSbjZW4voJsBHti8TqgqCBdQCJcYesK22jZpZGkOBmaABPLrEk8sI9=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/channel/UCLaLm90bSmJPqNvpMgOlioA","authorChannelId":{"value":"UCLaLm90bSmJPqNvpMgOlioA"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2023-06-02T16:38:01Z","updatedAt":"2023-06-02T16:38:01Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","id":"UgwLJfRdWj2GwuT-5jF4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","topLevelComment":{"kind":"youtube#comment","id":"UgwLJfRdWj2GwuT-5jF4AaABAg","snippet":{"videoId":"7ghhRHRP6t4","textDisplay":"Almost mistook him for a similar looking guy who is also a doctor, astronaut, fireman, plumber, and teacher","textOriginal":"Almost mistook him for a similar looking guy who is also a doctor, astronaut, fireman, plumber, and teacher","authorDisplayName":"firestarter7100","authorProfileImageUrl":"https://yt3.ggpht.com/r4_kYJnRkfnZsztyVkx4Zf1aCmniG9Opuyi6WEMWDw-AC-7T_76WBBDHJtWc5SCcc9PrpqTI=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/channel/UC82sUqT1_CuC1zQzX_U7uMQ","authorChannelId":{"value":"UC...
                                                                                                                                                                                                                    
                                                                                                    

Video Comments - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/14/youtube+data+api/61/video+comments?part=snippet&videoId=7ghhRHRP6t4&maxResults=100' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Get the details of any video you want. 

 Get information like the title of the video, description, publish date, number of views, comments and likes, and more...

 

 



                                                                            
GET https://zylalabs.com/api/14/youtube+data+api/62/video+details
                                                                            
                                                                        

Video Details - Características del Endpoint

Objeto Descripción
id [Requerido] The ID of the video you want to get the details from.
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"kind":"youtube#videoListResponse","items":[{"kind":"youtube#video","id":"7ghhRHRP6t4","snippet":{"publishedAt":"2020-07-24T04:00:10Z","channelId":"UCN1hnUccO4FD5WfM7ithXaw","title":"Maroon 5 - Nobody's Love (Official Music Video)","description":"“Nobody’s Love” is out now: https://smarturl.it/NobodysLove \n\nFor more, visit: \nInstagram: https://www.instagram.com/maroon5 \nFacebook: https://www.facebook.com/maroon5 \nTwitter: https://twitter.com/maroon5 \nSign up for updates: http://smarturl.it/Maroon5.News \n\n// \n\nLYRICS \n\nYou could make a grown man cry\nIf you ever said goodbye\nNever let you go oh-woah oh-I\nNever let you go oh-woah oh-I\nYou could make a grown man cry\nIf you ever left my side\nNever let you go oh-woah oh-I\nNever let you go oh-woah oh-I\n\nYou’re the only hand in my back pocket\nIf you ever left I’d go psychotic\nHeaven hear me cryin cryin oh oh\nBaby you’re the key to my heart locket\nIf you ever left never unlock it\nLonely like an island, island oh oh\n\nIf my love ain’t your love it’s never gonna be nobody’s love \nNever gonna need nobody’s love, but yours, but yours\nIf my love ain’t your love it’s never gonna be nobody’s love\nNever gonna need nobody’s trust but yours, but yours\n\nYou could make a grown man cry\nIf you ever said goodbye\nNever let you go oh-woah oh-I\nNever let you go oh-woah oh-I\n\nYou could make a grown man cry, if you ever left my side\nNever let you go never let you go\n\nYou’re the only hand in my back pocket\nIf you ever left I’d go psychotic\nHeaven hear me cryin cryin oh oh\nHit me like a drug and I can’t stop it\nFit me like a glove and I cant knock it. \nI aint even lying lying oh oh \n\nIf my love ain’t your love it’s never gonna be nobody’s love \nNever gonna need nobody’s love but yours, but yours\n\nIf my love ain’t your love it’s never gonna be nobody’s love\nNever gonna keep nobody’s trust but yours, but yours\n\nIf my love ain’t your love then it’s nobody’s\nOnly yours only yours not just anybody\nAnd If you ever leave then i’m never gonna want nobody, nobody’s love\nIf my love ain’t your love then it’s nobody’s\nOnly yours only yours not just anybody\nAnd If you ever leave then i’m never gonna want nobody, nobody’s love\n\nNobody’s love! Oh yea \n\nIf my love ain’t your love it’s never gonna be nobody’s love \nNever gonna need nobody’s love but yours, but yours\nIf my love ain’t your love it’s never gonna be nobody’s love \nNever gonna need nobody’s love but yours, but yours\n\nIf my love ain’t your love then it’s nobody’s\nOnly yours only yours not just anybody\nAnd If you ever leave then i’m never gonna want nobody, nobody’s love\nIf my love ain’t your love then it’s nobody’s\nOnly yours only yours not just anybody\nAnd If you ever leave then i’m never gonna want nobody, nobody’s love\n\n#Maroon5 #NobodysLove #M5\n \nMusic video by Maroon 5 performing Nobody's Love. © 2020 Interscope Records","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/7ghhRHRP6t4/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/7ghhRHRP6t4/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/7ghhRHRP6t4/hqdefault.jpg","width":480,"height":360},"standard":{"url":"https://i.ytimg.com/vi/7ghhRHRP6t4/sddefault.jpg","width":640,"height":480},"maxres":{"url":"https://i.ytimg.com/vi/7ghhRHRP6t4/maxresdefault.jpg","width":1280,"height":720}},"channelTitle":"Maroon5VEVO","tags":["Maroon","Nobody's","Love","222","Records/Interscope","Records","Pop","マルーン5","마룬5","魔力紅","魔力红","한글자막","日本語字幕","subtítulos en español","Türkçe Altyazılı","Phụ đề tiếng Việt","Subtitles in Tagalog","Teks dalam Bahasa Indonesia","उपशीर्षक हिंदी में","Sarikata Dalam Bahasa Malaysia","คำบรรยายภาษาไทย"],"categoryId":"10","liveBroadcastContent":"none","localized":{"title":"Maroon 5 - Nobody's Love (Official Music Video)","description":"“Nobody’s Love” is out now: https://smarturl.it/NobodysLove \n\nFor more, visit: \nInstagram: https://www.instagram.com/maroon5 \nFacebook: https://www.facebook.com/maroon5 \nTwitter: https://twitter.com/maroon5 \nSign up for updates: http://smarturl.it/Maroon5.News \n\n// \n\nLYRICS \n\nYou could make a grown man cry\nIf you ever said goodbye\nNever let you go oh-woah oh-I\nNever let you go oh-woah oh-I\nYou could make a grown man cry\nIf you ever left my side\nNever let you go oh-woah oh-I\nNever let you go oh-woah oh-I\n\nYou’re the only hand in my back pocket\nIf you ever left I’d go psychotic\nHeaven hear me cryin cryin oh oh\nBaby you’re the key to my heart locket\nIf you ever left never unlock it\nLonely like an island, island oh oh\n\nIf my love ain’t your love it’s never gonna be nobody’s love \nNever gonna need nobody’s love, but yours, but yours\nIf my love ain’t your love it’s never gonna be nobody’s love\nNever gonna need nobody’s trust but yours, but yours\n\nYou could make a grown man cry\nIf you ever said goodbye\nNever let you go oh-woah oh-I\nNever let you go oh-woah oh-I\n\nYou could make a grown man cry, if you ever left my side\nNever let you go never let you go\n\nYou’re the only hand in my back pocket\nIf you ever left I’d go psychotic\nHeaven hear me cryin cryin oh oh\nHit me like a drug and I can’t stop it\nFit me like a glove and I cant knock it. \nI aint even lying lying oh oh \n\nIf my love ain’t your love it’s never gonna be nobody’s love \nNever gonna need nobody’s love but yours, but yours\n\nIf my love ain’t your love it’s never gonna be nobody’s love\nNever gonna keep nobody’s trust but yours, but yours\n\nIf my love ain’t your love then it’s nobody’s\nOnly yours only yours not just anybody\nAnd If you ever leave then i’m never gonna want nobody, nobody’s love\nIf my love ain’t your love then it’s nobody’s\nOnly yours only yours not just anybody\nAnd If you ever leave then i’m never gonna want nobody, nobody’s love\n\nNobody’s love! Oh yea \n\nIf my love ain’t your love it’s never gonna be nobody’s love \nNever gonna need nobody’s love but yours, but yours\nIf my love ain’t your love it’s never gonna be nobody’s love \nNever gonna need nobody’s love but yours, but yours\n\nIf my love ain’t your love then it’s nobody’s\nOnly yours only yours not just anybody\nAnd If you ever leave then i’m never gonna want nobody, nobody’s love\nIf my love ain’t your love then it’s nobody’s\nOnly yours only yours not just anybody\nAnd If you ever leave then i’m never gonna want nobody, nobody’s love\n\n#Maroon5 #NobodysLove #M5\n \nMusic video by Maroon 5 performing Nobody's Love. © 2020 Interscope Records"}},"contentDetails":{"duration":"PT3M50S","dimension":"2d","definition":"hd","caption":"true","licensedContent":true,"regionRestriction":{"blocked":["IO","KP","SS"]},"contentRating":{},"projection":"rectangular"},"statistics":{"viewCount":"36955895","likeCount":"572993","favoriteCount":"0","commentCount":"18831"}}],"pageInfo":{"totalResults":1,"resultsPerPage":1}}
                                                                                                                                                                                                                    
                                                                                                    

Video Details - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/14/youtube+data+api/62/video+details?id=7ghhRHRP6t4' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Get a list of information about any Channel, looking by channel id. 

Receive info like, channel name, channel description, subscribers count, how many views the channel has and more...

 

 



                                                                            
GET https://zylalabs.com/api/14/youtube+data+api/63/channel+information
                                                                            
                                                                        

Channel information - Características del Endpoint

Objeto Descripción
id [Requerido] The ID of the channel you want to get information from.
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"kind":"youtube#channelListResponse","pageInfo":{"totalResults":1,"resultsPerPage":5},"items":[{"kind":"youtube#channel","id":"UCBVjMGOIkavEAhyqpxJ73Dw","snippet":{"title":"Maroon 5","description":"Welcome to the Maroon 5 official Youtube Channel. Head to our website for more info- www.maroon5.com","customUrl":"@maroon5","publishedAt":"2006-03-09T03:19:51Z","thumbnails":{"default":{"url":"https://yt3.ggpht.com/S_jTelpAHOdADumYkZAtwyLydEkqtv39s3T-Rmif0v1WCDb8pZit-Vlo43pR1jBEn0Tmcpkx=s88-c-k-c0x00ffffff-no-nd-rj","width":88,"height":88},"medium":{"url":"https://yt3.ggpht.com/S_jTelpAHOdADumYkZAtwyLydEkqtv39s3T-Rmif0v1WCDb8pZit-Vlo43pR1jBEn0Tmcpkx=s240-c-k-c0x00ffffff-no-nd-rj","width":240,"height":240},"high":{"url":"https://yt3.ggpht.com/S_jTelpAHOdADumYkZAtwyLydEkqtv39s3T-Rmif0v1WCDb8pZit-Vlo43pR1jBEn0Tmcpkx=s800-c-k-c0x00ffffff-no-nd-rj","width":800,"height":800}},"localized":{"title":"Maroon 5","description":"Welcome to the Maroon 5 official Youtube Channel. Head to our website for more info- www.maroon5.com"}},"contentDetails":{"relatedPlaylists":{"likes":"","uploads":"UUBVjMGOIkavEAhyqpxJ73Dw"}},"statistics":{"viewCount":"22360726029","subscriberCount":"36500000","hiddenSubscriberCount":false,"videoCount":"171"},"brandingSettings":{"channel":{"title":"Maroon 5","description":"Welcome to the Maroon 5 official Youtube Channel. Head to our website for more info- www.maroon5.com","keywords":"\"maroon 5 Adam Levine\" \"James Valentine\" \"Jesse Carmichael\" \"Mickey Madden\" \"Matt Flynn\"","unsubscribedTrailer":"Ntc2XNAGGMQ"},"image":{"bannerExternalUrl":"https://yt3.googleusercontent.com/w6R8mgf1yASGcr7ynzJBcUQNEORBwWd5QIQ51q20PHOJi2Wz32QNFB-trqn_4rawCL_j7Amn"}}}]}
                                                                                                                                                                                                                    
                                                                                                    

Channel information - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/14/youtube+data+api/63/channel+information?id=UCBVjMGOIkavEAhyqpxJ73Dw' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Receive a list of videos that have been uploaded by the channel you are looking into from newest to oldest. 

 

 



                                                                            
GET https://zylalabs.com/api/14/youtube+data+api/64/videos+per+channel
                                                                            
                                                                        

Videos per Channel - Características del Endpoint

Objeto Descripción
channelId [Requerido] The ID of the channel you want to receive the list of videos.
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"kind":"youtube#searchListResponse","nextPageToken":"CDIQAA","regionCode":"US","pageInfo":{"totalResults":176,"resultsPerPage":50},"items":[{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"FHjlsVzHPOI"},"snippet":{"publishedAt":"2021-06-18T17:47:43Z","channelId":"UCBVjMGOIkavEAhyqpxJ73Dw","title":"Official music video for “Lost” off the new album ‘JORDI’ out now","description":"","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/FHjlsVzHPOI/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/FHjlsVzHPOI/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/FHjlsVzHPOI/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Maroon 5","liveBroadcastContent":"none","publishTime":"2021-06-18T17:47:43Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"-cgb7cvod4Q"},"snippet":{"publishedAt":"2021-06-17T22:05:07Z","channelId":"UCBVjMGOIkavEAhyqpxJ73Dw","title":"‘JORDI’ Inspired NFTs available till 11:59pm tomorrow. Check them out  at: Yellowheart.io","description":"","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/-cgb7cvod4Q/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/-cgb7cvod4Q/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/-cgb7cvod4Q/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Maroon 5","liveBroadcastContent":"none","publishTime":"2021-06-17T22:05:07Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#playlist","playlistId":"PLKlAQn1vdOt-Whwy1KXJy8oZTvYhI5aHC"},"snippet":{"publishedAt":"2021-06-11T23:50:16Z","channelId":"UCBVjMGOIkavEAhyqpxJ73Dw","title":"JORDI Performances","description":"","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/BRC2CN1xni8/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/BRC2CN1xni8/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/BRC2CN1xni8/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Maroon 5","liveBroadcastContent":"none","publishTime":"2021-06-11T23:50:16Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#playlist","playlistId":"PLKlAQn1vdOt--mu_PniQ5KleSR5wjoN6F"},"snippet":{"publishedAt":"2021-06-11T04:30:45Z","channelId":"UCBVjMGOIkavEAhyqpxJ73Dw","title":"JORDI","description":"JORDI album out now.","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/U05fwua9-D4/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/U05fwua9-D4/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/U05fwua9-D4/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Maroon 5","liveBroadcastContent":"none","publishTime":"2021-06-11T04:30:45Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"KId74amqsqo"},"snippet":{"publishedAt":"2021-05-20T21:06:31Z","channelId":"UCBVjMGOIkavEAhyqpxJ73Dw","title":"“Beautiful Mistakes” BTS","description":"Beautiful Mistakes” BTS Listen to \"Beautiful Mistakes ft. Megan Thee Stallion\" https://maroon5.lnk.to/BeautifulMistakes.","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/KId74amqsqo/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/KId74amqsqo/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/KId74amqsqo/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Maroon 5","liveBroadcastContent":"none","publishTime":"2021-05-20T21:06:31Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"-U5BqpqzGrE"},"snippet":{"publishedAt":"2021-03-29T18:39:00Z","channelId":"UCBVjMGOIkavEAhyqpxJ73Dw","title":"American Express UNSTAGED: Maroon 5 | Tuesday, March 30th - TEASER","description":"Join us for a special virtual worldwide one-time performance tomorrow, March 30th! Tickets for America Express UNSTAGED: ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/-U5BqpqzGrE/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/-U5BqpqzGrE/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/-U5BqpqzGrE/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Maroon 5","liveBroadcastContent":"none","publishTime":"2021-03-29T18:39:00Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"i6DGSIKEuF8"},"snippet":{"publishedAt":"2021-03-03T17:01:18Z","channelId":"UCBVjMGOIkavEAhyqpxJ73Dw","title":"Maroon 5 - Beautiful Mistakes ft. Megan Thee Stallion (Official Lyric Video)","description":"Beautiful Mistakes” featuring Megan Thee Stallion is out now: https://maroon5.lnk.to/BeautifulMistakes For more, visit: Instagram: ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/i6DGSIKEuF8/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/i6DGSIKEuF8/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/i6DGSIKEuF8/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Maroon 5","liveBroadcastContent":"none","publishTime":"2021-03-03T17:01:18Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"fi6e6wGrjsE"},"snippet":{"publishedAt":"2020-04-25T20:58:31Z","channelId":"UCBVjMGOIkavEAhyqpxJ73Dw","title":"Maroon 5 • VEVEY FOREVER • Making &#39;Hands All Over&#39;","description":"We thought now was the perfect time to convert this film from DVD to digital for everyone to enjoy. Previously only released within ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/fi6e6wGrjsE/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/fi6e6wGrjsE/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/fi6e6wGrjsE/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Maroon 5","liveBroadcastContent":"none","publishTime":"2020-04-25T20:58:31Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"41cpjgzMzXQ"},"snippet":{"publishedAt":"2020-01-06T19:22:37Z","channelId":"UCBVjMGOIkavEAhyqpxJ73Dw","title":"Maroon 5 2020 Official Tour Teaser #2","description":"Maroon 5 2020 World Tour is on sale. Head to maroon5.com for all dates and tickets. See you on the road with Meghan Trainor ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/41cpjgzMzXQ/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/41cpjgzMzXQ/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/41cpjgzMzXQ/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Maroon 5","liveBroadcastContent":"none","publishTime":"2020-01-06T19:22:37Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"8RWQxAlMOfI"},"snippet":{"publishedAt":"2019-12-29T17:00:02Z","channelId":"UCBVjMGOIkavEAhyqpxJ73Dw","title":"&quot;Memories&quot; - Covers (Tribute Music Video)","description":"A heartfelt thank you to our incredible fans and all of the amazing singers & musicians that took the time to learn, record and share ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/8RWQxAlMOfI/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/8RWQxAlMOfI/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/8RWQxAlMOfI/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Maroon 5","liveBroadcastContent":"none","publishTime":"2019-12-29T17:00:02Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"Qk-e4iTxIqk"},"snippet":{"publishedAt":"2019-12-04T13:45:13Z","channelId":"UCBVjMGOIkavEAhyqpxJ73Dw","title":"Maroon 5 2020 Tour Teaser","description":"Watch as Maroon 5 announces their 2020 North American Tour with special guests Leon Bridges and Meghan Trainor. Stream ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/Qk-e4iTxIqk/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/Qk-e4iTxIqk/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/Qk-e4iTxIqk/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Maroon 5","liveBroadcastContent":"none","publishTime":"2019-12-04T13:45:13Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"AnmpPBiiCVg"},"snippet":{"publishedAt":"2019-06-03T17:21:48Z","channelId":"UCBVjMGOIkavEAhyqpxJ73Dw","title":"VISIONS PT: 2 - ASIA","description":"Music by Circuit Jerks and Maroon 5 More info @ www.maroon5.com.","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/AnmpPBiiCVg/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/AnmpPBiiCVg/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/AnmpPBiiCVg/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Maroon 5","liveBroadcastContent":"none","publishTime":"2019-06-03T17:21:48Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"-iSkPDlkCcI"},"snippet":{"publishedAt":"2019-02-16T19:20:31Z","channelId":"UCBVjMGOIkavEAhyqpxJ73Dw","title":"Maroon 5 - ROAD TO SUPER BOWL - PT.2","description":"A look inside the process... Film by Travis Schneider Music by: \"Maps (Circuit Jerks Remix)\" \"This Love (Cut Copy Galactic Beach ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/-iSkPDlkCcI/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/-iSkPDlkCcI/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/-iSkPDlkCcI/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Maroon 5","liveBroadcastContent":"none","publishTime":"2019-02-16T19:20:31Z"}},{"kind":"youtube#searchResult","id":{"kind":"youtube#video","videoId":"ogBH-WU0lY8"},"snippet":{"publishedAt":"2019-02-03T22:34:26Z","channelId":"UCBVjMGOIkavEAhyqpxJ73Dw","title":"Maroon 5 - ROAD TO SUPER BOWL - PT.2 (PREVIEW)","description":"A look inside the process... Film by Travis Schneider Music by Circuit Jerks - \"Maps (Circuit Jerks Remix)\" http://circuitjerks.com.","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/ogBH-WU0lY8/default.jpg","width":120,"height":9...
                                                                                                                                                                                                                    
                                                                                                    

Videos per Channel - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/14/youtube+data+api/64/videos+per+channel?channelId=UCBVjMGOIkavEAhyqpxJ73Dw' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Youtube Data API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10.000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Youtube Data API FAQs

Each endpoint returns specific data related to YouTube content. For example, the Video Details endpoint provides video title, description, publish date, view count, and likes. The Video Comments endpoint returns user comments, likes, and timestamps. The Similar Videos endpoint lists related video IDs and titles.

Key fields vary by endpoint. For Video Details, fields include `title`, `description`, `viewCount`, and `likeCount`. For Video Comments, fields include `authorDisplayName`, `textDisplay`, and `likeCount`. The Similar Videos endpoint includes `videoId` and `title`.

Response data is structured in JSON format, typically containing a `kind` field indicating the type of response, `pageInfo` for pagination, and `items` array with detailed content. Each item contains relevant fields specific to the endpoint, such as video details or comments.

Common parameters include `videoId`, `channelId`, and `playlistId`. For example, the Video Comments endpoint requires a `videoId` to fetch comments related to that specific video. Users can customize requests by specifying these IDs to retrieve targeted data.

Each endpoint provides distinct information: Video Details offers metadata about a video, Video Comments retrieves user feedback, Similar Videos lists related content, Channel Information provides channel stats, and Playlist Videos details the contents of a playlist.

Users can utilize returned data by integrating it into applications or websites. For instance, displaying video titles and thumbnails from the Similar Videos endpoint can enhance user engagement. Comments can be shown to foster community interaction, while channel stats can inform users about content creators.

Typical use cases include embedding videos on websites, creating curated playlists, displaying user comments for engagement, and suggesting related videos to enhance user experience. Developers can leverage this API to build comprehensive video-sharing platforms.

Data accuracy is maintained through YouTube's robust infrastructure, which regularly updates content and metadata. The API pulls data directly from YouTube's database, ensuring that the information is current and reliable, reflecting real-time changes on the platform.

General FAQs

Zyla API Hub es como una gran tienda de APIs, donde puedes encontrar miles de ellas en un solo lugar. También ofrecemos soporte dedicado y monitoreo en tiempo real de todas las APIs. Una vez que te registres, puedes elegir qué APIs quieres usar. Solo recuerda que cada API necesita su propia suscripción. Pero si te suscribes a varias, usarás la misma clave para todas, lo que hace todo más fácil para ti.

Los precios se muestran en USD (dólar estadounidense), EUR (euro), CAD (dólar canadiense), AUD (dólar australiano) y GBP (libra esterlina). Aceptamos todas las principales tarjetas de débito y crédito. Nuestro sistema de pago utiliza la última tecnología de seguridad y está respaldado por Stripe, una de las compañías de pago más confiables del mundo. Si tienes algún problema para pagar con tarjeta, contáctanos en [email protected]


Además, si ya tienes una suscripción activa en cualquiera de estas monedas (USD, EUR, CAD, AUD, GBP), esa moneda se mantendrá para suscripciones posteriores. Puedes cambiar la moneda en cualquier momento siempre que no tengas suscripciones activas.

La moneda local que aparece en la página de precios se basa en el país de tu dirección IP y se proporciona solo como referencia. Los precios reales están en USD (dólar estadounidense). Cuando realices un pago, el cargo aparecerá en tu estado de cuenta en USD, incluso si ves el monto equivalente en tu moneda local en nuestro sitio web. Esto significa que no puedes pagar directamente en tu moneda local.

Ocasionalmente, un banco puede rechazar el cargo debido a sus configuraciones de protección contra fraude. Te sugerimos comunicarte con tu banco primero para verificar si están bloqueando nuestros cargos. También puedes acceder al Portal de Facturación y cambiar la tarjeta asociada para realizar el pago. Si esto no funciona y necesitas más ayuda, por favor contacta a nuestro equipo en [email protected]

Los precios se determinan mediante una suscripción recurrente mensual o anual, dependiendo del plan elegido.

Las llamadas a la API se descuentan de tu plan en base a solicitudes exitosas. Cada plan incluye una cantidad específica de llamadas que puedes realizar por mes. Solo las llamadas exitosas, indicadas por una respuesta con estado 200, se contarán en tu total. Esto asegura que las solicitudes fallidas o incompletas no afecten tu cuota mensual.

Zyla API Hub funciona con un sistema de suscripción mensual recurrente. Tu ciclo de facturación comenzará el día en que compres uno de los planes de pago, y se renovará el mismo día del mes siguiente. Así que recuerda cancelar tu suscripción antes si quieres evitar futuros cargos.

Para actualizar tu plan de suscripción actual, simplemente ve a la página de precios de la API y selecciona el plan al que deseas actualizarte. La actualización será instantánea, permitiéndote disfrutar inmediatamente de las funciones del nuevo plan. Ten en cuenta que las llamadas restantes de tu plan anterior no se transferirán al nuevo plan, por lo que debes considerar esto al actualizar. Se te cobrará el monto total del nuevo plan.

Para verificar cuántas llamadas a la API te quedan en el mes actual, revisa el campo 'X-Zyla-API-Calls-Monthly-Remaining' en el encabezado de la respuesta. Por ejemplo, si tu plan permite 1,000 solicitudes por mes y has usado 100, este campo mostrará 900 llamadas restantes.

Para ver el número máximo de solicitudes a la API que permite tu plan, revisa el encabezado de la respuesta 'X-Zyla-RateLimit-Limit'. Por ejemplo, si tu plan incluye 1,000 solicitudes por mes, este encabezado mostrará 1,000.

El encabezado 'X-Zyla-RateLimit-Reset' muestra el número de segundos hasta que tu límite se restablezca. Esto te indica cuándo tu conteo de solicitudes se reiniciará. Por ejemplo, si muestra 3,600, significa que faltan 3,600 segundos para que el límite se restablezca.

Sí, puedes cancelar tu plan en cualquier momento desde tu cuenta, seleccionando la opción de cancelación en la página de Facturación. Ten en cuenta que las actualizaciones, degradaciones y cancelaciones tienen efecto inmediato. Además, al cancelar ya no tendrás acceso al servicio, incluso si te quedaban llamadas en tu cuota.

Puedes contactarnos a través de nuestro canal de chat para recibir asistencia inmediata. Siempre estamos en línea de 8 a. m. a 5 p. m. (EST). Si nos contactas fuera de ese horario, te responderemos lo antes posible. Además, puedes escribirnos por correo electrónico a [email protected]

Para darte la oportunidad de probar nuestras APIs sin compromiso, ofrecemos una prueba gratuita de 7 días que te permite realizar hasta 50 llamadas a la API sin costo. Esta prueba solo se puede usar una vez, por lo que recomendamos aplicarla a la API que más te interese. Aunque la mayoría de nuestras APIs ofrecen prueba gratuita, algunas pueden no hacerlo. La prueba finaliza después de 7 días o cuando realices 50 solicitudes, lo que ocurra primero. Si alcanzas el límite de 50 solicitudes durante la prueba, deberás "Iniciar tu Plan de Pago" para continuar haciendo solicitudes. Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios. Alternativamente, si no cancelas tu suscripción antes del día 7, tu prueba gratuita finalizará y tu plan se cobrará automáticamente, otorgándote acceso a todas las llamadas a la API especificadas en tu plan. Ten esto en cuenta para evitar cargos no deseados.

Después de 7 días, se te cobrará el monto total del plan al que estabas suscrito durante la prueba. Por lo tanto, es importante cancelar antes de que finalice el periodo de prueba. No se aceptan solicitudes de reembolso por olvidar cancelar a tiempo.

Cuando te suscribes a una prueba gratuita de una API, puedes realizar hasta 50 llamadas. Si deseas realizar más llamadas después de este límite, la API te pedirá que "Inicies tu Plan de Pago". Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios.

Las Órdenes de Pago se procesan entre el día 20 y el 30 de cada mes. Si envías tu solicitud antes del día 20, tu pago será procesado dentro de ese período.


APIs Relacionadas


También te puede interesar