YouTube内容检索 API

利用我们的内容检索API充分发挥YouTube的力量,该API旨在快速便捷地访问视频和数据
通过 MCP 从您的 AI 代理使用此 API
支持 OpenClaw、Claude Code/Desktop、Cursor、Windsurf、Cline 以及任何兼容 MCP 的 AI 客户端。
文档和设置
通过封装此 MCP 创建技能: https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY

此 YouTube 内容检索 API 提供了一套全面的工具,以高效和有条理的方式与平台进行交互。它允许访问有关视频、频道和播放列表的详细信息,包括趋势、类别和最近频道活动的数据。通过搜索功能,可以通过自定义查询找到特定内容,获取相关和结构化的结果以便于集成

此外,该 API 方便访问每个视频的全面细节,包括元数据、描述、统计信息和可用的字幕。可以通过频道的详细信息、最近活动和相关播放列表来探索频道,从而全面了解它们的内容和影响力。对于对社区互动感兴趣的人,该 API 提供了检索单个评论和整个主题的方法,深入洞察围绕每个视频或频道的对话

API 文档

端点


在YouTube上搜索视频并快速获取详细结果,包括标题、描述、缩略图、发布日期和相关频道


                                                                            
GET https://www.zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18677/%e6%90%9c%e7%b4%a2
                                                                            
                                                                        

搜索 - 端点功能

对象 描述
maxResults 可选 Indicates the number of results
q [必需] Search content
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"kind":"youtube#searchListResponse","etag":"2VS2kJhmwyish_PztzaOmhQQEgg","nextPageToken":"CBkQAA","regionCode":"SG","pageInfo":{"totalResults":1000000,"resultsPerPage":25},"items":[{"kind":"youtube#searchResult","etag":"w7rGcXlVBNa335xxevTFOXi1RVY","id":{"kind":"youtube#video","videoId":"eVTXPUF4Oz4"},"snippet":{"publishedAt":"2009-10-26T18:31:10Z","channelId":"UCZU9T1ceaOgwfLRq7OKFU4Q","title":"In The End [Official HD Music Video] - Linkin Park","description":"In The End [Official HD Music Video] - Linkin Park ---------- From Zero | The New Album | Available Now Order Now: ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/eVTXPUF4Oz4/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/eVTXPUF4Oz4/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/eVTXPUF4Oz4/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Linkin Park","liveBroadcastContent":"none","publishTime":"2009-10-26T18:31:10Z"}},{"kind":"youtube#searchResult","etag":"5gIEJ3Q7hzxKFFkM-GY6y8uGr-k","id":{"kind":"youtube#video","videoId":"gB9P0kpc1O4"},"snippet":{"publishedAt":"2024-05-07T06:48:39Z","channelId":"UCxgN32UVVztKAQd2HkXzBtw","title":"In the End","description":"Provided to YouTube by Warner Records In the End · Linkin Park Papercuts ℗ 2000 Warner Records Inc. Mixer: Andy Wallace ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/gB9P0kpc1O4/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/gB9P0kpc1O4/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/gB9P0kpc1O4/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Linkin Park - Topic","liveBroadcastContent":"none","publishTime":"2024-05-07T06:48:39Z"}},{"kind":"youtube#searchResult","etag":"KZjWPjHZXgKxLiPol2buUiFVzd4","id":{"kind":"youtube#video","videoId":"Qp6j7MroZtE"},"snippet":{"publishedAt":"2019-03-21T10:02:23Z","channelId":"UCNC3nq4BXyaB6sTfX4IoDHA","title":"In The End","description":"Provided to YouTube by Universal Music Group In The End · Tommee Profitt · Fleurie · Jung Youth In The End ℗ 2018 Tommee ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/Qp6j7MroZtE/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/Qp6j7MroZtE/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/Qp6j7MroZtE/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Tommee Profitt - Topic","liveBroadcastContent":"none","publishTime":"2019-03-21T10:02:23Z"}},{"kind":"youtube#searchResult","etag":"aK5DBdnQYOXkyzjTKYwZ5-vJd9w","id":{"kind":"youtube#video","videoId":"WNeLUngb-Xg"},"snippet":{"publishedAt":"2018-10-09T15:59:25Z","channelId":"UCaB_KyYOjfNHBm0f-TvBmiw","title":"Linkin Park - In The End (Mellen Gi & Tommee Profitt Remix)","description":"Tommee Profitt - In The End (Mellen Gi Remix) [Fleurie Cover] Follow TrapMusicHD Facebook: ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/WNeLUngb-Xg/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/WNeLUngb-Xg/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/WNeLUngb-Xg/hqdefault.jpg","width":480,"height":360}},"channelTitle":"TrapMusicHDTV","liveBroadcastContent":"none","publishTime":"2018-10-09T15:59:25Z"}},{"kind":"youtube#searchResult","etag":"EJ0X-6XblIgcXTvSrbzQLVd78zk","id":{"kind":"youtube#video","videoId":"d_toKURCt10"},"snippet":{"publishedAt":"2022-09-22T11:06:16Z","channelId":"UCq46lKycfqrBtUPTxUk_NRQ","title":"Linkin Park - In the End (Lyrics)","description":"Linkin Park - In the End (Lyrics) Get it here: https://apple.co/3lcCvTK Follow Linkin Park: https://www.linkinpark.com/ ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/d_toKURCt10/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/d_toKURCt10/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/d_toKURCt10/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Dan Music","liveBroadcastContent":"none","publishTime":"2022-09-22T11:06:16Z"}},{"kind":"youtube#searchResult","etag":"KHnK1QsxBIFUTYOcoaKPDr_BsCA","id":{"kind":"youtube#video","videoId":"xubrxJwLxaI"},"snippet":{"publishedAt":"2008-08-20T21:08:42Z","channelId":"UC9J7a9NapmA7070LG4PdR9w","title":"In the end - Linkin Park (with lyrics)","description":"In the end.. legendary song. I wrote out the lyrics for you guys, so please Subscribe and Comment. Thanks. ^_^","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/xubrxJwLxaI/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/xubrxJwLxaI/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/xubrxJwLxaI/hqdefault.jpg","width":480,"height":360}},"channelTitle":"liamuzumaki","liveBroadcastContent":"none","publishTime":"2008-08-20T21:08:42Z"}},{"kind":"youtube#searchResult","etag":"w7XPjZX_2H7dTpHk10P65EOMlnI","id":{"kind":"youtube#video","videoId":"ZWhK8zfquBo"},"snippet":{"publishedAt":"2024-09-09T20:29:57Z","channelId":"UCZU9T1ceaOgwfLRq7OKFU4Q","title":"In The End (Live) - Linkin Park","description":"From Zero (Deluxe Edition) - Out Now: https://lprk.co/fromzerodlx Follow Linkin Park: Tour Dates: http://lprk.co/tour Official Linkin ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/ZWhK8zfquBo/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/ZWhK8zfquBo/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/ZWhK8zfquBo/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Linkin Park","liveBroadcastContent":"none","publishTime":"2024-09-09T20:29:57Z"}},{"kind":"youtube#searchResult","etag":"cwoxuyOGialehrhwjcTTM6jYm7w","id":{"kind":"youtube#video","videoId":"Q3gy8A0jY10"},"snippet":{"publishedAt":"2017-05-01T23:26:49Z","channelId":"UCAkiRgl-2kLsArumCEFQbVQ","title":"Linkin Park - In The End (Audio)","description":"","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/Q3gy8A0jY10/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/Q3gy8A0jY10/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/Q3gy8A0jY10/hqdefault.jpg","width":480,"height":360}},"channelTitle":"YOUMUSIC","liveBroadcastContent":"none","publishTime":"2017-05-01T23:26:49Z"}},{"kind":"youtube#searchResult","etag":"_HTJacqlCHqkzB41hiQjsjypQa4","id":{"kind":"youtube#video","videoId":"pQto8npSUC0"},"snippet":{"publishedAt":"2023-04-07T04:00:20Z","channelId":"UCZU9T1ceaOgwfLRq7OKFU4Q","title":"Linkin Park - In the End (Live In Texas)","description":"Linkin Park - In the End (Live In Texas) ---------- From Zero (Deluxe Edition) - Out May 16th Pre-Order Now: ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/pQto8npSUC0/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/pQto8npSUC0/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/pQto8npSUC0/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Linkin Park","liveBroadcastContent":"none","publishTime":"2023-04-07T04:00:20Z"}},{"kind":"youtube#searchResult","etag":"LufuqTNFqwCSTyhlCfBaqJfUF-g","id":{"kind":"youtube#video","videoId":"HEUY8eI6ozQ"},"snippet":{"publishedAt":"2018-10-18T09:30:00Z","channelId":"UCckKR1kDbRKXJArtGYh6drQ","title":"Linkin Park - In The End (Live 8 2005)","description":"Linkin Park performing at Live 8 in Philadelphia's Benjamin Franklin Parkway on the 2nd July, 2005. Organised by Sir Bob and ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/HEUY8eI6ozQ/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/HEUY8eI6ozQ/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/HEUY8eI6ozQ/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Live 8","liveBroadcastContent":"none","publishTime":"2018-10-18T09:30:00Z"}},{"kind":"youtube#searchResult","etag":"JFpAuUamiPxwkf7_bgWf67CJmVU","id":{"kind":"youtube#video","videoId":"ElW2VXpCu0E"},"snippet":{"publishedAt":"2024-09-06T10:09:35Z","channelId":"UCBMKSvt3v1KySz2GFFdO36g","title":"Linkin Park - In the end live 2024 ( New singer Emily Armstrong )","description":"linkinpark #linkinpark2024 #linkinparknewsinger.","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/ElW2VXpCu0E/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/ElW2VXpCu0E/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/ElW2VXpCu0E/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Million Music Radio","liveBroadcastContent":"none","publishTime":"2024-09-06T10:09:35Z"}},{"kind":"youtube#searchResult","etag":"BVeMHaT7VVpGZRHKI0qEXkU2IE8","id":{"kind":"youtube#video","videoId":"uIcmAyAJ5hE"},"snippet":{"publishedAt":"2021-11-16T17:00:25Z","channelId":"UCwTRjvjVge51X-ILJ4i22ew","title":"Linkin Park - In The End (Karaoke Version)","description":"Blind Karaoke is now in our app! Download on mobile to try it out: https://singking.link/BKDescription Love Karaoke? Our brand ...","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/uIcmAyAJ5hE/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/uIcmAyAJ5hE/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/uIcmAyAJ5hE/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Sing King","liveBroadcastContent":"none","publishTime":"2021-11-16T17:00:25Z"}},{"kind":"youtube#searchResult","etag":"jrhZP_GtNXcsGil9h8eu8pvyEAc","id":{"kind":"youtube#video","videoId":"TxWsQC3_FUU"},"snippet":{"publishedAt":"2011-08-08T13:56:41Z","channelId":"UCm-OYCapQxcGhEBUIl18p0A","title":"Linkin Park - In The End (Live from Red Square)","description":"live in moscow если хотите добавляйтесь ко мне в друзья https://vk.com/like4smile.","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/TxWsQC3_FUU/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/TxWsQC3_FUU/mqdefault.jpg","width":320}}}}],"_note":"Response truncated for documentation purposes"}
                                                                                                                                                                                                                    
                                                                                                    

