List Comments
list_commentsList top-level comments on a YouTube video or across your channel, filter by words or moderation status, and page through results for review or moderation.
Instructions
Top-level comments on a video, or on all of your channel's videos.
Quota: 1 unit per page of up to 50 results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of comments. | |
| order | No | Newest first, or most relevant first. | time |
| video | No | Video ID or URL. Omit for every video on your channel. | |
| search | No | Only comments containing these words. | |
| status | No | Moderation status to list; spam is what YouTube flagged as likely spam. Anything but published is only visible on your own videos. YouTube can't list rejected comments. | published |
| my_channel | No | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
| page_token | No | Continue from a previous result's next_page_token. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| total_results | No | Total reported by YouTube; only an estimate for search. | |
| next_page_token | No | Pass as page_token to continue; null at the end. |