{
"success": true,
"count": 10,
"durationMs": 335,
"data": [
{
"type": "video",
"videoId": "KTDJiVpSDTI",
"title": "Can You Trust MKBHD?",
"viewsText": null,
"views": null,
"publishedText": "1d ago",
"durationText": "14:19",
"durationSeconds": 859,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/KTDJiVpSDTI/hq720.jpg",
"channelName": "Marques Brownlee",
"channelId": "UCBJycsmduvYEL83R_U4JriQ",
"channelHandle": "@mkbhd",
"channelSubscribers": 21400000,
"url": "https://www.youtube.com/watch?v=KTDJiVpSDTI",
"channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
"rank": 1,
"source": "channel/videos",
"sourceValue": "@mkbhd",
"scrapedAt": "2026-11-19T18:19:55.064Z"
},
{
"type": "video",
"videoId": "hdMszZ2ah5Q",
"title": "Macbook PROLED Review: It's Not About That",
"viewsText": null,
"views": null,
"publishedText": "7d ago",
"durationText": "15:14",
"durationSeconds": 914,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/hdMszZ2ah5Q/hq720.jpg",
"channelName": "Marques Brownlee",
"channelId": "UCBJycsmduvYEL83R_U4JriQ",
"channelHandle": "@mkbhd",
"channelSubscribers": 21400000,
"url": "https://www.youtube.com/watch?v=hdMszZ2ah5Q",
"channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
"rank": 2,
"source": "channel/videos",
"sourceValue": "@mkbhd",
"scrapedAt": "2026-11-19T18:19:55.064Z"
},
{
"type": "video",
"videoId": "_x58r9TBois",
"title": "Meta VR Glasses: What Vision Pro 2 COULD Have Been!",
"viewsText": null,
"views": null,
"publishedText": "12d ago",
"durationText": "8:01",
"durationSeconds": 481,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/_x58r9TBois/hq720.jpg",
"channelName": "Marques Brownlee",
"channelId": "UCBJycsmduvYEL83R_U4JriQ",
"channelHandle": "@mkbhd",
"channelSubscribers": 21400000,
"url": "https://www.youtube.com/watch?v=_x58r9TBois",
"channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
"rank": 3,
"source": "channel/videos",
"sourceValue": "@mkbhd",
"scrapedAt": "2026-11-19T18:19:55.064Z"
},
{
"type": "video",
"videoId": "g6Die8gVFn0",
"title": "OLED iPad Mini is The Most Apple Product They've Ever Appled",
"viewsText": null,
"views": null,
"publishedText": "2w ago",
"durationText": "13:00",
"durationSeconds": 780,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/g6Die8gVFn0/hq720.jpg",
"channelName": "Marques Brownlee",
"channelId": "UCBJycsmduvYEL83R_U4JriQ",
"channelHandle": "@mkbhd",
"channelSubscribers": 21400000,
"url": "https://www.youtube.com/watch?v=g6Die8gVFn0",
"channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
"rank": 4,
"source": "channel/videos",
"sourceValue": "@mkbhd",
"scrapedAt": "2026-11-19T18:19:55.064Z"
},
{
"type": "video",
"videoId": "2reQut8WNGc",
"title": "Macbook PROLED XDR Impressions: They Said They Wouldn't!",
"viewsText": null,
"views": null,
"publishedText": "3w ago",
"durationText": "10:54",
"durationSeconds": 654,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/2reQut8WNGc/hq720.jpg",
"channelName": "Marques Brownlee",
"channelId": "UCBJycsmduvYEL83R_U4JriQ",
"channelHandle": "@mkbhd",
"channelSubscribers": 21400000,
"url": "https://www.youtube.com/watch?v=2reQut8WNGc",
"channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
"rank": 5,
"source": "channel/videos",
"sourceValue": "@mkbhd",
"scrapedAt": "2026-11-19T18:19:55.064Z"
},
{
"type": "video",
"videoId": "ESABTN4VtrA",
"title": "iPhone Duo Review: First Generation Fun!",
"viewsText": null,
"views": null,
"publishedText": "4w ago",
"durationText": "29:05",
"durationSeconds": 1745,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/ESABTN4VtrA/hq720.jpg",
"channelName": "Marques Brownlee",
"channelId": "UCBJycsmduvYEL83R_U4JriQ",
"channelHandle": "@mkbhd",
"channelSubscribers": 21400000,
"url": "https://www.youtube.com/watch?v=ESABTN4VtrA",
"channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
"rank": 6,
"source": "channel/videos",
"sourceValue": "@mkbhd",
"scrapedAt": "2026-11-19T18:19:55.064Z"
},
{
"type": "video",
"videoId": "scwlR0QHGOk",
"title": "The NEW Tesla Roadster: My Honest Reaction",
"viewsText": null,
"views": null,
"publishedText": "1mo ago",
"durationText": "22:45",
"durationSeconds": 1365,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/scwlR0QHGOk/hq720.jpg",
"channelName": "Marques Brownlee",
"channelId": "UCBJycsmduvYEL83R_U4JriQ",
"channelHandle": "@mkbhd",
"channelSubscribers": 21400000,
"url": "https://www.youtube.com/watch?v=scwlR0QHGOk",
"channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
"rank": 7,
"source": "channel/videos",
"sourceValue": "@mkbhd",
"scrapedAt": "2026-11-19T18:19:55.064Z"
},
{
"type": "video",
"videoId": "QVv3mQzlrN0",
"title": "Apple Homeview Impressions: Not Convinced!",
"viewsText": null,
"views": null,
"publishedText": "1mo ago",
"durationText": "11:47",
"durationSeconds": 707,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/QVv3mQzlrN0/hq720.jpg",
"channelName": "Marques Brownlee",
"channelId": "UCBJycsmduvYEL83R_U4JriQ",
"channelHandle": "@mkbhd",
"channelSubscribers": 21400000,
"url": "https://www.youtube.com/watch?v=QVv3mQzlrN0",
"channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
"rank": 8,
"source": "channel/videos",
"sourceValue": "@mkbhd",
"scrapedAt": "2026-11-19T18:19:55.064Z"
},
{
"type": "video",
"videoId": "_0G4OG39XjI",
"title": "WTF is a Googlebook?",
"viewsText": null,
"views": null,
"publishedText": "1mo ago",
"durationText": "14:13",
"durationSeconds": 853,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/_0G4OG39XjI/hq720.jpg",
"channelName": "Marques Brownlee",
"channelId": "UCBJycsmduvYEL83R_U4JriQ",
"channelHandle": "@mkbhd",
"channelSubscribers": 21400000,
"url": "https://www.youtube.com/watch?v=_0G4OG39XjI",
"channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
"rank": 9,
"source": "channel/videos",
"sourceValue": "@mkbhd",
"scrapedAt": "2026-11-19T18:19:55.064Z"
},
{
"type": "video",
"videoId": "3iRUwVzRDZQ",
"title": "Xiaomi 18 Fold: How Does This Happen?",
"viewsText": null,
"views": null,
"publishedText": "1mo ago",
"durationText": "10:47",
"durationSeconds": 647,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/3iRUwVzRDZQ/hq720.jpg",
"channelName": "Marques Brownlee",
"channelId": "UCBJycsmduvYEL83R_U4JriQ",
"channelHandle": "@mkbhd",
"channelSubscribers": 21400000,
"url": "https://www.youtube.com/watch?v=3iRUwVzRDZQ",
"channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
"rank": 10,
"source": "channel/videos",
"sourceValue": "@mkbhd",
"scrapedAt": "2026-11-19T18:19:55.065Z"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15093/youtube+videos+and+channels+api/40107/get+channel+videos?channel=@mkbhd&tab=videos&sort=latest&max_results=10' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"count": 10,
"durationMs": 1674,
"data": [
{
"type": "video",
"videoId": "ZZXSGt_frg0",
"title": "Lab Leak or Nuclear War - What Comes Next? | PBD Podcast #893",
"viewsText": null,
"views": null,
"publishedText": "2h ago",
"durationText": "1:48:20",
"durationSeconds": 6500,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/ZZXSGt_frg0/hq720.jpg",
"url": "https://www.youtube.com/watch?v=ZZXSGt_frg0",
"channelName": null,
"channelId": null,
"channelUrl": null,
"rank": 1,
"source": "search",
"sourceValue": "podcast",
"scrapedAt": "2026-11-19T18:20:12.280Z"
},
{
"type": "video",
"videoId": "Fbb5gX2CvoM",
"title": "Cybertruck Ending Production Next Year!",
"viewsText": null,
"views": null,
"publishedText": "6d ago",
"durationText": "1:39:12",
"durationSeconds": 5952,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/Fbb5gX2CvoM/hq720.jpg",
"url": "https://www.youtube.com/watch?v=Fbb5gX2CvoM",
"channelName": null,
"channelId": null,
"channelUrl": null,
"rank": 2,
"source": "search",
"sourceValue": "podcast",
"scrapedAt": "2026-11-19T18:20:12.280Z"
},
{
"type": "video",
"videoId": "PBUMOJ3M0DQ",
"title": "#1 Communication Expert: How to Stop Sounding Insecure and Get People to Take You Seriously",
"viewsText": null,
"views": null,
"publishedText": "8h ago",
"durationText": "1:02:25",
"durationSeconds": 3745,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/PBUMOJ3M0DQ/hq720.jpg",
"url": "https://www.youtube.com/watch?v=PBUMOJ3M0DQ",
"channelName": null,
"channelId": null,
"channelUrl": null,
"rank": 3,
"source": "search",
"sourceValue": "podcast",
"scrapedAt": "2026-11-19T18:20:12.280Z"
},
{
"type": "video",
"videoId": "e0lSmPjIXvg",
"title": "Joe Kent - The Real Reason Republicans Lost the Midterms | SRS #356",
"viewsText": null,
"views": null,
"publishedText": "6d ago",
"durationText": "2:13:01",
"durationSeconds": 7981,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/e0lSmPjIXvg/hq720.jpg",
"url": "https://www.youtube.com/watch?v=e0lSmPjIXvg",
"channelName": null,
"channelId": null,
"channelUrl": null,
"rank": 4,
"source": "search",
"sourceValue": "podcast",
"scrapedAt": "2026-11-19T18:20:12.280Z"
},
{
"type": "video",
"videoId": "XJIKMZpzYeM",
"title": "Matthew McConaughey: Life Got Easy After I Learned This",
"viewsText": null,
"views": null,
"publishedText": "3w ago",
"durationText": "1:08:34",
"durationSeconds": 4114,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/XJIKMZpzYeM/hq720.jpg",
"url": "https://www.youtube.com/watch?v=XJIKMZpzYeM",
"channelName": null,
"channelId": null,
"channelUrl": null,
"rank": 5,
"source": "search",
"sourceValue": "podcast",
"scrapedAt": "2026-11-19T18:20:12.280Z"
},
{
"type": "video",
"videoId": "ydosgF-if8Y",
"title": "Dave Smith: “Trump Lied to Us!\" The Real Reason You're Paying For The Iran War",
"viewsText": null,
"views": null,
"publishedText": "9d ago",
"durationText": "2:27:43",
"durationSeconds": 8863,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/ydosgF-if8Y/hq720.jpg",
"url": "https://www.youtube.com/watch?v=ydosgF-if8Y",
"channelName": null,
"channelId": null,
"channelUrl": null,
"rank": 6,
"source": "search",
"sourceValue": "podcast",
"scrapedAt": "2026-11-19T18:20:12.280Z"
},
{
"type": "video",
"videoId": "6VTSAs4Rsck",
"title": "Mark Cuban: The Brutal Truth About The Next Market Crash!",
"viewsText": null,
"views": null,
"publishedText": "3w ago",
"durationText": "1:31:34",
"durationSeconds": 5494,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/6VTSAs4Rsck/hq720.jpg",
"url": "https://www.youtube.com/watch?v=6VTSAs4Rsck",
"channelName": null,
"channelId": null,
"channelUrl": null,
"rank": 7,
"source": "search",
"sourceValue": "podcast",
"scrapedAt": "2026-11-19T18:20:12.280Z"
},
{
"type": "video",
"videoId": "9tYfQtrTdTA",
"title": "The Greatest Ancient Mysteries Ever Discussed on Joe Rogan Podcast",
"viewsText": null,
"views": null,
"publishedText": "5mo ago",
"durationText": "1:04:19",
"durationSeconds": 3859,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/9tYfQtrTdTA/hq720.jpg",
"url": "https://www.youtube.com/watch?v=9tYfQtrTdTA",
"channelName": null,
"channelId": null,
"channelUrl": null,
"rank": 8,
"source": "search",
"sourceValue": "podcast",
"scrapedAt": "2026-11-19T18:20:12.280Z"
},
{
"type": "video",
"videoId": "SwQhKFMxmDY",
"title": "Change Your Brain: Neuroscientist Dr. Andrew Huberman | Rich Roll Podcast",
"viewsText": "Thanks for watching! Read all about Dr. Andrew Huberman here https://bit.ly/richroll533 Dr. Andrew Huberman is a ...",
"views": null,
"publishedText": "6y ago",
"durationText": "2:12:42",
"durationSeconds": 7962,
"isLive": true,
"thumbnail": "https://i.ytimg.com/vi/SwQhKFMxmDY/hq720.jpg",
"url": "https://www.youtube.com/watch?v=SwQhKFMxmDY",
"channelName": null,
"channelId": null,
"channelUrl": null,
"rank": 9,
"source": "search",
"sourceValue": "podcast",
"scrapedAt": "2026-11-19T18:20:12.280Z"
},
{
"type": "video",
"videoId": "TYzgVUoDNWE",
"title": "Big John Reveals Secrets Behind Playing At The Internet Invitational! | One Night with Steiny",
"viewsText": null,
"views": null,
"publishedText": "12d ago",
"durationText": "54:35",
"durationSeconds": 3275,
"isLive": false,
"thumbnail": "https://i.ytimg.com/vi/TYzgVUoDNWE/hq720.jpg",
"url": "https://www.youtube.com/watch?v=TYzgVUoDNWE",
"channelName": null,
"channelId": null,
"channelUrl": null,
"rank": 10,
"source": "search",
"sourceValue": "podcast",
"scrapedAt": "2026-11-19T18:20:12.280Z"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15093/youtube+videos+and+channels+api/40108/search+videos?query=podcast&sort=relevance&max_results=10&country=US' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"count": 1,
"durationMs": 1429,
"data": [
{
"type": "video",
"videoId": "dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"channelName": "Rick Astley",
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
"channelSubscribersText": "4.56M subscribers",
"views": 1838835171,
"durationSeconds": 213,
"likes": 19512286,
"commentsCountText": null,
"description": "The official video for “Never Gonna Give You Up” by Rick Astley. \n\nNever: The Autobiography 📚 OUT NOW! \nFollow this link to get your copy and listen to Rick’s ‘Never’ playlist ❤️ #RickAstleyNever\nhttps://linktr.ee/rickastleynever\n\n“Never Gonna Give You Up” was a global smash on its release in July 1987, topping the charts in 25 countries including Rick’s native UK and the US Billboard Hot 100. It also won the Brit Award for Best single in 1988. Stock Aitken and Waterman wrote and produced the track which was the lead-off single and lead track from Rick’s debut LP “Whenever You Need Somebody”. The album was itself a UK number one and would go on to sell over 15 million copies worldwide.\n\nThe legendary video was directed by Simon West – who later went on to make Hollywood blockbusters such as Con Air, Lara Croft – Tomb Raider and The Expendables 2. The video passed the 1bn YouTube views milestone on 28 July 2021.\n\nSubscribe to the official Rick Astley YouTube channel: https://RickAstley.lnk.to/YTSubID\n\nFollow Rick Astley:\nFacebook: https://RickAstley.lnk.to/FBFollowID \nTwitter: https://RickAstley.lnk.to/TwitterID \nInstagram: https://RickAstley.lnk.to/InstagramID \nWebsite: https://RickAstley.lnk.to/storeID \nTikTok: https://RickAstley.lnk.to/TikTokID\n\nListen to Rick Astley:\nSpotify: https://RickAstley.lnk.to/SpotifyID \nApple Music: https://RickAstley.lnk.to/AppleMusicID \nAmazon Music: https://RickAstley.lnk.to/AmazonMusicID \nDeezer: https://RickAstley.lnk.to/DeezerID \n\nLyrics:\nWe’re no strangers to love\nYou know the rules and so do I\nA full commitment’s what I’m thinking of\nYou wouldn’t get this from any other guy\n\nI just wanna tell you how I’m feeling\nGotta make you understand\n\nNever gonna give you up\nNever gonna let you down\nNever gonna run around and desert you\nNever gonna make you cry\nNever gonna say goodbye\nNever gonna tell a lie and hurt you\n\nWe’ve known each other for so long\nYour heart’s been aching but you’re too shy to say it\nInside we both know what’s been going on\nWe know the game and we’re gonna play it\n\nAnd if you ask me how I’m feeling\nDon’t tell me you’re too blind to see\n\nNever gonna give you up\nNever gonna let you down\nNever gonna run around and desert you\nNever gonna make you cry\nNever gonna say goodbye\nNever gonna tell a lie and hurt you\n\n#RickAstley #NeverGonnaGiveYouUp #WheneverYouNeedSomebody #OfficialMusicVideo",
"keywords": [
"rick astley",
"Never Gonna Give You Up",
"nggyu",
"never gonna give you up lyrics",
"rick rolled",
"Rick Roll",
"rick astley official",
"rickrolled",
"Fortnite song",
"Fortnite event",
"Fortnite dance",
"fortnite never gonna give you up",
"rick roll",
"rickrolling",
"rick rolling",
"never gonna give you up",
"80s music",
"rick astley new",
"animated video",
"rickroll",
"meme songs",
"never gonna give u up lyrics",
"Rick Astley 2022",
"never gonna let you down",
"animated",
"rick rolls 2022",
"never gonna give you up karaoke"
],
"category": "Music",
"dateText": "Oct 24, 2009",
"publishedAt": "2009-10-25T06:57:33.000Z",
"uploadedAt": "2009-10-25T06:57:33.000Z",
"isLiveContent": false,
"isFamilySafe": true,
"thumbnail": "https://i.ytimg.com/vi_webp/dQw4w9WgXcQ/maxresdefault.webp",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"channelUrl": "https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw",
"source": "video",
"sourceValue": "dQw4w9WgXcQ",
"scrapedAt": "2026-11-19T18:20:26.877Z"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15093/youtube+videos+and+channels+api/40109/get+video+details?url=dQw4w9WgXcQ' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 YouTube 视频和频道 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
每个端点返回与YouTube视频相关的数据,包括标题、观看次数、时长、发布日期和频道统计信息。“获取频道视频”端点专注于特定频道的视频,而“搜索视频”根据搜索条件检索视频。“获取视频详细信息”端点提供特定视频的综合信息
响应数据中的关键字段包括 `videoId`、`title`、`views`、`duration`、`publishedText`、`thumbnail`、`channelName` 和 `channelSubscribers` 这些字段提供了有关每个视频及其相关频道的重要信息
参数因端点而异 对于 "获取频道视频",您可以指定 `details=true` 以获取更多信息 "搜索视频" 端点允许按相关性 上传日期 或观看次数进行排序 用户可以通过包含特定视频ID或搜索词来自定义请求
响应数据采用JSON格式结构,包含一个成功标志、返回项目的数量和一个包含单个视频对象的数据数组。每个视频对象包括类型、视频ID、标题和频道信息等字段,便于解析和使用
数据直接来源于YouTube,确保反映关于视频和频道的最新可用信息。该API在不需要YouTube密钥的情况下聚合这些数据,简化了用户的访问。
典型的用例包括构建显示热门视频的应用程序 创建视频分析仪表板或将视频内容集成到网站中 用户可以利用API来增强用户与相关视频内容的互动
用户可以通过提取关键字段来利用返回的数据进行显示或分析。例如,他们可以在用户界面中显示视频缩略图和标题,或者分析观看次数和时长以评估性能指标。结构化格式便于与各种应用程序的集成
如果API返回部分或空结果,用户应检查`count`字段以确定返回的项目数量。实施错误处理和后备机制,例如显示消息或建议替代搜索,可以在结果有限时提升用户体验