搜索 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18677/%e6%90%9c%e7%b4%a2?q=in the end' --header 'Authorization: Bearer YOUR_API_KEY' 


    

获取最受欢迎的YouTube视频的完整信息,包括标题、描述、缩略图、时长、频道和最新的趋势统计数据


                                                                            
GET https://www.zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18679/%e8%b6%8b%e5%8a%bf
                                                                            
                                                                        

趋势 - 端点功能

对象 描述
regionCode 可选 Indicates the region code
part 可选 (snippet, contentDetails ,statistics)
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"kind":"youtube#videoListResponse","etag":"pe3fFuwQaN43lyQV_NoFU5WWFIM","items":[{"kind":"youtube#video","etag":"oaiO46a1jwwSi-InpvRUdJxx7R8","id":"V9vuCByb6js","snippet":{"publishedAt":"2025-08-29T04:00:07Z","channelId":"UC4mYKePIas5YgGfYZ2J2OxQ","title":"Sabrina Carpenter - Tears (Official Video)","description":"Listen to ‘Man’s Best Friend” out now: https://sabrinacarpenter.lnk.to/MansBestFriend \n\nNew merch available: https://sabrinacarpenter.lnk.to/ArtistStore \n \nSubscribe to Sabrina’s channel: https://bit.ly/SCYTsubscribe \n \nFollow Sabrina Carpenter: https://linktr.ee/sabrinacarpenter \nInstagram:  https://www.instagram.com/sabrinacarpenter \nFacebook:  https://www.facebook.com/sabrinacarpenter \nTwitter:  https://x.com/SabrinaAnnLynn \nTikTok:  https://www.tiktok.com/@sabrinacarpenter \n\nFollow Team Sabrina:\nInstagram: https://www.instagram.com/teamsabrina\nTwitter: https://x.com/TeamSabrina\nTikTok: https://www.tiktok.com/@teamsabrina \n\nLyrics:\n\nI get wet at the thought of you\nBeing a responsible guy\nTreating me like you’re supposed to doTears run down my thighs\nA little initiative can go a very long long way\nBaby just do the dishes\nI’ll give you what you (what you), what you want\nA little communication yes that’s my ideal foreplay\nAssemble a chair from IKEA\nI’m like (uhhh)\nI get wet at the thought of you\nBeing a responsible guy\nTreating me like you’re supposed to do\nTears run down my thighs\nA little respect for women can get you very very far\nRemembering how to use your phone gets me\nOh so, oh so, oh so hot\nConsidering I have feelings I’m like why are my clothes still on?\nOffering to do anything I’m like (oh my God)\nI get wet at the thought of you\nBeing a responsible guy\nTreating me like you’re supposed to do\nTears run down my thighs\nI get wet at the thought of you\nBeing a responsible guy\nTreating me like you’re supposed to do\nTears run down my thighs\n(Dance break)\nI get wet at the thought of you\nBeing a responsible guy\nTreating me like you’re supposed to do\nTears run down my thighs\n \n#SabrinaCarpenter #Tears #MansBestFriend \n\nMusic video by Sabrina Carpenter performing Tears.© 2025 Island Records, a division of UMG Recordings, Inc.","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/V9vuCByb6js/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/V9vuCByb6js/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/V9vuCByb6js/hqdefault.jpg","width":480,"height":360},"standard":{"url":"https://i.ytimg.com/vi/V9vuCByb6js/sddefault.jpg","width":640,"height":480},"maxres":{"url":"https://i.ytimg.com/vi/V9vuCByb6js/maxresdefault.jpg","width":1280,"height":720}},"channelTitle":"SabrinaCarpenterVEVO","tags":["Sabrina Carpenter","Island Records","Pop"],"categoryId":"10","liveBroadcastContent":"none","defaultLanguage":"en","localized":{"title":"Sabrina Carpenter - Tears (Official Video)","description":"Listen to ‘Man’s Best Friend” out now: https://sabrinacarpenter.lnk.to/MansBestFriend \n\nNew merch available: https://sabrinacarpenter.lnk.to/ArtistStore \n \nSubscribe to Sabrina’s channel: https://bit.ly/SCYTsubscribe \n \nFollow Sabrina Carpenter: https://linktr.ee/sabrinacarpenter \nInstagram:  https://www.instagram.com/sabrinacarpenter \nFacebook:  https://www.facebook.com/sabrinacarpenter \nTwitter:  https://x.com/SabrinaAnnLynn \nTikTok:  https://www.tiktok.com/@sabrinacarpenter \n\nFollow Team Sabrina:\nInstagram: https://www.instagram.com/teamsabrina\nTwitter: https://x.com/TeamSabrina\nTikTok: https://www.tiktok.com/@teamsabrina \n\nLyrics:\n\nI get wet at the thought of you\nBeing a responsible guy\nTreating me like you’re supposed to doTears run down my thighs\nA little initiative can go a very long long way\nBaby just do the dishes\nI’ll give you what you (what you), what you want\nA little communication yes that’s my ideal foreplay\nAssemble a chair from IKEA\nI’m like (uhhh)\nI get wet at the thought of you\nBeing a responsible guy\nTreating me like you’re supposed to do\nTears run down my thighs\nA little respect for women can get you very very far\nRemembering how to use your phone gets me\nOh so, oh so, oh so hot\nConsidering I have feelings I’m like why are my clothes still on?\nOffering to do anything I’m like (oh my God)\nI get wet at the thought of you\nBeing a responsible guy\nTreating me like you’re supposed to do\nTears run down my thighs\nI get wet at the thought of you\nBeing a responsible guy\nTreating me like you’re supposed to do\nTears run down my thighs\n(Dance break)\nI get wet at the thought of you\nBeing a responsible guy\nTreating me like you’re supposed to do\nTears run down my thighs\n \n#SabrinaCarpenter #Tears #MansBestFriend \n\nMusic video by Sabrina Carpenter performing Tears.© 2025 Island Records, a division of UMG Recordings, Inc."},"defaultAudioLanguage":"en"},"contentDetails":{"duration":"PT5M1S","dimension":"2d","definition":"hd","caption":"true","licensedContent":true,"regionRestriction":{"allowed":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"contentRating":{},"projection":"rectangular"},"statistics":{"viewCount":"3475933","likeCount":"303536","favoriteCount":"0","commentCount":"16950"}},{"kind":"youtube#video","etag":"pp9as1kkYVUcdvKK-pXkcPB6w1E","id":"bd_5HcTujfc","snippet":{"publishedAt":"2025-08-28T14:00:01Z","channelId":"UCU4SM3j_9TNWaSu8KdGV50g","title":"BUGONIA - Official Trailer [HD] - Only in Theaters October 24","description":"BUGONIA. Watch the official trailer now.\nA Yorgos Lanthimos film, starring Emma Stone and Jesse Plemons. Only in theaters October 24.\n\nTwo conspiracy obsessed young men kidnap the high-powered CEO of a major company, convinced that she is an alien intent on destroying planet Earth.\n\nhttps://www.focusfeatures.com/bugonia \nInstagram: https://www.instagram.com/bugoniafilm/\nFacebook: https://www.facebook.com/bugoniafilm\nTwitter: https://x.com/bugoniafilm\n\nSubscribe to Focus Features: http://bit.ly/FocusFeaturesYouTube\n\nBecome a Focus Insider: https://insider.focusfeatures.com \n\nWebsite: https://www.focusfeatures.com\nInstagram: https://www.instagram.com/focusfeatures\nFacebook: https://www.facebook.com/focusfeatures\nTwitter: https://twitter.com/focusfeatures\nTikTok: https://www.tiktok.com/@focusfeatures","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/bd_5HcTujfc/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/bd_5HcTujfc/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/bd_5HcTujfc/hqdefault.jpg","width":480,"height":360},"standard":{"url":"https://i.ytimg.com/vi/bd_5HcTujfc/sddefault.jpg","width":640,"height":480},"maxres":{"url":"https://i.ytimg.com/vi/bd_5HcTujfc/maxresdefault.jpg","width":1280,"height":720}},"channelTitle":"Focus Features","tags":["Focus Features","Emma Stone","Jesse Plemons","Aidan Delbis","Stavros Halkias","Alicia Silverstone","Yorgos Lanthimos","Will Tracy","Ed Guiney","Andrew Lowe","Ari Aster","Lars Knudsen","Miky Lee","Jerry Kyoungboum Ko"],"categoryId":"1","liveBroadcastContent":"none","defaultLanguage":"en","localized":{"title":"BUGONIA - Official Trailer [HD] - Only in Theaters October 24","description":"BUGONIA. Watch the official trailer now.\nA Yorgos Lanthimos film, starring Emma Stone and Jesse Plemons. Only in theaters October 24.\n\nTwo conspiracy obsessed young men kidnap the high-powered CEO of a major company, convinced that she is an alien intent on destroying planet Earth.\n\nhttps://www.focusfeatures.com/bugonia \nInstagram: https://www.instagram.com/bugoniafilm/\nFacebook: https://www.facebook.com/bugoniafilm\nTwitter: https://x.com/bugoniafilm\n\nSubscribe to Focus Features: http://bit.ly/FocusFeaturesYouTube\n\nBecome a Focus Insider: https://insider.focusfeatures.com \n\nWebsite: https://www.focusfeatures.com\nInstagram: https://www.instagram.com/focusfeatures\nFacebook: https://www.facebook.com/focusfeatures\nTwitter: https://twitter.com/focusfeatures\nTikTok: https://www.tiktok.com/@focusfeatures"},"defaultAudioLanguage":"en-US"},"contentDetails":{"duration":"PT2M34S","dimension":"2d","definition":"hd","caption":"true","licensedContent":true,"contentRating":{},"projection":"rectangular"},"statistics":{"viewCount":"3864789","likeCount":"17747","favoriteCount":"0","commentCount":"1150"}},{"kind":"youtube#video","etag":"aIgdHQfbz8iJ_jOFMIm7dWBgkNY","id":"dlgXklnzuVM","snippet":{"publishedAt":"2025-08-28T22:00:47Z","channelId":"UC63anZxfVGHUEmfBAf5w7pw","title":"We Installed A Hotdog Stand (Waterpark Sim Episode 2)"}}],"_note":"Response truncated for documentation purposes"}
                                                                                                                                                                                                                    
                                                                                                    

