Get comments from a video (~20 per page). Use the continuationToken from each response to paginate. Maximum retrievable: ~1k comments with order=top, ~7k with order=newest. YouTube’s displayed count includes reply threads — the API returns top-level comments only, so actual results may be lower than the displayed count. Use order=newest to retrieve more comments.
continuationToken to paginate.YouTube video URL
"https://www.youtube.com/watch?v=dQw4w9WgXcQ"
Continuation token to get more comments. Get 'continuationToken' from previous response.
"4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB"
Order of comments
top, newest "top"
Successful response
Key Response Fields:
data.comments[0].id: Unique comment IDdata.comments[0].content: Comment text contentdata.comments[0].publishedTime: ISO timestamp of when the comment was posteddata.comments[0].author.name: Commenter's channel namedata.comments[0].author.channelId: Commenter's YouTube channel IDdata.comments[0].author.avatarUrl: Commenter's avatar image URLdata.comments[0].author.isVerified: Whether the commenter is a verified accountdata.comments[0].engagement.likes: Number of likes on the commentdata.comments[0].engagement.replies: Number of replies to the commentdata.continuationToken: Pagination cursor — pass as continuationToken to get the next page