Reference
Video Comments
Get the last 100 comments of a YouTube video.
GET
/video/comments/{id}
Authorization<token>
Use the format: Api-Key <token>
as the value.
In: header
Path Parameters
idstring
A unique YouTube video identifier
Match
^([a-zA-Z0-9-_]{11}$)
Response Body
{
"ids": [
"string"
],
"items": [
{
"id": "string",
"comments": [
{
"authorChannelId": "string",
"authorText": "string",
"authorThumbnail": [
{
"url": "string",
"height": 0,
"width": 0
}
],
"authorIsChannelOwner": true,
"text": "string",
"publishedAt": "string",
"publishedAtRaw": "string",
"likesCount": 0,
"likesCountRaw": 0,
"replyCount": 0,
"replyCountRaw": 0
}
],
"statistics": {
"count": 0
}
}
],
"time": "string"
}
{
"error": {
"errors": [
{
"code": "string",
"validation": "string",
"message": "string",
"path": [
"string"
]
}
]
},
"status": "string"
}
{
"error": {
"message": "string"
},
"status": "string"
}
{
"error": {
"message": "string"
},
"status": "string"
}
{
"error": {
"message": "string",
"rateLimit": {
"limit": -9007199254740991,
"current": -9007199254740991,
"remaining": -9007199254740991,
"resetTime": "2019-08-24T14:15:22Z"
}
},
"status": "string"
}