get_video_comments
Retrieve YouTube video comments with replies. Sort by relevance or time to get top or newest comments including author, likes, and date.
Instructions
Get YouTube video comments with replies. Returns comment text, author, likes, and date. Supports sorting by 'relevance' (top comments) or 'time' (newest). Returns error if comments are disabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination. Each page returns up to 20 comment threads. Use hasMore in the response to know if more pages exist. | |
| video | Yes | YouTube video URL or video ID | |
| sortBy | No | Sort order: 'relevance' (top comments) or 'time' (newest first) | relevance |
| maxResults | No | Number of comment threads per page (1-20, YouTube returns ~20 per page) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| sortBy | Yes | ||
| hasMore | Yes | ||
| threads | Yes | ||
| videoId | Yes | ||
| threadCount | Yes | ||
| totalFetched | Yes |