YouTube频道信息 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

关于API:  

YouTube频道信息API能够无缝访问关于YouTube频道、视频和社区互动的重要数据。它提供了强大的功能,比如频道信息、视频信息、频道动态和视频评论,增强了用户在各个平台和应用程序上的体验。

利用频道信息功能的开发者可以获取有关YouTube频道的全面细节,包括名称、描述、观看次数、创建日期和其他相关元数据。这使得他们可以在应用程序中展示重要的频道统计数据和信息,从而让用户轻松探索和发现新的内容创作者。

频道动态功能允许用户检索YouTube频道发布的最新内容,包括视频、标签、视频ID等。集成这些数据使得开发者能够在应用中创建个性化的动态,提供实时更新,并让用户了解他们喜欢的频道最新的上传和活动。

总之,YouTube频道信息API为开发者提供了强大的工具,以便无缝集成YouTube频道洞察、视频细节、社区更新和用户互动到他们的应用程序中,丰富整体用户体验。

 

 这个API接收什么,提供什么(输入/输出)?

它将接收参数并提供JSON。

 

这个API最常见的使用案例是什么?

  1. 内容推荐:分析热门搜索词,以根据用户的兴趣推荐相关视频

    营销洞察:获取热门话题的洞察,以便制定营销策略和内容创建

    趋势跟踪:跟踪随时间变化的趋势,以保持对最流行搜索主题和查询的了解

    竞争分析:将你的频道搜索表现与竞争对手进行比较,以识别改进领域

    受众互动:了解哪些话题与受众产生共鸣,并据此调整内容

     

你的计划是否有任何限制?

除了API调用次数,别无其他限制

API 文档

端点


要使用此端点,您必须在参数中指明频道的 ID



                                                                            
GET https://pr138-testing.zylalabs.com/api/4709/youtube+channel+information+api/5810/channel+information
                                                                            
                                                                        

频道信息 - 端点功能

对象 描述
channel_id [必需]
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"data":{"name":"MrBeast","avatar":"https:\/\/yt3.googleusercontent.com\/fxGKYucJAVme-Yz4fsdCroCFCrANWqw0ql4GYuvx8Uq4l_euNJHgE-w9MTkLQA805vWCi-kE0g=s160-c-k-c0x00ffffff-no-rj","banner":"https:\/\/yt3.googleusercontent.com\/NP3nTQ3kxLiXV-kLXKS2zaNL6ESMMBv74m-d5a--q5ThgLD6I-IyqLwAbj-AbClWNbORBg3Pcg=w1707-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj","channelId":"UCX6OQ3DkcsbYNE6H8uQQuVA","country":"United States","description":"SUBSCRIBE FOR A COOKIE!\n\nAccomplishments:\n- Raised $20,000,000 To Plant 20,000,000 Trees\n- Removed 30,000,000 pounds of trash from the ocean\n- Helped 2,000 people walk again\n- Helped 1,000 blind people see\n- Helped 1,000 deaf people hear\n- Built wells in Africa\n- Built and gave away 100 houses\n- Adopted every dog in a shelter (twice)\n- Given millions to charity\n- Started my own snack company Feastables\n- Started my own software company Viewstats\n- Started Lunchly, a tasty, better-for-you lunch option\n- Gave away a private island (twice)\n- Gave away 1 million meals\n- Gave away a chocolate factory\n- Gave away a private jet\n- I counted to 100k\n- Ran a marathon in the world's largest shoes\n- Survived 50 hours in Antarctica\n- Recreated Squid Game in real life\n- Created the largest competition show with 1000 people (Beast Games)\n- Gave $5,000,000 to one person\n- Passed T-Series to become most subscribed YouTube channel \ud83e\udd79\n\nyou get the point haha, I appreciate all of you so much :)\n","subscriberCount":"336M subscribers","viewCount":"66,755,496,500 views","joinedDate":"Joined 19 Feb 2012","canonicalUrl":"http:\/\/www.youtube.com\/@MrBeast","links":[{"title":"Follow","url":"instagram.com\/mrbeast","favicon":null},{"title":"Twitter","url":"twitter.com\/MrBeast","favicon":null}]}}
                                                                                                                                                                                                                    
                                                                                                    

频道信息 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/4709/youtube+channel+information+api/5810/channel+information?channel_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

要使用此端点,用户必须在参数中指明频道的ID



                                                                            
GET https://pr138-testing.zylalabs.com/api/4709/youtube+channel+information+api/5811/channel+feed
                                                                            
                                                                        

频道动态 - 端点功能

