Explore our Marketplace to buy and sell APIs, services, and social media solutions. Connect with a vibrant community of developers, businesses, and creators!
"oaSNBz4qMQY"https://www.youtube.com/watch?v=oaSNBz4qMQY 中提取"zh-CN""zh-CN", "en-US", "ja-JP", "ko-KR" 等"US""US", "JP", "GB" 等"top""top" - 热门评论(按点赞数排序)"newest" - 最新评论(按时间排序)nullfalsefalse - 返回原始完整数据true - 返回清洗后的精简数据(推荐){
"comments": [
{
"comment_id": "UgzRDoUJAvDNn5_8i8p4AaABAg",
"content": "评论内容文本",
"published_time": "1天前",
"reply_level": 0,
"like_count": "2",
"like_count_a11y": "2 次赞",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_count_text": "1 条回复",
"reply_continuation_token": "...",
"author": {
"channel_id": "UCzRzHrLFuH0lHZYnrI84I8Q",
"display_name": "@username",
"channel_url": "https://www.youtube.com/@username",
"avatar_url": "https://yt3.ggpht.com/...",
"avatar_thumbnails": [
{"url": "...", "width": 88, "height": 88}
],
"is_verified": false,
"is_creator": false,
"is_artist": false
},
"creator_thumbnail_url": "https://yt3.ggpht.com/..."
}
],
"continuation_token": "下一页token"
}comment_id: 评论唯一IDcontent: 评论文本内容published_time: 发布时间(相对时间,如"1天前")reply_level: 回复层级(0表示一级评论)like_count: 点赞数reply_count: 回复数reply_count_text: 回复数文本(如"1 条回复")reply_continuation_token: 获取该评论回复的tokenauthor: 评论作者信息channel_id: 作者频道IDdisplay_name: 显示名称channel_url: 频道URLavatar_url: 头像URLis_verified: 是否已认证is_creator: 是否为视频创作者is_artist: 是否为音乐人creator_thumbnail_url: 视频创作者头像URL"oaSNBz4qMQY"https://www.youtube.com/watch?v=oaSNBz4qMQY"zh-CN""zh-CN", "en-US", "ja-JP", "ko-KR", etc."US""US", "JP", "GB", etc."top""top" - Top comments (sorted by likes)"newest" - Newest comments (sorted by time)nullfalsefalse - Return raw complete datatrue - Return cleaned simplified data (recommended){
"comments": [
{
"comment_id": "UgzRDoUJAvDNn5_8i8p4AaABAg",
"content": "Comment text content",
"published_time": "1 day ago",
"reply_level": 0,
"like_count": "2",
"like_count_a11y": "2 likes",
"reply_count": "0",
"reply_count_a11y": "0 replies",
"reply_count_text": "1 reply",
"reply_continuation_token": "...",
"author": {
"channel_id": "UCzRzHrLFuH0lHZYnrI84I8Q",
"display_name": "@username",
"channel_url": "https://www.youtube.com/@username",
"avatar_url": "https://yt3.ggpht.com/...",
"avatar_thumbnails": [
{"url": "...", "width": 88, "height": 88}
],
"is_verified": false,
"is_creator": false,
"is_artist": false
},
"creator_thumbnail_url": "https://yt3.ggpht.com/..."
}
],
"continuation_token": "next page token"
}comment_id: Unique comment IDcontent: Comment text contentpublished_time: Published time (relative, e.g., "1 day ago")reply_level: Reply level (0 for first-level comments)like_count: Number of likesreply_count: Number of repliesreply_count_text: Reply count text (e.g., "1 reply")reply_continuation_token: Token to get replies for this commentauthor: Comment author infochannel_id: Author's channel IDdisplay_name: Display namechannel_url: Channel URLavatar_url: Avatar URLis_verified: Whether verifiedis_creator: Whether video creatoris_artist: Whether artistcreator_thumbnail_url: Video creator's avatar URLAuthorization: Bearer ********************curl --location 'https://api.tikhub.io/api/v1/youtube/web/get_video_comments?video_id=LuIL5JATZsc&language_code=zh-CN&country_code=US&sort_by=undefined&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
}