# Video Comments

Returns a list of 20 YouTube video or live comments. The default order is Top, which returns approximately 1,000 top comments. Set `sorted_by` to `newest` to page through all comments, newest first. To obtain the first comments page use `cursor` from the Video Info endpoint.

Endpoint: GET /raw/youtube/video-comments
Security: accessToken

## Security:

  - `accessToken` (unknown)
    http bearer token

## Query parameters:

  - `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

  - `sorted_by` (string)
    Comment order. `top` (default) returns approximately 1,000 top comments. `newest` returns all comments, newest first. Applies when starting the list. A later `after` cursor keeps the order it was created with.

## Response 200 fields (application/json):

  - `comments_list` (object, required)

  - `comments_list.comments` (array, required)

  - `comments_list.comments.comment_id` (string, required)

  - `comments_list.comments.author_channel_id` (string, required)

  - `comments_list.comments.author_name` (string, required)

  - `comments_list.comments.author_picture` (string, required)

  - `comments_list.comments.published_at` (string, required)

  - `comments_list.comments.author_is_channel_owner` (boolean, required)

  - `comments_list.comments.likes` (number, required)

  - `comments_list.comments.liked_by_creator` (boolean)

  - `comments_list.comments.text` (string, required)

  - `comments_list.comments.reply_count` (number)

  - `comments_list.comments.replies_cursor` (string)

  - `comments_list.cursor` (string, required)

  - `success` (boolean, required)