对象 描述
channel_id [必需] Indicates channel ID
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"videos":[{"title":"Beat Ronaldo, Win $1,000,000","label":"Beat Ronaldo, Win $1,000,000 by MrBeast 149,219,230 views 13 days ago 22 minutes","videoId":"0BjlBnfHcHM","thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/0BjlBnfHcHM\/default.jpg","width":120,"height":90},{"url":"https:\/\/i.ytimg.com\/vi\/0BjlBnfHcHM\/mqdefault.jpg","width":320,"height":180},{"url":"https:\/\/i.ytimg.com\/vi\/0BjlBnfHcHM\/hqdefault.jpg","width":480,"height":360},{"url":"https:\/\/i.ytimg.com\/vi\/0BjlBnfHcHM\/sddefault.jpg","width":640,"height":480},{"url":"https:\/\/i.ytimg.com\/vi\/0BjlBnfHcHM\/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLDGFApo-v1fxvb1-7kdcE56XI-M_Q","width":686,"height":386}],"viewCount":"149,219,230 views","length":"22:45"},{"title":"$1 vs $500,000 Experiences!","label":"$1 vs $500,000 Experiences! by MrBeast 137,038,277 views 1 month ago 17 minutes","videoId":"Xj0Jtjg3lHQ","thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/Xj0Jtjg3lHQ\/default.jpg","width":120,"height":90},{"url":"https:\/\/i.ytimg.com\/vi\/Xj0Jtjg3lHQ\/mqdefault.jpg","width":320,"height":180},{"url":"https:\/\/i.ytimg.com\/vi\/Xj0Jtjg3lHQ\/hqdefault.jpg","width":480,"height":360},{"url":"https:\/\/i.ytimg.com\/vi\/Xj0Jtjg3lHQ\/sddefault.jpg","width":640,"height":480},{"url":"https:\/\/i.ytimg.com\/vi\/Xj0Jtjg3lHQ\/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLAvn2AkEjpRZAI14qopqy2DYLs1lA","width":686,"height":386}],"viewCount":"137,038,277 views","length":"17:40"},{"title":"7 Days Exploring An Underground City","label":"7 Days Exploring An Underground City by MrBeast 104,788,283 views 2 months ago 20 minutes","videoId":"bn0Kh9c4Zv4","thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/bn0Kh9c4Zv4\/default.jpg","width":120,"height":90},{"url":"https:\/\/i.ytimg.com\/vi\/bn0Kh9c4Zv4\/mqdefault.jpg","width":320,"height":180},{"url":"https:\/\/i.ytimg.com\/vi\/bn0Kh9c4Zv4\/hqdefault.jpg","width":480,"height":360},{"url":"https:\/\/i.ytimg.com\/vi\/bn0Kh9c4Zv4\/sddefault.jpg","width":640,"height":480},{"url":"https:\/\/i.ytimg.com\/vi\/bn0Kh9c4Zv4\/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLC232khtyQ7i2Y1B3cLgxI6xOg4YQ","width":686,"height":386}],"viewCount":"104,788,283 views","length":"20:35"},{"title":"100 Identical Twins Fight For $250,000","label":"100 Identical Twins Fight For $250,000 by MrBeast 117,721,009 views 2 months ago 35 minutes","videoId":"snX5YyflrGw","thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/snX5YyflrGw\/default.jpg","width":120,"height":90},{"url":"https:\/\/i.ytimg.com\/vi\/snX5YyflrGw\/mqdefault.jpg","width":320,"height":180},{"url":"https:\/\/i.ytimg.com\/vi\/snX5YyflrGw\/hqdefault.jpg","width":480,"height":360},{"url":"https:\/\/i.ytimg.com\/vi\/snX5YyflrGw\/sddefault.jpg","width":640,"height":480},{"url":"https:\/\/i.ytimg.com\/vi\/snX5YyflrGw\/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLDOPwDRGY0pTy6zpxaAeO989bUTlg","width":686,"height":386}],"viewCount":"117,721,009 views","length":"35:40"},{"title":"Men Vs Women Survive The Wilderness For $500,000","label":"Men Vs Women Survive The Wilderness For $500,000 by MrBeast 136,250,072 views 3 months ago 31 minutes","videoId":"aRcUVhVlSHg","thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/aRcUVhVlSHg\/default.jpg","width":120,"height":90},{"url":"https:\/\/i.ytimg.com\/vi\/aRcUVhVlSHg\/mqdefault.jpg","width":320,"height":180},{"url":"https:\/\/i.ytimg.com\/vi\/aRcUVhVlSHg\/hqdefault.jpg","width":480,"height":360},{"url":"https:\/\/i.ytimg.com\/vi\/aRcUVhVlSHg\/sddefault.jpg","width":640,"height":480},{"url":"https:\/\/i.ytimg.com\/vi\/aRcUVhVlSHg\/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLDESFGKE2IcnmYjDS2eVsei0aRCng","width":686,"height":386}],"viewCount":"136,250,072 views","length":"31:48"},{"title":"7 Days Stranded In A Cave","label":"7 Days Stranded In A Cave by MrBeast 131,134,656 views 3 months ago 17 minutes","videoId":"ndAQfTzlVjc","thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/ndAQfTzlVjc\/default.jpg","width":120,"height":90},{"url":"https:\/\/i.ytimg.com\/vi\/ndAQfTzlVjc\/mqdefault.jpg","width":320,"height":180},{"url":"https:\/\/i.ytimg.com\/vi\/ndAQfTzlVjc\/hqdefault.jpg","width":480,"height":360},{"url":"https:\/\/i.ytimg.com\/vi\/ndAQfTzlVjc\/sddefault.jpg","width":640,"height":480},{"url":"https:\/\/i.ytimg.com\/vi\/ndAQfTzlVjc\/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLD0CNI4zRzZw93OIzZPHH-W4QwomA","width":686,"height":386}],"viewCount":"131,134,656 views","length":"17:59"},{"title":"Survive 100 Days In Nuclear Bunker, Win $500,000","label":"Survive 100 Days In Nuclear Bunker, Win $500,000 by MrBeast 232,187,299 views 4 months ago 32 minutes","videoId":"UPrkC1LdlLY","thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/UPrkC1LdlLY\/default.jpg","width":120,"height":90},{"url":"https:\/\/i.ytimg.com\/vi\/UPrkC1LdlLY\/mqdefault.jpg","width":320,"height":180},{"url":"https:\/\/i.ytimg.com\/vi\/UPrkC1LdlLY\/hqdefault.jpg","width":480,"height":360},{"url":"https:\/\/i.ytimg.com\/vi\/UPrkC1LdlLY\/sddefault.jpg","width":640,"height":480},{"url":"https:\/\/i.ytimg.com\/vi\/UPrkC1LdlLY\/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLB4figWsby4pTUOMlfbBLSpcUEBKA","width":686,"height":386}],"viewCount":"232,187,299 views","length":"32:21"},{"title":"50 YouTubers Fight For $1,000,000","label":"50 YouTubers Fight For $1,000,000 by MrBeast 293,596,686 views 5 months ago 41 minutes","videoId":"4SNThp0YiU4","thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/4SNThp0YiU4\/default.jpg","width":120,"height":90},{"url":"https:\/\/i.ytimg.com\/vi\/4SNThp0YiU4\/mqdefault.jpg","width":320,"height":180},{"url":"https:\/\/i.ytimg.com\/vi\/4SNThp0YiU4\/hqdefault.jpg","width":480,"height":360},{"url":"https:\/\/i.ytimg.com\/vi\/4SNThp0YiU4\/sddefault.jpg","width":640,"height":480},{"url":"https:\/\/i.ytimg.com\/vi\/4SNThp0YiU4\/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLDbD2HjO1xCb1h0_OKqYarA-3O5PA","width":686,"height":386}],"viewCount":"293,596,686 views","length":"41:27"},{"title":"I Built 100 Houses And Gave Them Away!","label":"I Built 100 Houses And Gave Them Away! by MrBeast 149,165,492 views 5 months ago 9 minutes, 36 seconds","videoId":"KkCXLABwHP0","thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/KkCXLABwHP0\/default.jpg","width":120,"height":90},{"url":"https:\/\/i.ytimg.com\/vi\/KkCXLABwHP0\/mqdefault.jpg","width":320,"height":180},{"url":"https:\/\/i.ytimg.com\/vi\/KkCXLABwHP0\/hqdefault.jpg","width":480,"height":360},{"url":"https:\/\/i.ytimg.com\/vi\/KkCXLABwHP0\/sddefault.jpg","width":640,"height":480},{"url":"https:\/\/i.ytimg.com\/vi\/KkCXLABwHP0\/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLDF1l5pPcwqtyRqf4Gq0q1CYX2YHA","width":686,"height":386}],"viewCount":"149,165,492 views","length":"9:36"},{"title":"World\u2019s Deadliest Obstacle Course!","label":"World\u2019s Deadliest Obstacle Course! by MrBeast 252,083,386 views 5 months ago 28 minutes","videoId":"PWirijQkH4M","thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/PWirijQkH4M\/default.jpg","width":120,"height":90},{"url":"https:\/\/i.ytimg.com\/vi\/PWirijQkH4M\/mqdefault.jpg","width":320,"height":180},{"url":"https:\/\/i.ytimg.com\/vi\/PWirijQkH4M\/hqdefault.jpg","width":480,"height":360},{"url":"https:\/\/i.ytimg.com\/vi\/PWirijQkH4M\/sddefault.jpg","width":640,"height":480},{"url":"https:\/\/i.ytimg.com\/vi\/PWirijQkH4M\/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLDTbKfvHKuBTFR_5k8xD8wDntTeYQ","width":686,"height":386}],"viewCount":"252,083,386 views","length":"28:25"},{"title":"$10,000 Every Day You Survive In The Wilderness","label":"$10,000 Every Day You Survive In The Wilderness by MrBeast 222,787,040 views 6 months ago 26 minutes","videoId":"U_LlX4t0A9I","thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/U_LlX4t0A9I\/default.jpg","width":120,"height":90},{"url":"https:\/\/i.ytimg.com\/vi\/U_LlX4t0A9I\/mqdefault.jpg","width":320,"height":180},{"url":"https:\/\/i.ytimg.com\/vi\/U_LlX4t0A9I\/hqdefault.jpg","width":480,"height":360},{"url":"https:\/\/i.ytimg.com\/vi\/U_LlX4t0A9I\/sddefault.jpg","width":640,"height":480},{"url":"https:\/\/i.ytimg.com\/vi\/U_LlX4t0A9I\/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLAgEUm04gwLLxRrA8ntpIR8I7MLkg","width":686,"height":386}],"viewCount":"222,787,040 views","length":"26:10"},{"title":"Protect The Yacht, Keep It!","label":"Protect The Yacht, Keep It! by MrBeast 135,113,765 views 7 months ago 15 minutes","videoId":"F6PqxbvOCUI","thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/F6PqxbvOCUI\/default.jpg","width":120,"height":90},{"url":"https:\/\/i.ytimg.com\/vi\/F6PqxbvOCUI\/mqdefault.jpg","width":320,"height":180},{"url":"https:\/\/i.ytimg.com\/vi\/F6PqxbvOCUI\/hqdefault.jpg","width":480,"height":360},{"url":"https:\/\/i.ytimg.com\/vi\/F6PqxbvOCUI\/sddefault.jpg","width":640,"height":480},{"url":"https:\/\/i.ytimg.com\/vi\/F6PqxbvOCUI\/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLAY9BvBKmjIRfapST8j6oVbez5R3A","width":686,"height":386}],"viewCount":"135,113,765 views","length":"15:08"},{"title":"In 10 Minutes This Room Will Explode!","label":"In 10 Minutes This Room Will Explode! by MrBeast 137,089,672 views 7 months ago 10 minutes","videoId":"Pv0iVoSZzN8","thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/Pv0iVoSZzN8\/default.jpg","width":120,"height":90},{"url":"https:\/\/i.ytimg.com\/vi\/Pv0iVoSZzN8\/mqdefault.jpg","width":320,"height":180},{"url":"https:\/\/i.ytimg.com\/vi\/Pv0iVoSZzN8\/hqdefault.jpg","width":480,"height":360},{"url":"https:\/\/i.ytimg.com\/vi\/Pv0iVoSZzN8\/sddefault.jpg","width":640,"height":480},{"url":"https:\/\/i.ytimg.com\/vi\/Pv0iVoSZzN8\/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLAQWhO9RdgGDa4OcoYPBKWPtIOVEQ","width":686,"height":386}]}],"_note":"Response truncated for documentation purposes"}
                                                                                                                                                                                                                    
                                                                                                    

