Explore our Marketplace to buy and sell APIs, services, and social media solutions. Connect with a vibrant community of developers, businesses, and creators!
https://www.youtube.com/channel/UCJHBJ7F-nAIlMGolm0Hu4vg@用户名 格式的URL中,先访问频道页面获取真实的频道ID"UCJHBJ7F-nAIlMGolm0Hu4vg""zh-CN""zh-CN", "en-US", "ja-JP", "ko-KR" 等"US""US", "JP", "GB" 等nulltruefalse - 返回原始完整数据true - 返回清洗后的精简数据(推荐,默认){
"channel": {
"id": "UCJHBJ7F-nAIlMGolm0Hu4vg",
"name": "Maizen",
"description": "Thank you very much for watching our videos...",
"handle_url": "http://www.youtube.com/@maizenofficial",
"avatar": "https://yt3.googleusercontent.com/...=s900-...",
"url": "https://www.youtube.com/channel/UCJHBJ7F-nAIlMGolm0Hu4vg",
"rss_url": "https://www.youtube.com/feeds/videos.xml?channel_id=...",
"keywords": "Minecraft",
"is_family_safe": true,
"is_verified": true
},
"videos": [
{
"video_id": "zd3yCa1bJCM",
"title": "Minecraft: DREAM! - Asleep Custom Map",
"thumbnail": "https://i.ytimg.com/vi/zd3yCa1bJCM/hqdefault.jpg",
"thumbnails": [
{"url": "...", "width": 168, "height": 94},
{"url": "...", "width": 336, "height": 188}
],
"moving_thumbnail": "https://i.ytimg.com/an_webp/zd3yCa1bJCM/mqdefault_6s.webp?...",
"duration": "16:57",
"duration_accessibility": "16分钟57秒钟",
"view_count": "343,369次观看",
"short_view_count": "34万次观看",
"published_time": "18小时前",
"description": "",
"is_live": false,
"is_verified": true,
"url": "https://www.youtube.com/watch?v=zd3yCa1bJCM",
"playback_url": "https://rr5---sn-ogueln67.googlevideo.com/initplayback?..."
}
],
"continuation_token": "下一页token"
}channel (object, 频道级 metadata,整页 listing 共用):continuation_token)返回此字段。分页请求的响应里 YouTube 不再下发频道级 metadata,此时返回里不包含 channel 字段,请缓存首页结果作为权威值。同理 videos[].is_verified 在分页响应里恒为 false(不可信)。id: 频道ID(同请求参数 channel_id)name: 频道名称description: 频道简介(多行文本,常含联系方式 / 社媒链接 / 频道介绍)handle_url: 频道 handle URL(如 http://www.youtube.com/@maizenofficial)avatar: 频道头像 URL(最大尺寸,最大 900×900)url: 频道主页 URLrss_url: 频道 RSS 订阅链接keywords: 频道关键词is_family_safe: 是否适合家庭观看is_verified: 频道是否已通过 YouTube 蓝勾认证videos[] (列表,每条视频):video_id: 视频IDtitle: 视频标题thumbnail: 最高清晰度缩略图URLthumbnails: 所有分辨率的缩略图列表moving_thumbnail: 动态缩略图URL(webp格式,鼠标悬停预览)duration: 视频时长(如"16:57")duration_accessibility: 时长无障碍文本(如"16分钟57秒钟")view_count: 完整观看次数(如"343,369次观看")short_view_count: 简短观看次数(如"34万次观看"。注:lockup 格式下与 view_count 同值,仅保留以兼容旧调用方)published_time: 发布时间(如"18小时前")description: ⚠️ YouTube 自 2026 起的频道视频列表(lockup 格式)已不再下发视频描述片段,此字段恒为空字符串 "";如需频道整体简介请使用顶层 channel.description,单条视频描述请单独调用视频详情接口is_live: 是否为直播is_verified: 频道是否已认证(频道页下与顶层 channel.is_verified 同值)url: 视频播放页URLplayback_url: 视频播放初始化URL(googlevideo.com)continuation_token: 下一页的分页tokenhttps://www.youtube.com/channel/UCJHBJ7F-nAIlMGolm0Hu4vg@username format URLs"UCJHBJ7F-nAIlMGolm0Hu4vg""zh-CN""zh-CN", "en-US", "ja-JP", "ko-KR", etc."US""US", "JP", "GB", etc.nulltruefalse - Return raw complete datatrue - Return cleaned simplified data (recommended, default){
"channel": {
"id": "UCJHBJ7F-nAIlMGolm0Hu4vg",
"name": "Maizen",
"description": "Thank you very much for watching our videos...",
"handle_url": "http://www.youtube.com/@maizenofficial",
"avatar": "https://yt3.googleusercontent.com/...=s900-...",
"url": "https://www.youtube.com/channel/UCJHBJ7F-nAIlMGolm0Hu4vg",
"rss_url": "https://www.youtube.com/feeds/videos.xml?channel_id=...",
"keywords": "Minecraft",
"is_family_safe": true,
"is_verified": true
},
"videos": [
{
"video_id": "zd3yCa1bJCM",
"title": "Minecraft: DREAM! - Asleep Custom Map",
"thumbnail": "https://i.ytimg.com/vi/zd3yCa1bJCM/hqdefault.jpg",
"thumbnails": [
{"url": "...", "width": 168, "height": 94},
{"url": "...", "width": 336, "height": 188}
],
"moving_thumbnail": "https://i.ytimg.com/an_webp/zd3yCa1bJCM/mqdefault_6s.webp?...",
"duration": "16:57",
"duration_accessibility": "16 minutes, 57 seconds",
"view_count": "343,369 views",
"short_view_count": "343K views",
"published_time": "18 hours ago",
"description": "",
"is_live": false,
"is_verified": true,
"url": "https://www.youtube.com/watch?v=zd3yCa1bJCM",
"playback_url": "https://rr5---sn-ogueln67.googlevideo.com/initplayback?..."
}
],
"continuation_token": "next page token"
}channel (object, channel-level metadata, shared across the listing):continuation_token is not provided). Paginated responses do not include channel-level metadata from YouTube, so the channel field is omitted — cache the first-page value as the source of truth. Likewise, videos[].is_verified is always false on paginated responses (unreliable).id: Channel ID (same as the channel_id query param)name: Channel namedescription: Channel bio (multi-line text, often contains contact info / social links / channel introduction)handle_url: Channel handle URL (e.g., http://www.youtube.com/@maizenofficial)avatar: Channel avatar URL (largest size, up to 900×900)url: Channel home URLrss_url: Channel RSS feed URLkeywords: Channel keywordsis_family_safe: Whether the channel is family-safeis_verified: Whether the channel has a YouTube verified (blue check) badgevideos[] (list, per video):video_id: Video IDtitle: Video titlethumbnail: Highest resolution thumbnail URLthumbnails: List of all resolution thumbnailsmoving_thumbnail: Moving thumbnail URL (webp format, hover preview)duration: Video duration (e.g., "16:57")duration_accessibility: Duration accessibility text (e.g., "16 minutes, 57 seconds")view_count: Full view count (e.g., "343,369 views")short_view_count: Short view count (e.g., "343K views". Note: under the lockup format this is identical to view_count; kept only for backward compatibility)published_time: Published time (e.g., "18 hours ago")description: ⚠️ Since 2026, YouTube's channel video listings (lockup format) no longer include per-video description snippets. This field is always "". For the channel-wide bio use the top-level channel.description; for per-video descriptions call the video detail endpoint.is_live: Whether it's a live streamis_verified: Whether the channel is verified (same as top-level channel.is_verified in the channel-videos context)url: Video playback page URLplayback_url: Video playback initialization URL (googlevideo.com)continuation_token: Pagination token for next pagecurl --location 'https://api.tikhub.io/api/v1/youtube/web_v2/get_channel_videos?channel_id=UCJHBJ7F-nAIlMGolm0Hu4vg&language_code=zh-CN&country_code=US&continuation_token=undefined&need_format=undefined' \
--header 'Authorization: Bearer <token>'{
"code": 200,
"request_id": "string",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "string",
"time_stamp": 0,
"time_zone": "America/Los_Angeles",
"docs": "string",
"cache_message": "string",
"cache_message_zh": "string",
"cache_url": "string",
"router": "",
"params": {},
"data": null
}