YouTube

Retrieve video comments (top-level & replies)

Returns one page of comments for a YouTube video by its 11-character id. Each comment has its id, content, author user_name and channel_id, likes_count, reply_count and published_time. Pass the previous response's continuation_token to get the next page; leave it empty for the first.

get/youtube/comments/{id}

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/youtube/comments/{id}
  • Auth: API key in header x-api-key

Path parameters

idstring required

YouTube video ID (11-character code)

Query parameters

continuation_tokenstring

Pagination token returned by a previous request, first page if empty

Headers

x-api-keystring required

API key required

Response

Wrapped comments payload ([]CommentThread)

codeinteger
msgstring

Example response

{
  "code": 200,
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.