频道动态 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/4709/youtube+channel+information+api/5811/channel+feed?channel_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

要使用此端点,您必须在参数中指定视频的ID和搜索类型(热门或最新)



                                                                            
GET https://pr138-testing.zylalabs.com/api/4709/youtube+channel+information+api/5812/video+comments
                                                                            
                                                                        

视频评论 - 端点功能

对象 描述
video_id [必需]
search_type [必需]
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"comments":[{"commentId":"UgxO3MAE8SAYZv7OLJt4AaABAg","author":"@FallenAngel53","authorThumbnails":"https:\/\/yt3.ggpht.com\/yWNDD17PgQpQ-uS_DM5HpTQxhYrawmKAjmHmUKp1k5HnMRb4ndP0zUhv-ou6z4FBaREXGTJP=s88-c-k-c0x00ffffff-no-rj","authorId":"UCugQW4Kyb2RgFCrETfI9uXA","text":"1:20 tbf I could use the sock device as I can\u2019t do it with arthritis anymore","publishedTime":"1 year ago","likesCount":"72"},{"commentId":"Ugwl69MkwIXf1NfKfmV4AaABAg","author":"@JayNohh","authorThumbnails":"https:\/\/yt3.ggpht.com\/io3oTqkunAd8Xv0qMA5oxPE0TolgZ5KDy0QPCSGDYEDDTGGXuEUKfEA3M1yqk7-hZfIT4483O9E=s88-c-k-c0x00ffffff-no-rj","authorId":"UC3N-mBHxNIn6arfxk3blhEw","text":"I love this guy's humorous way of showing common sense.","publishedTime":"1 year ago","likesCount":"665"},{"commentId":"UgyNN1p_M9bfIPpmCr54AaABAg","author":"@jatnarivas8741","authorThumbnails":"https:\/\/yt3.ggpht.com\/ytc\/AIdro_mDzaUJwHoJQbW3qXSCEL5gF3HiCQBq89Q7H-W5Vxk=s88-c-k-c0x00ffffff-no-rj","authorId":"UCP_-Jc-xHqiSvTN7wasPnxw","text":"I think that the device to wear the socks is meant for people with limited mobility","publishedTime":"1 year ago","likesCount":"1K"},{"commentId":"UgzG_a_11ovFABDCX-p4AaABAg","author":"@lscales6131","authorThumbnails":"https:\/\/yt3.ggpht.com\/ytc\/AIdro_la-H9d58afKmA1gx1QVtyU-KPQL-P_-zFly6BX3pJlvct2ymNDOK1_281YXJGJXUfWug=s88-c-k-c0x00ffffff-no-rj","authorId":"UC4v7jADsZb7wdbdJsNFf9ww","text":"You know you\u2019ve got something when you don\u2019t say a word and you\u2019re still funny.","publishedTime":"1 year ago","likesCount":"380"},{"commentId":"UgwVGUDeuP2uxcnc3NB4AaABAg","author":"@bensheekey1399","authorThumbnails":"https:\/\/yt3.ggpht.com\/ytc\/AIdro_k2Z6xibrg89ceTOo7QwIhmWgTtrF_4kXgPI5mFtPQPS_pSZElk3qsj1WdP_NCQ-9WqQw=s88-c-k-c0x00ffffff-no-rj","authorId":"UCJvKYm0EDVbvB62W_OvelWw","text":"I think the funniest part of this, is that these people actually think these are life-hacks","publishedTime":"1 year ago","likesCount":"144"},{"commentId":"UgzOTZvyVy9G-je2ezB4AaABAg","author":"@rachelb.1030","authorThumbnails":"https:\/\/yt3.ggpht.com\/ytc\/AIdro_lFKMvPRKINLvkdvUywQp643bng_116EbauNPsGSbw77EM=s88-c-k-c0x00ffffff-no-rj","authorId":"UCNe7afea60JhKJhFzX0VwhA","text":"I like how he doesn't say anything but his facial expressions & take on each video makes me \ud83d\ude02","publishedTime":"1 year ago","likesCount":"162"},{"commentId":"UgwBbCHHclHeXeBG44R4AaABAg","author":"@ctianas","authorThumbnails":"https:\/\/yt3.ggpht.com\/ytc\/AIdro_mMZQXduG_yPqt4R2cpiq5CLiGIi-Jsy2MrKWKGSpQ=s88-c-k-c0x00ffffff-no-rj","authorId":"UCU8H-T-6OCU6DuwHytvBcpw","text":"the socks device is actually developed for old people or people who cannot bend. it is extremely useful, mainly during winter.","publishedTime":"1 year ago","likesCount":"155"},{"commentId":"Ugz6VpaAi7N0Z9cbdqB4AaABAg","author":"@silverredwing20","authorThumbnails":"https:\/\/yt3.ggpht.com\/ytc\/AIdro_mYZG5vwS_xZTRQBsUr744MxlaeSoTB_H7LaEJ3HOegaA=s88-c-k-c0x00ffffff-no-rj","authorId":"UCOcUDiKXsZep8xc4Pado5dg","text":"He's definitely saying \"Why bother with the hacks if you can just do this?\" while showing the easier methods","publishedTime":"1 year ago","likesCount":"75"},{"commentId":"Ugz2SR-Hw55Pg4ptdMF4AaABAg","author":"@BattleBound","authorThumbnails":"https:\/\/yt3.ggpht.com\/2BDzvh79PqovuFqEM6rbgWzcK7kPXk2p3skdBUiSEQ3qQ0CeluIfwv49T1Z9CM4WxOa7_QNIqg=s88-c-k-c0x00ffffff-no-rj","authorId":"UCdrfn6XiyH5CBDGf7UmZG2w","text":"The sock thing is legit. If you're disabled, you'd be amazed how hard it is to just do that.","publishedTime":"1 year ago","likesCount":"312"},{"commentId":"UgwGm29NxDWVAW_lqIN4AaABAg","author":"@ZBot316","authorThumbnails":"https:\/\/yt3.ggpht.com\/ytc\/AIdro_kyl6_xoS7W0IBJBgfspHYtrh6FmscKsUL5kRHPN_dQX2E=s88-c-k-c0x00ffffff-no-rj","authorId":"UCF-NJAA0Qx3KjZ7GAvOi1tA","text":"This dude is a legend for being able to convey so much derision without having to say a single word.","publishedTime":"10 months ago (edited)","likesCount":"19"},{"commentId":"UgzQVk-XHBmMeppS5YZ4AaABAg","author":"@doomsdayaddams2894","authorThumbnails":"https:\/\/yt3.ggpht.com\/ytc\/AIdro_njXIvsA2CNw39siE02ldzeLS0sfF3pWyfW1hpbBA=s88-c-k-c0x00ffffff-no-rj","authorId":"UCZM1IaYaByCBxxuU86rdIDg","text":"How on earth would people get charger cords tangled up in their mug handles and shoelaces in the first place?","publishedTime":"1 year ago","likesCount":"73"},{"commentId":"UgyEfHkOGNtB4MiithF4AaABAg","author":"@feiery","authorThumbnails":"https:\/\/yt3.ggpht.com\/ytc\/AIdro_kLq01T6eh3bmRZlaC2XR69-hZPNnmD2NS1h5oC4hS0Sw=s88-c-k-c0x00ffffff-no-rj","authorId":"UChT-chxosQDqJFWlZ2_jHiQ","text":"The lime slicer the girl was using had dull blades. It\u2019s actually a tool used in bars to slice a large amount of lemons and limes in a short time.","publishedTime":"1 year ago","likesCount":"46"},{"commentId":"UgzIUx1NnmdKx6tHB0R4AaABAg","author":"@Mrs.P.-J.","authorThumbnails":"https:\/\/yt3.ggpht.com\/ytc\/AIdro_kd_vSAbMjBrGsyt9PnqFaeRwGGXpUlXVptQ5FB_OUqhSo=s88-c-k-c0x00ffffff-no-rj","authorId":"UCYpMWDLlPIy47Fz-kUZbdsA","text":"Too funny. You know what they say, \"Common sense is so uncommon it should be classified as a superpower!\"","publishedTime":"1 year ago","likesCount":"49"},{"commentId":"UgwiMVUZ6dJDk_ZILDV4AaABAg","author":"@ResurgentRaven","authorThumbnails":"https:\/\/yt3.ggpht.com\/8JeEzq4rvwVCwosb07abbCdpIJaydTRYzsaM_mIntQsVup_ExazIzJW6peMK7fWFayG_mai0=s88-c-k-c0x00ffffff-no-rj","authorId":"UCFTiF8JGLEl91DOr61JwFwQ","text":"This guy's videos encapsulate the quote, \"Don't make this more complicated than it needs to be.\"","publishedTime":"1 year ago","likesCount":"52"},{"commentId":"Ugzd53ktJv-7CwG7IDR4AaABAg","author":"@anjalipal-xc2ii","authorThumbnails":"https:\/\/yt3.ggpht.com\/dPY1-riXjJuqJ7G8Uw8PzbyCKZuxCHxOrSRlQxEF1TTZEvVrgSbbEEwD99YvktluHM0NSGQWfA=s88-c-k-c0x00ffffff-no-rj","authorId":"UCttQxLqnogzE_yy3aRSuRxw","text":"protect this man at all costs","publishedTime":"1 year ago","likesCount":"55"},{"commentId":"Ugx0VhKN5Xb-E4ZI2Ud4AaABAg","author":"@morelife8700","authorThumbnails":"https:\/\/yt3.ggpht.com\/ytc\/AIdro_lqudjpKnFdiJum111nOoSPboRljI1ElwYYaKBrNQek4g=s88-c-k-c0x00ffffff-no-rj","authorId":"UCIDEP7OdGiZGTMqS6eid5sQ","text":"Give this man his own show!!! \ud83d\ude05 Brilliant","publishedTime":"1 year ago","likesCount":"28"},{"commentId":"UgxwUf1an6c8IRIfpTZ4AaABAg","author":"@roowyrm9576","authorThumbnails":"https:\/\/yt3.ggpht.com\/ytc\/AIdro_l_5K0OM-xFNdvDNzh8fgGI3u-CDn5vlXf_E4qGx5xsxqY=s88-c-k-c0x00ffffff-no-rj","authorId":"UCK-v4EUR3lnZNAbINgaAvPg","text":"The sock gadget is actually designed for people (like me) who have a disability which prevents them from physically bedding to put socks on.\n\nOtherwise \ud83d\ude01\ud83d\ude02\ud83e\udd23\ud83d\ude02\ud83d\ude01","publishedTime":"1 year ago (edited)","likesCount":"54"},{"commentId":"Ugy0z0GfWNIRcwCCq0t4AaABAg","author":"@Fat_Pancake_Eater","authorThumbnails":"https:\/\/yt3.ggpht.com\/r5_xfEw-pUHCjrrvKKi_zT464dygyN7C7qfhBfp11hT6o6S0O6RBtYH47QgUyKmaaV7UFWJKvy8=s88-c-k-c0x00ffffff-no-rj","authorId":"UC45YKKezBjsK66XYG_fd3MQ","text":"Bro Khaby is literally the definition of \"Work smarter not harder\" \ud83e\udd37\u200d\u2642\ufe0f","publishedTime":"1 year ago","likesCount":"77"},{"commentId":"UgwUL8bXWRKZNUI2mUl4AaABAg","author":"@thetake_rct","authorThumbnails":"https:\/\/yt3.ggpht.com\/hPux8OT2KQLVKRE2MJl29gj1actyG6q-xSopxklIIkWaYNfvW6OxxknIbl_p7EmBWiHJ3zH40A=s88-c-k-c0x00ffffff-no-rj","authorId":"UCj-CkPOvs-eZA5vrjsbxRpA","text":"Why are the charging cables and scissors strung in the earcups? \ud83d\ude02\ud83d\ude02\ud83d\ude02","publishedTime":"1 year ago","likesCount":"68"},{"commentId":"UgwQCyuImKwjIXAZV9t4AaABAg","author":"@marksteiner507","authorThumbnails":"https:\/\/yt3.ggpht.com\/ytc\/AIdro_lTblweua_wSsoxgR1ILRb5-sTVPvV9mKvYxP3iaUU=s88-c-k-c0x00ffffff-no-rj","authorId":"UCQ8MwcmYCBRAVtj66VPBoaw","text":"Khaby has a mission in the world: to bring the logic back to humans","publishedTime":"7 months ago","likesCount":"22"}]}
                                                                                                                                                                                                                    
                                                                                                    

