Skip to main content

Path Parameters

string
required
The YouTube video id (e.g. dQw4w9WgXcQ).

Query Parameters

string
default:"top"
Comment sort order.
string
Continuation token from a previous response to fetch the next page of comments.

Response

string
The video the comments belong to.
array
Array of top-level comments.
integer
Total comment count on the video (nullable).
array
Sort options with title and token (e.g. top, newest).
string
Token to fetch the next page (nullable when no more pages).

Example Response

Replies

To fetch replies to a specific comment, call:
This returns a RepliesResponse with comment_id, a replies array (same Comment shape), and a continuation token. You can also pass the replies_continuation value from a comment directly as the continuation query parameter.
Each comments page and each replies page costs 5 credits. Failed requests are not charged.