趋势 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18679/%e8%b6%8b%e5%8a%bf?regionCode=CN' --header 'Authorization: Bearer YOUR_API_KEY' 


    

从 YouTube 视频中获取完整信息,包括标题、描述、缩略图、时长、频道、标签、统计数据和技术播放细节


                                                                            
GET https://www.zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18682/%e8%a7%86%e9%a2%91%e8%af%a6%e6%83%85
                                                                            
                                                                        

视频详情 - 端点功能

对象 描述
id [必需] Specifies the ID of a video.
part 可选 (snippet, statistics)
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"kind":"youtube#videoListResponse","etag":"b5olGnuUb4Q8bm9HquUeux-BVes","items":[{"kind":"youtube#video","etag":"d9c9jtAsMcJf-nXYqPI4kCX2gWs","id":"xFYQQPAOz7Y","snippet":{"publishedAt":"2007-05-24T21:50:19Z","channelId":"UCfM3zsQsOnfWNUppiycmBuw","title":"Eminem - Lose Yourself","description":"Eminem - Lose Yourself\n\nhttps://www.eminem.com/\nhttps://www.facebook.com/eminem\nhttps://twitter.com/eminem\nhttps://www.instagram.com/eminem/\n\nhttps://www.shadyrecords.com/\nhttps://www.facebook.com/ShadyRecords/\nhttps://twitter.com/shadyrecords\nhttps://www.instagram.com/shadyrecords/\n\n#Eminem #LoseYourself #8Mile","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/xFYQQPAOz7Y/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/xFYQQPAOz7Y/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/xFYQQPAOz7Y/hqdefault.jpg","width":480,"height":360}},"channelTitle":"EminemMusic","tags":["Eminem","Marshall Mathers","Slim Shady","EMINƎM","Rapper","Actor","Songwriter","D12","Bad Meets Evil","Artist","Hip Hop","Detroit. Motor city","Michigan","Interscope","shady records","Relapse","Recovery","8 mile","Dr. Dre","BET Awards","Airplanes","Rihanna","Love the way you lie","real slim shady","the way I am","ken kaniff","hailie mathers","marshall","mathers","slim","shady","aftermath","dr.","dre","encore","the","re-up","50","cent","curtain","call"],"categoryId":"10","liveBroadcastContent":"none","defaultLanguage":"en","localized":{"title":"Eminem - Lose Yourself","description":"Eminem - Lose Yourself\n\nhttps://www.eminem.com/\nhttps://www.facebook.com/eminem\nhttps://twitter.com/eminem\nhttps://www.instagram.com/eminem/\n\nhttps://www.shadyrecords.com/\nhttps://www.facebook.com/ShadyRecords/\nhttps://twitter.com/shadyrecords\nhttps://www.instagram.com/shadyrecords/\n\n#Eminem #LoseYourself #8Mile"},"defaultAudioLanguage":"en"},"contentDetails":{"duration":"PT5M28S","dimension":"2d","definition":"sd","caption":"false","licensedContent":false,"contentRating":{},"projection":"rectangular"},"statistics":{"viewCount":"355205162","likeCount":"2364309","favoriteCount":"0","commentCount":"115364"}}],"pageInfo":{"totalResults":1,"resultsPerPage":1}}
                                                                                                                                                                                                                    
                                                                                                    

