get_video_comments
Fetch YouTube video comments and replies with text, author, likes, and dates; sort by relevance or time and paginate results.
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. Served by the provider selected with YT_PROVIDER.
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 |