视频评论 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/4709/youtube+channel+information+api/5812/video+comments?video_id=Required&search_type=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

要使用此端点,必须在参数中指定视频的 ID



                                                                            
GET https://pr138-testing.zylalabs.com/api/4709/youtube+channel+information+api/12248/video+information
                                                                            
                                                                        

视频信息 - 端点功能

对象 描述
video_id [必需] Indicates a video ID
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"data":{"name":"Eminem - Not Afraid","description":"Music video by Eminem performing Not Afraid. (C) 2010 Aftermath Records\n#VEVOCertified on September 11, 2010.http:\/\/www.vevo.com\/certified \u00a0\u00a0\u00a0\/\u00a0vevocertified\u00a0\u00a0","channelUrl":"https:\/\/youtube.com\/\/@EminemVEVO","channelId":"UCfM3zsQsOnfWNUppiycmBuw","channelName":"EminemMusic","viewCount":"1,993,866,550 views","likesCount":"12M","publishDate":"4 Jun 2010","thumbnails":null,"formats":[{"url":null,"width":1920,"height":1080,"fps":24,"quality":"hd1080","qualityLabel":"1080p","contentLength":"40200574","mimeType":"video\/mp4; codecs=\"avc1.640028\"","durationMs":"258716"},{"url":null,"width":1920,"height":1080,"fps":24,"quality":"hd1080","qualityLabel":"1080p","contentLength":"26188828","mimeType":"video\/webm; codecs=\"vp9\"","durationMs":"258716"},{"url":null,"width":1920,"height":1080,"fps":24,"quality":"hd1080","qualityLabel":"1080p","contentLength":"18672685","mimeType":"video\/mp4; codecs=\"av01.0.08M.08\"","durationMs":"258716"},{"url":null,"width":1280,"height":720,"fps":24,"quality":"hd720","qualityLabel":"720p","contentLength":"12720243","mimeType":"video\/mp4; codecs=\"avc1.4d401f\"","durationMs":"258716"},{"url":null,"width":1280,"height":720,"fps":24,"quality":"hd720","qualityLabel":"720p","contentLength":"10842489","mimeType":"video\/webm; codecs=\"vp9\"","durationMs":"258716"},{"url":null,"width":1280,"height":720,"fps":24,"quality":"hd720","qualityLabel":"720p","contentLength":"11441124","mimeType":"video\/mp4; codecs=\"av01.0.05M.08\"","durationMs":"258716"},{"url":null,"width":854,"height":480,"fps":24,"quality":"large","qualityLabel":"480p","contentLength":"7185323","mimeType":"video\/mp4; codecs=\"avc1.4d401e\"","durationMs":"258716"},{"url":null,"width":854,"height":480,"fps":24,"quality":"large","qualityLabel":"480p","contentLength":"7262515","mimeType":"video\/webm; codecs=\"vp9\"","durationMs":"258716"},{"url":null,"width":854,"height":480,"fps":24,"quality":"large","qualityLabel":"480p","contentLength":"6787012","mimeType":"video\/mp4; codecs=\"av01.0.04M.08\"","durationMs":"258716"},{"url":null,"width":640,"height":360,"fps":24,"quality":"medium","qualityLabel":"360p","contentLength":"4762116","mimeType":"video\/mp4; codecs=\"avc1.4d401e\"","durationMs":"258716"},{"url":null,"width":640,"height":360,"fps":24,"quality":"medium","qualityLabel":"360p","contentLength":"5194894","mimeType":"video\/webm; codecs=\"vp9\"","durationMs":"258716"},{"url":null,"width":640,"height":360,"fps":24,"quality":"medium","qualityLabel":"360p","contentLength":"4281778","mimeType":"video\/mp4; codecs=\"av01.0.01M.08\"","durationMs":"258716"},{"url":null,"width":426,"height":240,"fps":24,"quality":"small","qualityLabel":"240p","contentLength":"2794648","mimeType":"video\/mp4; codecs=\"avc1.4d4015\"","durationMs":"258716"},{"url":null,"width":426,"height":240,"fps":24,"quality":"small","qualityLabel":"240p","contentLength":"3211886","mimeType":"video\/webm; codecs=\"vp9\"","durationMs":"258716"},{"url":null,"width":426,"height":240,"fps":24,"quality":"small","qualityLabel":"240p","contentLength":"2525504","mimeType":"video\/mp4; codecs=\"av01.0.00M.08\"","durationMs":"258716"},{"url":null,"width":256,"height":144,"fps":24,"quality":"tiny","qualityLabel":"144p","contentLength":"1708522","mimeType":"video\/mp4; codecs=\"avc1.4d400c\"","durationMs":"258716"},{"url":null,"width":256,"height":144,"fps":24,"quality":"tiny","qualityLabel":"144p","contentLength":"2686038","mimeType":"video\/webm; codecs=\"vp9\"","durationMs":"258716"},{"url":null,"width":256,"height":144,"fps":24,"quality":"tiny","qualityLabel":"144p","contentLength":"1826735","mimeType":"video\/mp4; codecs=\"av01.0.00M.08\"","durationMs":"258716"},{"url":null,"width":null,"height":null,"fps":null,"quality":"tiny","qualityLabel":null,"contentLength":"4188842","mimeType":"audio\/mp4; codecs=\"mp4a.40.2\"","durationMs":"258786"},{"url":null,"width":null,"height":null,"fps":null,"quality":"tiny","qualityLabel":null,"contentLength":"1501072","mimeType":"audio\/webm; codecs=\"opus\"","durationMs":"258761"},{"url":null,"width":null,"height":null,"fps":null,"quality":"tiny","qualityLabel":null,"contentLength":"1974243","mimeType":"audio\/webm; codecs=\"opus\"","durationMs":"258761"},{"url":null,"width":null,"height":null,"fps":null,"quality":"tiny","qualityLabel":null,"contentLength":"3930349","mimeType":"audio\/webm; codecs=\"opus\"","durationMs":"258761"}],"captions":null,"caption_lang":null}}
                                                                                                                                                                                                                    
                                                                                                    