视频详情 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18682/%e8%a7%86%e9%a2%91%e8%af%a6%e6%83%85?id=xFYQQPAOz7Y' --header 'Authorization: Bearer YOUR_API_KEY' 


    

获取关于YouTube频道的完整信息,包括名称、描述、缩略图、自定义网址、国家、统计数据和发布的视频数量



                                                                            
GET https://www.zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18685/%e9%a2%91%e9%81%93%e8%af%a6%e6%83%85
                                                                            
                                                                        

频道详情 - 端点功能

对象 描述
id [必需] Indicates the channel ID.
part 可选 (snippet, statistics)
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"kind":"youtube#channelListResponse","etag":"I3n-siqDqtUU3DBIlG5MoCy2VbU","pageInfo":{"totalResults":1,"resultsPerPage":25},"items":[{"kind":"youtube#channel","etag":"asDvE21R5S9gtD8Oc2Uey3g9Y2M","id":"UC-lHJZR3Gqxm24_Vd_AJ5Yw","snippet":{"title":"PewDiePie","description":"I make videos.","customUrl":"@pewdiepie","publishedAt":"2010-04-29T10:54:00Z","thumbnails":{"default":{"url":"https://yt3.ggpht.com/vik8mAiwHQbXiFyKfZ3__p55_VBdGvwxPpuPJBBwdbF0PjJxikXhrP-C3nLQAMAxGNd_-xQCIg=s88-c-k-c0x00ffffff-no-rj","width":88,"height":88},"medium":{"url":"https://yt3.ggpht.com/vik8mAiwHQbXiFyKfZ3__p55_VBdGvwxPpuPJBBwdbF0PjJxikXhrP-C3nLQAMAxGNd_-xQCIg=s240-c-k-c0x00ffffff-no-rj","width":240,"height":240},"high":{"url":"https://yt3.ggpht.com/vik8mAiwHQbXiFyKfZ3__p55_VBdGvwxPpuPJBBwdbF0PjJxikXhrP-C3nLQAMAxGNd_-xQCIg=s800-c-k-c0x00ffffff-no-rj","width":800,"height":800}},"localized":{"title":"PewDiePie","description":"I make videos."},"country":"JP"},"contentDetails":{"relatedPlaylists":{"likes":"","uploads":"UU-lHJZR3Gqxm24_Vd_AJ5Yw"}},"statistics":{"viewCount":"29398712851","subscriberCount":"110000000","hiddenSubscriberCount":false,"videoCount":"4648"}}]}
                                                                                                                                                                                                                    
                                                                                                    

频道详情 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18685/%e9%a2%91%e9%81%93%e8%af%a6%e6%83%85?id=UC-lHJZR3Gqxm24_Vd_AJ5Yw' --header 'Authorization: Bearer YOUR_API_KEY' 


    

从YouTube视频中获取评论,包括文本、作者、日期、点赞、可用回复和用户个人资料的链接



                                                                            
GET https://www.zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18687/%e8%af%84%e8%ae%ba%e7%ba%bf%e7%a8%8b
                                                                            
                                                                        

评论线程 - 端点功能

