关于API:
Youtube数据API提供比单独的YouTube嵌入代码更完整和可扩展的YouTube数据访问。Youtube数据API允许您获取完整的播放列表、用户上传甚至搜索结果。您还可以将YouTube功能集成到您的网站或应用中,允许用户直接从网站或应用中发布视频和管理频道订阅。
通过传递视频ID、频道ID或播放列表ID,您将能够检索所有内容和详细信息。
您可以使用这个API为您的网站添加各种YouTube功能,例如嵌入视频、策划播放列表等。这使得组织能够在其网站或应用上提供全面的视频共享服务,而无需从头开始编写程序。
YouTube API像其他API(或应用程序编程接口)一样,使程序员的工作变得更简单,避免了每当用户请求数据时都要逐行编写代码的繁琐任务。相反,程序员可以使用指定的功能和协议在网站上策划YouTube视频。
唯一的限制是每月您可以进行的API调用数量。
接收相关视频的列表。
传递一个视频ID,您将获得与其最相似的视频列表。
相似视频 - 端点功能
| 对象 | 描述 |
|---|---|
relatedToVideoId |
[必需] |
part |
[必需] |
type |
[必需] |
maxResults |
可选 |
{"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}}}}],"_note":"Response truncated for documentation purposes"}
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'
获取您想要的视频的最新评论列表
您将获取创建日期、点赞数、评论用户以及评论文本
视频评论 - 端点功能
| 对象 | 描述 |
|---|---|
part |
[必需] |
videoId |
[必需] The ID of the video you want to get the comments from. |
maxResults |
[必需] The number of comments you want to retrieve. Max 100 |
{"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'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"}}}}],"_note":"Response truncated for documentation purposes"}
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'
视频详情 - 端点功能
| 对象 | 描述 |
|---|---|
id |
[必需] The ID of the video you want to get the details from. |
{"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}}
curl --location --request GET 'https://zylalabs.com/api/14/youtube+data+api/62/video+details?id=7ghhRHRP6t4' --header 'Authorization: Bearer YOUR_API_KEY'
获取有关任何频道的信息列表,通过频道ID查找。
接收信息,如频道名称、频道描述、订阅者数量、频道的观看次数等……
频道信息 - 端点功能
| 对象 | 描述 |
|---|---|
id |
[必需] The ID of the channel you want to get information from. |
{"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"}}}]}
curl --location --request GET 'https://zylalabs.com/api/14/youtube+data+api/63/channel+information?id=UCBVjMGOIkavEAhyqpxJ73Dw' --header 'Authorization: Bearer YOUR_API_KEY'
接收您正在查看的频道上传的视频列表,从最新到最旧。
每个频道的视频 - 端点功能
| 对象 | 描述 |
|---|---|
channelId |
[必需] The ID of the channel you want to receive the list of videos. |
{"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 'Hands All Over'","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":""Memories" - 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}}}}],"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/14/youtube+data+api/64/videos+per+channel?channelId=UCBVjMGOIkavEAhyqpxJ73Dw' --header 'Authorization: Bearer YOUR_API_KEY'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
每个端点返回与YouTube内容相关的特定数据。例如,视频详细信息端点提供视频标题、描述、发布日期、观看次数和点赞数。视频评论端点返回用户评论、点赞和时间戳。相关视频端点列出了相关视频的ID和标题
关键字段因端点而异。视频详情的字段包括`title`、`description`、`viewCount`和`likeCount`。视频评论的字段包括`authorDisplayName`、`textDisplay`和`likeCount`。相似视频端点包括`videoId`和`title`
响应数据采用JSON格式结构,通常包含一个`kind`字段指示响应类型,`pageInfo`用于分页,以及一个包含详细内容的`items`数组。每个项包含特定于端点的相关字段,如视频详细信息或评论
常见参数包括 `videoId`、`channelId` 和 `playlistId` 例如 视频评论端点需要一个 `videoId` 来获取与该特定视频相关的评论 用户可以通过指定这些 ID 来定制请求以检索目标数据
每个端点提供不同的信息:视频详情提供关于视频的元数据,视频评论检索用户反馈,相关视频列出相关内容,频道信息提供频道统计数据,播放列表视频详细说明播放列表的内容
用户可以通过将返回的数据集成到应用程序或网站中来利用这些数据例如从相似视频端点显示视频标题和缩略图可以增强用户参与度可以显示评论以促进社区互动而频道统计数据可以让用户了解内容创作者
典型的用例包括在网站上嵌入视频 创建策划的播放列表 显示用户评论以促进互动 以及建议相关视频以增强用户体验 开发者可以利用此API构建综合视频分享平台
数据准确性通过YouTube强大的基础设施得以维持,该基础设施定期更新内容和元数据。API直接从YouTube数据库中提取数据,确保信息是最新的和可靠的,反映平台上的实时变化
Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]
此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
服务级别:
100%
响应时间:
1,139ms
服务级别:
100%
响应时间:
1,632ms
服务级别:
100%
响应时间:
682ms
服务级别:
100%
响应时间:
854ms
服务级别:
100%
响应时间:
1,733ms
服务级别:
100%
响应时间:
1,196ms
服务级别:
100%
响应时间:
2,530ms
服务级别:
100%
响应时间:
8,246ms
服务级别:
100%
响应时间:
1,731ms
服务级别:
93%
响应时间:
10,266ms
服务级别:
100%
响应时间:
2,906ms
服务级别:
100%
响应时间:
384ms
服务级别:
100%
响应时间:
120ms
服务级别:
100%
响应时间:
305ms
服务级别:
98%
响应时间:
718ms
服务级别:
100%
响应时间:
135ms
服务级别:
100%
响应时间:
1,729ms
服务级别:
100%
响应时间:
1,535ms
服务级别:
67%
响应时间:
1,110ms
服务级别:
100%
响应时间:
284ms