Video Comments
GET {{baseUrl}}/v1/raw/youtube/video-comments?url=<string>&after=<string>
Returns a list of 20 YouTube video comments. To obtain the first comments page use cursor
from Video Info endpoint.
Body
PARAM
Key | Datatype | Required | Description |
url
|
string | (Required) YouTube video page url i.e. https://www.youtube.com/watch?v={videoId} | |
after
|
string | Use `cursor` from the last page to get the next page |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status OK
{
"comments_list": {
"comments": [
{
"comment_id": "<string>",
"author_channel_id": "<string>",
"author_name": "<string>",
"author_picture": "<string>",
"published_at": "<string>",
"author_is_channel_owner": "<boolean>",
"likes": "<number>",
"text": "<string>",
"liked_by_creator": "<boolean>",
"reply_count": "<number>",
"replies_cursor": "<string>"
},
{
"comment_id": "<string>",
"author_channel_id": "<string>",
"author_name": "<string>",
"author_picture": "<string>",
"published_at": "<string>",
"author_is_channel_owner": "<boolean>",
"likes": "<number>",
"text": "<string>",
"liked_by_creator": "<boolean>",
"reply_count": "<number>",
"replies_cursor": "<string>"
}
],
"cursor": "<string>"
}
} |
ENDPOINTS