{
"count": 100,
"items": [
{
"videoId": "jNQXAC9IVRw",
"videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
"videoTitle": "Me at the zoo",
"videoCommentCount": null,
"position": 1,
"isReply": false,
"parentCommentId": null,
"commentUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw&lc=UgzuC3zzpRZkjc5Qzsd4AaABAg",
"commentId": "UgzuC3zzpRZkjc5Qzsd4AaABAg",
"text": "We're so honored that the first ever YouTube video was filmed here!",
"author": "@SanDiegoZoo",
"authorChannelId": "UCC5NfQ6Mf0dq_eEwv4P_hWA",
"authorIsChannelOwner": false,
"authorIsVerified": true,
"authorAvatarUrl": "https://yt3.ggpht.com/i8RqA9tYqbbnOi4mlnYEY7IR3kXAoDqQbM_5Sfzw7OjTubiGsOaTdlrIZmj-I0q0Vup68eqs=s88-c-k-c0x00ffffff-no-rj",
"likeCount": 4800000,
"replyCount": 986,
"publishedTimeText": "6 years ago",
"isHearted": true,
"isPinned": true,
"isEdited": false,
"publishedAt": "2020-11-07T13:07:07Z",
"scrapedAt": "2026-11-06T13:07:07Z"
},
{
"videoId": "jNQXAC9IVRw",
"videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
"videoTitle": "Me at the zoo",
"videoCommentCount": null,
"position": 2,
"isReply": false,
"parentCommentId": null,
"commentUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw&lc=UgwJopRYfCoqhRa13OF4AaABAg",
"commentId": "UgwJopRYfCoqhRa13OF4AaABAg",
"text": "This guys is the only person who has the rights to say \"first\" on youtube.",
"author": "@Jeff-th5ob",
"authorChannelId": "UCg8QP4eNX0uXUkLgpTSRmWw",
"authorIsChannelOwner": false,
"authorIsVerified": false,
"authorAvatarUrl": "https://yt3.ggpht.com/ytc/AIdro_m_xynaUD3u02-q0yYLbJX6TtiTSgckJDy3nIZWVaEhzBA=s88-c-k-c0x00ffffff-no-rj",
"likeCount": 420000,
"replyCount": 851,
"publishedTimeText": "5 years ago",
"isHearted": false,
"isPinned": false,
"isEdited": false,
"publishedAt": "2021-11-07T13:07:07Z",
"scrapedAt": "2026-11-06T13:07:07Z"
},
{
"videoId": "jNQXAC9IVRw",
"videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
"videoTitle": "Me at the zoo",
"videoCommentCount": null,
"position": 3,
"isReply": false,
"parentCommentId": null,
"commentUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw&lc=Ugxnp9ws0dexjE9L5UB4AaABAg",
"commentId": "Ugxnp9ws0dexjE9L5UB4AaABAg",
"text": "Hello",
"author": "@jawed",
"authorChannelId": "UC4QobU6STFB0P71PMvOGN5A",
"authorIsChannelOwner": true,
"authorIsVerified": true,
"authorAvatarUrl": "https://yt3.ggpht.com/uI3VE4PVqvCy0xnWLqMJnEzyBUm3T8VHOCp4ee-1RxdHqKXCdUE_qXYQnpf9AfuEoIPactVyDhM=s88-c-k-c0x00ffffff-no-rj",
"likeCount": 313000,
"replyCount": 995,
"publishedTimeText": "6 months ago",
"isHearted": true,
"isPinned": false,
"isEdited": false,
"publishedAt": "2026-05-10T13:07:07Z",
"scrapedAt": "2026-11-06T13:07:07Z"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14687/youtube+comment+replies+api/37964/youtube+comments+export?videos=https://www.youtube.com/watch?v=jNQXAC9IVRw,https://www.youtube.com/watch?v=dQw4w9WgXcQ&maxCommentsPerVideo=50&sortBy=top&includeReplies=false&maxRepliesPerComment=20&maxComments=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 YouTube 评论回复 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
来自任何YouTube视频或短视频的评论和回复:文本、作者、点赞、回复、日期、置顶和创作者心形标记。按热门或最新,关键词过滤。无需API密钥,无配额
每个请求最多100个结果(默认20个)使用每个端点可用的限制参数
每个请求从公共来源收集实时数据 相同的请求可以从缓存中提供长达6小时
列表参数接受多个用逗号分隔的值,例如:伦敦,巴黎
YouTube评论导出端点返回公共视频和短视频的评论及其回复,包括文本、作者、点赞数、回复计数和发布日期等详细信息
响应中的关键字段包括videoId videoUrl commentId text author likeCount replyCount和发布日期,提供有关每条评论及其上下文的全面信息
响应数据结构为一个 JSON 对象,其中包含一个结果的 "count" 和一个 "items" 数组,每个项代表一个评论或回复及其相关细节
该端点支持参数,如videoId用于指定视频 limit用于控制结果数量 以及过滤器用于按最新评论或热门进行排序
用户可以通过使用参数如限制来调整结果数量和过滤选项根据特定标准如关键字检索评论
典型用例包括分析观众参与度 监控品牌提及 进行情感分析 和从公共讨论中获取视频洞察
数据准确性是通过直接从YouTube的公共API获取评论来维护的,确保信息反映出最新和最相关的用户互动
如果结果部分或为空,用户应检查其参数的准确性,确保视频为公开,并考虑调整过滤器或限制以获取更全面的数据