对象 描述
videoId [必需] Specifies the video ID
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"kind":"youtube#commentThreadListResponse","etag":"UrmAOLyQzfl9EfsmjrfOlessuxc","nextPageToken":"Z2V0X25ld2VzdF9maXJzdC0tQ2dnSWdBUVZGN2ZST0JJRkNLZ2dHQUFTQlFpSUlCZ0FFZ1VJaHlBWUFCSUZDSjBnR0FFU0JRaUpJQmdBSWc0S0RBaUtsLXJEQmhDNG1MdUZBUQ==","pageInfo":{"totalResults":25,"resultsPerPage":25},"items":[{"kind":"youtube#commentThread","etag":"NnY_XwRbHaYZkvUOOwlcHLsK1_Q","id":"UgzpcDUXT8Vo9MPTLzZ4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","topLevelComment":{"kind":"youtube#comment","etag":"U3Lmk8yAXum6IJmEMIX0yNvz91k","id":"UgzpcDUXT8Vo9MPTLzZ4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","textDisplay":"Ghanta takkar deri hai 😂🫩","textOriginal":"Ghanta takkar deri hai 😂🫩","authorDisplayName":"@infinitegaming936","authorProfileImageUrl":"https://yt3.ggpht.com/xJJhPGsui3pS3K5roC5W33Y-3ZQgqyp2LbQ7AvBkcD3GGfFJVJc0RuQclfW7bjo_xj-VZwFQcQ=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/@infinitegaming936","authorChannelId":{"value":"UC0JaZFD_XgqvtHo0yd7jTYg"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2025-08-29T03:04:12Z","updatedAt":"2025-08-29T03:04:12Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","etag":"b2fUB6vRF_rMBxoB4oQxTEoeVJE","id":"UgzdhpmRWbI74GDsvpV4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","topLevelComment":{"kind":"youtube#comment","etag":"kMOvQiV4z7ELE2nTmkVSw9J3yZ4","id":"UgzdhpmRWbI74GDsvpV4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","textDisplay":"Ye akela rahega tesla keliye excited. Ghanta luxury car ko takkar degi","textOriginal":"Ye akela rahega tesla keliye excited. Ghanta luxury car ko takkar degi","authorDisplayName":"@prathamdeshmukh5142","authorProfileImageUrl":"https://yt3.ggpht.com/ytc/AIdro_lEjec1CZB3s6_HySmd0UsbyzS4aNO5Tg0aNnreacKHGzc=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/@prathamdeshmukh5142","authorChannelId":{"value":"UC0t1Z5vEn0RGHwhORTnR-tA"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2025-08-21T17:26:40Z","updatedAt":"2025-08-21T17:26:40Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","etag":"Zc4RCJe-GC8811ItMPdw04r7eiI","id":"Ugzg3IUGlXaM-ZlU2zZ4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","topLevelComment":{"kind":"youtube#comment","etag":"MOcHd2avDvnzcnyc237azheUnwU","id":"Ugzg3IUGlXaM-ZlU2zZ4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","textDisplay":"Idiots don't justify the 60 lakh price tag","textOriginal":"Idiots don't justify the 60 lakh price tag","authorDisplayName":"@Autotechgeek","authorProfileImageUrl":"https://yt3.ggpht.com/ytc/AIdro_nK7NkVovz_KUgvJj9vp7Fu6CQSRFcyOrKw-RfzajSr9OA=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/@Autotechgeek","authorChannelId":{"value":"UCzcupzelmvDpQc9l9u_NdRQ"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2025-08-18T20:44:23Z","updatedAt":"2025-08-18T20:44:23Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","etag":"c3MHoXBQ4BCAka1xihZeUdrBm5E","id":"Ugxt-T7sP7jcpX2klTF4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","topLevelComment":{"kind":"youtube#comment","etag":"S4_vF0luzv1MmYrQTOVhzI8-Il0","id":"Ugxt-T7sP7jcpX2klTF4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","textDisplay":"Aab lagenge mai 26 inch alloy🦁🦁","textOriginal":"Aab lagenge mai 26 inch alloy🦁🦁","authorDisplayName":"@Shaurya155","authorProfileImageUrl":"https://yt3.ggpht.com/XG42rtJxvRZlk95cNwjZ92Kw1sx7ne_5LmTvWyk1KQxGMgT2klgl9Q3un3nMpx4MKXU-KZWD=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/@Shaurya155","authorChannelId":{"value":"UCUD1y6ZRnWZLwAGlmzmHMLA"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2025-08-14T05:48:23Z","updatedAt":"2025-08-14T05:48:23Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","etag":"iWTKYVXcP2oQUJg-xbCYKj72h00","id":"UgzUxv-Bq8L4629BGa94AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","topLevelComment":{"kind":"youtube#comment","etag":"aJZr_eccelIjClZOWKAv8f-EdS8","id":"UgzUxv-Bq8L4629BGa94AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","textDisplay":"Black money wale ye lenge car","textOriginal":"Black money wale ye lenge car","authorDisplayName":"@narendradol3306","authorProfileImageUrl":"https://yt3.ggpht.com/ytc/AIdro_lGxwgFfm_sBzabq4l4GC38j1h9IWWFjyEvMoLEJ8DEENY=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/@narendradol3306","authorChannelId":{"value":"UClcSOMkRZ1ZPx18EGVYcGtA"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2025-08-10T10:45:38Z","updatedAt":"2025-08-10T10:45:38Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","etag":"5xp-6yeFht_IR4yauLdxd9_hvJA","id":"Ugy9JWAVNo_5lMf0nwN4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","topLevelComment":{"kind":"youtube#comment","etag":"d7swmabcMaQ28oqazc-o93cRSQY","id":"Ugy9JWAVNo_5lMf0nwN4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","textDisplay":"People can consider skoda kodiaq in this range it's value for money","textOriginal":"People can consider skoda kodiaq in this range it's value for money","authorDisplayName":"@The-Bike-Enthusiast","authorProfileImageUrl":"https://yt3.ggpht.com/ixe7JF5S0uzwAeRvPjP92cuCb4MKQLvVIiHpigm-6piKbKFF6NmT3H1PpxPEqi0Tl-vJ1qsRyA=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/@The-Bike-Enthusiast","authorChannelId":{"value":"UCv1sjgXyKg4cLstdBvc2oUg"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2025-08-06T11:08:59Z","updatedAt":"2025-08-06T11:08:59Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","etag":"ij12EauQ3S7l4JUAGlwlbdYfmeE","id":"UgzFik-sgpXye0XtYBR4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","topLevelComment":{"kind":"youtube#comment","etag":"Q3A22xTC3bRBVXq8TS0YJ4aLCCI","id":"UgzFik-sgpXye0XtYBR4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","textDisplay":"Tesla should have not come in india.this country does not deserve this american class","textOriginal":"Tesla should have not come in india.this country does not deserve this american class","authorDisplayName":"@jashan_2611","authorProfileImageUrl":"https://yt3.ggpht.com/FFvyaEi4QWZI0IqJQSizm9egVTdTPCbEzBTI01kxISAA7x265kNDcciokA1H3eIINrJ7PY8JPg=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/@jashan_2611","authorChannelId":{"value":"UC58wxJ9EPtMVfLtqjoXiaBQ"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2025-08-04T04:03:49Z","updatedAt":"2025-08-04T04:03:49Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","etag":"wSC5JKq7kucldRmiDpPsWPQqli8","id":"Ugz5VRM5vzdcvUfmjNt4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","topLevelComment":{"kind":"youtube#comment","etag":"2YMDe5qt19TcA7HOa-p4Xo86jfY","id":"Ugz5VRM5vzdcvUfmjNt4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","textDisplay":"Wast car","textOriginal":"Wast car","authorDisplayName":"@mathankumar9789","authorProfileImageUrl":"https://yt3.ggpht.com/ytc/AIdro_meZQDvkVwIytlz05tUr4sKYRoxduo30MYm6fDWZDFwo5Dx5x44u4bpmQY2f_R4uW4yGQ=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/@mathankumar9789","authorChannelId":{"value":"UCG_FsAjE8hfJrGyEEB3G2lg"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2025-08-03T06:52:48Z","updatedAt":"2025-08-03T06:52:48Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","etag":"jYa3MGwG1D_v977a44XBfgJFyj8","id":"UgzriGsmQ8PLLwBBCRZ4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","topLevelComment":{"kind":"youtube#comment","etag":"jCgPigHbcobYTS72NqzC_5D2ZYY","id":"UgzriGsmQ8PLLwBBCRZ4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","textDisplay":"Varna ka bhai","textOriginal":"Varna ka bhai","authorDisplayName":"@RG_UNKNOWNGAERZ","authorProfileImageUrl":"https://yt3.ggpht.com/RUJBX0pfEJIzR2FUgJDlgmGhbk35P5RbU8HxIPd-eDKnSPCAJoJ-7p6yBMyJ5sip9oBHflKocg=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/@RG_UNKNOWNGAERZ","authorChannelId":{"value":"UCibj1T-XA8WxJstQKzHFULA"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2025-07-31T11:29:47Z","updatedAt":"2025-07-31T11:29:47Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","etag":"hgKveuDJl7ftJSQLwyfq0-V9Czc","id":"UgyMaouyDzzinSwTeIV4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","topLevelComment":{"kind":"youtube#comment","etag":"pH5mCOQmMTVqO_-1KQDLOYGEW6M","id":"UgyMaouyDzzinSwTeIV4AaABAg","snippet":{"channelId":"UCMSjsvDuobchFSw5U1SDaqg","videoId":"s2aQFjhXIW8","textDisplay":"Mahindra be6 best car in India","textOriginal":"Mahindra be6 best car in India","authorDisplayName":"@PradeepSingh-pv7px","authorProfileImageUrl":"https://yt3.ggpht.com/Gidyuvf7fGxbN6R9oRj0DzIArcoep-FpTgswWSNLKieBh2TvMzKl2DCaJkva9DQqo0DLKDzzbQ=s48-c-k-c0x00ffffff-no-rj","authorChannelUrl":"http://www.youtube.com/@PradeepSingh-pv7px","authorChannelId":{"value":"UCsjHyAPT2ueosc-1lk22wcg"},"canRate":true,"viewerRating":"none","likeCount":0,"publishedAt":"2025-07-26T10:20:35Z","updatedAt":"2025-07-26T10:20:35Z"}},"canReply":true,"totalReplyCount":0,"isPublic":true}},{"kind":"youtube#commentThread","etag":"58P53U3bdXd-4e1Zqwb7Bolg2II"}],"_note":"Response truncated for documentation purposes"}
                                                                                                                                                                                                                    
                                                                                                    

评论线程 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18687/%e8%af%84%e8%ae%ba%e7%ba%bf%e7%a8%8b?videoId=s2aQFjhXIW8' --header 'Authorization: Bearer YOUR_API_KEY' 


    

显示有关YouTube播放列表的详细信息,包括标题、描述、发布日期、缩略图、拥有者频道和包含的视频数量



                                                                            
GET https://www.zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18688/%e6%92%ad%e6%94%be%e5%88%97%e8%a1%a8%e8%af%a6%e6%83%85
                                                                            
                                                                        

播放列表详情 - 端点功能

对象 描述
id [必需] Specifies the ID of a channel
part 可选 (snippet, contentDetails)
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"kind":"youtube#playlistListResponse","etag":"917smlay2wGIzYmK5zSyGQO79q4","pageInfo":{"totalResults":1,"resultsPerPage":25},"items":[{"kind":"youtube#playlist","etag":"Mdzia2N_9WJsuB26xVrnQOj2j-c","id":"PLaXuF0mTbiYuvRH7r-CuRNCdyWDlSKlPS","snippet":{"publishedAt":"2025-05-13T11:01:39.685968Z","channelId":"UCMSjsvDuobchFSw5U1SDaqg","title":"Long Term Reviews","description":"","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/ZsQ2_2-RnlY/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/ZsQ2_2-RnlY/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/ZsQ2_2-RnlY/hqdefault.jpg","width":480,"height":360},"standard":{"url":"https://i.ytimg.com/vi/ZsQ2_2-RnlY/sddefault.jpg","width":640,"height":480},"maxres":{"url":"https://i.ytimg.com/vi/ZsQ2_2-RnlY/maxresdefault.jpg","width":1280,"height":720}},"channelTitle":"CarDekho","localized":{"title":"Long Term Reviews","description":""}},"contentDetails":{"itemCount":2}}]}
                                                                                                                                                                                                                    
                                                                                                    

播放列表详情 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18688/%e6%92%ad%e6%94%be%e5%88%97%e8%a1%a8%e8%af%a6%e6%83%85?id=PLaXuF0mTbiYuvRH7r-CuRNCdyWDlSKlPS' --header 'Authorization: Bearer YOUR_API_KEY' 


    

从YouTube播放列表中获取所有视频,显示标题、描述、缩略图、发布日期和拥有者频道的详细信息



                                                                            
GET https://www.zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18691/%e6%92%ad%e6%94%be%e5%88%97%e8%a1%a8%e5%88%97%e8%a1%a8
                                                                            
                                                                        

播放列表列表 - 端点功能

对象 描述
playlistId [必需] Specifies the playlist ID.
part 可选 (snippet, contentDetails
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"kind":"youtube#playlistItemListResponse","etag":"Ao3du2jAv2Z-7f_FEZvrhdqfGh0","items":[{"kind":"youtube#playlistItem","etag":"vZknzykdRG4ry--e4fLir0mLBDo","id":"UExhWHVGMG1UYmlZdXZSSDdyLUN1Uk5DZHlXRGxTS2xQUy4yODlGNEE0NkRGMEEzMEQy","snippet":{"publishedAt":"2025-06-29T11:53:29Z","channelId":"UCMSjsvDuobchFSw5U1SDaqg","title":"Maruti Swift 10,000+ Km Long Term Review: Paisa Vasool?","description":"We’ve driven the new Maruti Swift for more than 10,000 km during its 10 month stint at the CarDekho office. It was put to an extensive test as it carried out the duties of our production car, hauling all the shoot equipment and camera crew over long distances and even remote shoot locations. In this video, we share our experience with the Maruti Swift, and list all its pros, cons, and neutral points that you should know if you were thinking of buying one.\n\nMaruti Swift on-road price: https://www.cardekho.com/maruti/swift/price-in-new-delhi\n\nMaruti Swift colour options: https://www.cardekho.com/maruti/swift/colors\n\nMust watch:\n\nMaruti Dzire Long Term Review: https://youtu.be/vtSVEp0sC0w?si=-CZserjED2aeED3x \n\nTata Altroz First Drive Review: https://youtu.be/PTRQNHGohcg?si=71paOEvM_PRgQ9x1 \n\nEV vs CNG Running Cost Comparison: https://youtu.be/YMk_YSqZBQg?si=uSe64QUMg0Vr0BBz \n\nMaruti Swift vs Hyundai Exter Comparison Review: https://youtu.be/1mwiBtiEDRs?si=ayVYEEvF6TnwKgtz \n\nMaruti Swift vs Maruti Dzire Comparison Review: https://youtu.be/B3KnscRPvwU?si=c_3gP-yon-GJlaNa \n\nHead over to our channel for more such content! 👉https://www.youtube.com/zigwheels?sub...\n\nHead over to our channel for more such content! 👉https://www.youtube.com/cardekho?sub_...\n\nHead over to our channel for more such content! 👉https://www.youtube.com/BikeDekhoOffi...\n\nFollow us on Instagram: https://www.instagram.com/cardekhoindia/\nFollow us on Twitter: https://twitter.com/cardekho\nLike us on Facebook: https://www.facebook.com/CarDekho/\n\nDownload the CarDekho App:\nAndroid: https://tinyurl.com/CarDekhoApp\niOS: https://tinyurl.com/CarDekhoAppIOS\n\n#marutisuzuki #swift #longterm #review","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/ZsQ2_2-RnlY/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/ZsQ2_2-RnlY/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/ZsQ2_2-RnlY/hqdefault.jpg","width":480,"height":360},"standard":{"url":"https://i.ytimg.com/vi/ZsQ2_2-RnlY/sddefault.jpg","width":640,"height":480},"maxres":{"url":"https://i.ytimg.com/vi/ZsQ2_2-RnlY/maxresdefault.jpg","width":1280,"height":720}},"channelTitle":"CarDekho","playlistId":"PLaXuF0mTbiYuvRH7r-CuRNCdyWDlSKlPS","position":0,"resourceId":{"kind":"youtube#video","videoId":"ZsQ2_2-RnlY"},"videoOwnerChannelTitle":"CarDekho","videoOwnerChannelId":"UCMSjsvDuobchFSw5U1SDaqg"},"contentDetails":{"videoId":"ZsQ2_2-RnlY","videoPublishedAt":"2025-06-29T14:30:25Z"}},{"kind":"youtube#playlistItem","etag":"r8ExTZDkLTfWbwo-hD89cJPC8MA","id":"UExhWHVGMG1UYmlZdXZSSDdyLUN1Uk5DZHlXRGxTS2xQUy41NkI0NEY2RDEwNTU3Q0M2","snippet":{"publishedAt":"2025-05-13T11:05:08Z","channelId":"UCMSjsvDuobchFSw5U1SDaqg","title":"Maruti Dzire 6000 Km Review: Time Well Spent","description":"The Maruti Dzire was a part of our long term fleet for 4 months and we managed to drive it for over 6000 km. The subcompact sedan gave us a lot of good memories and in almost every situation, it proved its worth. In this video, we share our experience of the Maruti Dzire and discuss its pros and cons so you know if its right for you or not. \n\nChapters:\n\n00:00 Intro\n00:40 Simple and Practical\n02:49 Space for everything\n04:12 Effortless city drive\n05:40 Too Comfortable\n06:56 Effort-filled Highway Drives\n08:32 Small Issues\n10:41 Verdict \n\nMust watch:\n\nKia Seltos review: https://youtu.be/FbcvXQGwcnI?si=xVS8N-Ar4C3GlCDs \n\nKia Syros review: https://youtu.be/BSkrB6d9VT0?si=xerJC-Oeu9UUJW3v \n\nKia Syros variants explained: https://youtu.be/J1NRhi738mA?si=P4kuUkNsxK57qXk0 \n\nKia Sonet vs Citroen Basalt review: https://youtu.be/sfuHQEC7UkE?si=Q4UUw3aZ5I0CZx5J \n\nHead over to our channel for more such content! 👉https://www.youtube.com/zigwheels?sub...\n\nHead over to our channel for more such content! 👉https://www.youtube.com/cardekho?sub_...\n\nHead over to our channel for more such content! 👉https://www.youtube.com/BikeDekhoOffi...\n\nFollow us on Instagram: https://www.instagram.com/cardekhoindia/\nFollow us on Twitter: https://twitter.com/cardekho\nLike us on Facebook: https://www.facebook.com/CarDekho/\n\nDownload the CarDekho App:\n\nAndroid: https://tinyurl.com/CarDekhoApp\niOS: https://tinyurl.com/CarDekhoAppIOS\n\n#marutidzire #longterm #review #carreview","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/vtSVEp0sC0w/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/vtSVEp0sC0w/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/vtSVEp0sC0w/hqdefault.jpg","width":480,"height":360},"standard":{"url":"https://i.ytimg.com/vi/vtSVEp0sC0w/sddefault.jpg","width":640,"height":480},"maxres":{"url":"https://i.ytimg.com/vi/vtSVEp0sC0w/maxresdefault.jpg","width":1280,"height":720}},"channelTitle":"CarDekho","playlistId":"PLaXuF0mTbiYuvRH7r-CuRNCdyWDlSKlPS","position":1,"resourceId":{"kind":"youtube#video","videoId":"vtSVEp0sC0w"},"videoOwnerChannelTitle":"CarDekho","videoOwnerChannelId":"UCMSjsvDuobchFSw5U1SDaqg"},"contentDetails":{"videoId":"vtSVEp0sC0w","videoPublishedAt":"2025-05-19T14:30:41Z"}}],"pageInfo":{"totalResults":2,"resultsPerPage":25}}
                                                                                                                                                                                                                    
                                                                                                    