视频信息 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/4709/youtube+channel+information+api/12248/video+information?video_id=Required' --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

使用该API,用户必须指明频道或视频的ID

YouTube频道信息API允许用户访问与YouTube频道相关的分析数据和见解

有不同的计划以满足所有口味,包括一个小数量请求的免费试用,但您的速率受到限制以避免滥用服务

Zyla提供了几乎所有编程语言的多种集成方法。您可以根据需要使用这些代码与您的项目集成

API提供详细数据,例如频道统计信息(名称、描述、创建日期)、视频详情(标题、观看次数、评论)和用户互动指标(点赞、点踩、评论)

获取频道信息接口返回频道元数据,例如名称、描述、观看次数和创建日期 获取频道视频流接口提供最新视频的列表,包括标题、观看次数和视频ID 获取视频评论接口返回用户评论,包括作者详情、评论文本和点赞次数

关键字段包括“名称”、“描述”和“观看次数”用于频道信息;“标题”、“视频ID”和“缩略图”用于频道动态;以及“评论ID”、“作者”和“文本”用于视频评论。这些字段有助于识别和展示相关信息

响应数据采用JSON格式结构。例如,频道信息嵌套在“data”下,而视频评论则在“comments”下以数组形式组织。这种结构便于解析和集成到应用程序中

GET频道信息和GET频道信息源端点需要“channelId”参数 GET视频评论端点需要“videoId”和“searchType”(热门或最新)参数 这些参数有助于指定要检索的数据

获取频道信息接口提供频道统计和元数据 获取频道动态接口提供最新视频上传 获取视频评论接口检索特定视频的用户评论 增强用户参与度洞察

用户可以通过为与频道相关的端点指定不同的频道 ID 并选择视频评论的搜索类型(热门或最新)来自定义请求。这种灵活性允许根据用户需求进行量身定制的数据提取

数据直接来自YouTube的平台,确保准确性和相关性。API聚合来自频道和视频的公开信息,为开发者维护可靠的数据集。

典型的使用案例包括创建个性化内容推荐分析观众通过评论的参与度以及跟踪频道绩效指标开发者可以利用这些数据来增强用户体验并推动内容发现

一般常见问题

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


您可能还喜欢