播放列表列表 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18691/%e6%92%ad%e6%94%be%e5%88%97%e8%a1%a8%e5%88%97%e8%a1%a8?playlistId=PLaXuF0mTbiYuvRH7r-CuRNCdyWDlSKlPS' --header 'Authorization: Bearer YOUR_API_KEY' 


    

从YouTube频道获取最近活动,包括每个记录帖子的视频上传、日期、缩略图、标题、描述和类型



                                                                            
GET https://www.zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18692/%e6%b8%a0%e9%81%93%e6%b4%bb%e5%8a%a8
                                                                            
                                                                        

渠道活动 - 端点功能

对象 描述
channelId [必需] Specifies the ID of a channel
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"kind":"youtube#activityListResponse","etag":"Dc3m5RTA7yNpJV3R0ZBLrP0ZtKQ","items":[{"kind":"youtube#activity","etag":"KITHXhzRNjmBKLvc5MXyDhccbS8","id":"MTE3NTYyMjkyOTAxNzU2MjI5MjkwMDAwODc1","snippet":{"publishedAt":"2025-08-26T17:28:10+00:00","channelId":"UCfM3zsQsOnfWNUppiycmBuw","title":"Stan (Live At 43rd Grammy Awards)","description":"Provided to YouTube by Universal Music Group\n\nStan (Live At 43rd Grammy Awards) · Eminem · Elton John\n\nSTANS (The Official Soundtrack)\n\n℗ 2001 Aftermath Entertainment/Interscope Records\n\nReleased on: 2025-08-26\n\nProducer: Recording Academy\nComposer Lyricist: Marshall Mathers\nComposer Lyricist: Dido Armstrong\nComposer Lyricist: P. Herman\nComposer Lyricist: John Reis\nComposer Lyricist: Andy Stamets\nComposer Lyricist: Peter Reichert\nComposer Lyricist: Paul O'Beirne\nComposer Lyricist: Adam David Willard\n\nAuto-generated by YouTube.","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/AvTRDSDLNms/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/AvTRDSDLNms/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/AvTRDSDLNms/hqdefault.jpg","width":480,"height":360},"standard":{"url":"https://i.ytimg.com/vi/AvTRDSDLNms/sddefault.jpg","width":640,"height":480},"maxres":{"url":"https://i.ytimg.com/vi/AvTRDSDLNms/maxresdefault.jpg","width":1280,"height":720}},"channelTitle":"EminemMusic","type":"playlistItem"}},{"kind":"youtube#activity","etag":"w9OwJzrBb2Tp6uCBZgJCMTEKp_o","id":"MTE3NTYyMjkwMzUxNzU2MjI5MDM1MDAwOTMw","snippet":{"publishedAt":"2025-08-26T17:23:55+00:00","channelId":"UCfM3zsQsOnfWNUppiycmBuw","title":"Still Don't Give A Fuck","description":"Provided to YouTube by Universal Music Group\n\nStill Don't Give A Fuck · Eminem\n\nThe Slim Shady LP\n\n℗ 1999 UMG Recordings, Inc.\n\nReleased on: 1999-01-01\n\nComposer Lyricist, Producer: Mark Bass\nCo- Producer, Producer, Composer Lyricist: Jeff Bass\nStudio Personnel, Producer, Mixer, Composer Lyricist: Eminem\nMixer, Studio Personnel, Mix Engineer: Mr. B\nProducer: Marshall Mathers\nCo- Producer, Producer: Marky Bass\n\nAuto-generated by YouTube.","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/7qy30k22sYE/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/7qy30k22sYE/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/7qy30k22sYE/hqdefault.jpg","width":480,"height":360},"standard":{"url":"https://i.ytimg.com/vi/7qy30k22sYE/sddefault.jpg","width":640,"height":480},"maxres":{"url":"https://i.ytimg.com/vi/7qy30k22sYE/maxresdefault.jpg","width":1280,"height":720}},"channelTitle":"EminemMusic","type":"playlistItem"}},{"kind":"youtube#activity","etag":"TWmzhFt8dvS5kDAYcdKnz_H5wMY","id":"MTE3NTYyMjg5OTkxNzU2MjI4OTk5MDAwNDgw","snippet":{"publishedAt":"2025-08-26T17:23:19+00:00","channelId":"UCfM3zsQsOnfWNUppiycmBuw","title":"Eminem - Everybody’s Looking At Me [Official Audio]","description":"'STANS' - The Official Soundtrack available now at https://eminem.lnk.to/STANSSoundtrack. Watch the film now streaming on Paramount+. \n\nEMINEM\nhttp://eminem.com\nhttp://facebook.com/eminem\nhttp://twitter.com/eminem\nhttp://instagram.com/eminem\n\nSHADY RECORDS\nhttp://shadyrecords.com\nhttp://facebook.com/shadyrecords\nhttp://twitter.com/shadyrecords\nhttp://instagram.com/shadyrecords\n\n#Eminem #STANS #Soundtrack","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/IKU-yswi8HU/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/IKU-yswi8HU/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/IKU-yswi8HU/hqdefault.jpg","width":480,"height":360},"standard":{"url":"https://i.ytimg.com/vi/IKU-yswi8HU/sddefault.jpg","width":640,"height":480},"maxres":{"url":"https://i.ytimg.com/vi/IKU-yswi8HU/maxresdefault.jpg","width":1280,"height":720}},"channelTitle":"EminemMusic","type":"playlistItem"}},{"kind":"youtube#activity","etag":"3SDYULJ1riS91fA4cZOT5brx7zE","id":"MTE3NTYyMjg5NzYxNzU2MjI4OTc2MDAwMzEy","snippet":{"publishedAt":"2025-08-26T17:22:56+00:00","channelId":"UCfM3zsQsOnfWNUppiycmBuw","title":"Say Goodbye Hollywood","description":"Provided to YouTube by Universal Music Group\n\nSay Goodbye Hollywood · Eminem\n\nThe Eminem Show\n\n℗ 2002 Aftermath Entertainment/Interscope Records\n\nReleased on: 2002-01-01\n\nProducer: Eminem\nDrumprogrammer: Mel-Man\nMixing Engineer, Recording Engineer: Steve King\nRecording Second Engineer: Mike Strange\nRecording Second Engineer: Urban Kris\nComposer Lyricist: Mike Elizondo\nComposer Lyricist: Luis Resto\nComposer Lyricist: Marshall Mathers\n\nAuto-generated by YouTube.","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/PKvqIFTCVYw/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/PKvqIFTCVYw/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/PKvqIFTCVYw/hqdefault.jpg","width":480,"height":360},"standard":{"url":"https://i.ytimg.com/vi/PKvqIFTCVYw/sddefault.jpg","width":640,"height":480},"maxres":{"url":"https://i.ytimg.com/vi/PKvqIFTCVYw/maxresdefault.jpg","width":1280,"height":720}},"channelTitle":"EminemMusic","type":"playlistItem"}},{"kind":"youtube#activity","etag":"dC06DQrls6rt4EMXtMUUBDnC-DU","id":"MTE3NTYyMjg5NTYxNzU2MjI4OTU2MDAwNjI1","snippet":{"publishedAt":"2025-08-26T17:22:36+00:00","channelId":"UCfM3zsQsOnfWNUppiycmBuw","title":"Eminem - Just Don't Give A F***","description":"REMASTERED IN HD!\nPlaylist Best of Eminem: https://goo.gl/AquNpo\nSubscribe for more: https://goo.gl/DxCrDV\n\nMusic video by Eminem performing Just Don't Give A F***. (C) 1999 Aftermath Entertainment/Interscope Records\n\n#Eminem #JustDontGiveAF #Remastered #Vevo #HipHop","thumbnails":{"default":{"url":"https://i.ytimg.com/vi/wIQWRHJq_kE/default.jpg","width":120,"height":90},"medium":{"url":"https://i.ytimg.com/vi/wIQWRHJq_kE/mqdefault.jpg","width":320,"height":180},"high":{"url":"https://i.ytimg.com/vi/wIQWRHJq_kE/hqdefault.jpg","width":480,"height":360},"standard":{"url":"https://i.ytimg.com/vi/wIQWRHJq_kE/sddefault.jpg","width":640,"height":480},"maxres":{"url":"https://i.ytimg.com/vi/wIQWRHJq_kE/maxresdefault.jpg","width":1280,"height":720}},"channelTitle":"EminemMusic","type":"playlistItem"}}],"nextPageToken":"CAUQAA","pageInfo":{"totalResults":20,"resultsPerPage":5}}
                                                                                                                                                                                                                    
                                                                                                    

渠道活动 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/9911/youtube%e5%86%85%e5%ae%b9%e6%a3%80%e7%b4%a2+api/18692/%e6%b8%a0%e9%81%93%e6%b4%bb%e5%8a%a8?channelId=UCfM3zsQsOnfWNUppiycmBuw' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 YouTube内容检索 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
标头
标头 描述
授权 [必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

简单透明的定价

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

🚀 企业版

起价
$ 10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

客户喜爱的功能

  • ✔︎ 仅支付成功请求
  • ✔︎ 7 天免费试用
  • ✔︎ 多语言支持
  • ✔︎ 一个 API 密钥,所有 API。
  • ✔︎ 直观的仪表板
  • ✔︎ 全面的错误处理
  • ✔︎ 开发者友好的文档
  • ✔︎ Postman 集成
  • ✔︎ 安全的 HTTPS 连接
  • ✔︎ 可靠的正常运行时间

YouTube内容检索 API FAQs

每个端点返回特定的数据类型:搜索端点提供视频标题、描述和缩略图;热门端点提供流行视频的详细信息;视频详细信息包括全面的元数据;频道详细信息提供频道统计信息;评论线程显示用户评论;播放列表详细信息和播放列表列表分别提供有关播放列表及其视频的信息

关键字段因终端而异:搜索返回标题、描述、缩略图和频道;趋势包括标题、描述和趋势统计;视频详情展示标题、统计和标签;频道详情提供名称、描述和统计;评论线程显示文本、作者和点赞;播放列表详情包括标题和视频数量

参数因端点而异 对于搜索,可以指定关键字 最大结果和顺序 对于趋势,可以按地区过滤 视频详情需要视频ID 渠道详情需要频道ID 评论线程可能包括视频ID和分页选项 播放列表详情和列表需要播放列表ID

响应数据以 JSON 格式结构化,每个端点返回一个特定对象。例如,视频详情端点返回一个包含标题、描述和统计信息等字段的单个对象,而播放列表列表返回一个视频对象数组,每个对象都有自己的字段集合

典型的用例包括内容分析、趋势监测和观众参与。开发者可以使用该API构建展示热门视频、分析频道表现或通过检索评论和视频详情促进社区讨论的应用程序

数据准确性通过与YouTube平台的直接集成得以维护,确保实时访问最新信息。API直接从YouTube获取数据,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 日之前提交请求,您的付款将在此时间范围内处理。


相关 API


您可能还喜欢