YouTube tools

YouTubeyoutube_post_comments

YouTube post comments

Get comments on a YouTube post by post ID, with pagination.

Start with your agent

Claude CodeCodexCursor

Download and install the dedicated Mouter Skill for “YouTube post comments”: https://mouter.ai/skills/youtube_post_comments.zip

Pricing

How credits work

0.01 credits per call

Each additional page is billed as a separate call.

Usage example

Agent

Example input

Use youtube_post_comments. Look up YouTube post comments using post ID UgAAAAAAAA and summarize comments or danmaku, authors and pagination. Confirm inputs and estimated cost before running.

Example output

Example only: YouTube post comments has not been run. Once a task succeeds, its result contains these fields:

  1. platformtext
  2. post_idtext
  3. parent_comment_idtext
  4. itemslist: id, text, author_id, author_name, author_avatar_url
  5. paginationobject: has_more, next_cursor, total
  6. retrieved_atnumber

Values depend on your input. The matching JSON example structure is in the API tab.

Continue this example

For the first batch, omit cursor. When pagination.has_more indicates more results and pagination.next_cursor is present, pass the returned pagination.next_cursor as cursor in the next call. Keep the original identifiers, filters and ordering unchanged. Each request retrieves one batch. Illustrative requests and response fragment; no calls are executed.

1. Initial request

{
  "name": "youtube_post_comments",
  "arguments": {
    "post_id": "UgAAAAAAAA"
  }
}

2. Returned continuation

{
  "pagination": {
    "next_cursor": "<NEXT_CURSOR>",
    "has_more": true
  }
}

3. Follow-up request

{
  "name": "youtube_post_comments",
  "arguments": {
    "post_id": "UgAAAAAAAA",
    "cursor": "<NEXT_CURSOR>"
  }
}
  • Getting started: provide post ID. Adjust country or region, language, continuation cursor as needed.

FAQ

Which post_id should I pass to YouTube post comments?

YouTube post comments: Getting started: provide post ID. Adjust country or region, language, continuation cursor as needed. post_id: format ^Ug[A-Za-z0-9_-]{5,126}$ Illustrative values on this page: post_id="UgAAAAAAAA". Replace example identifiers and URLs with your target before running.

Which result details can I use from YouTube post comments?

Get comments on a YouTube post by post ID, with pagination. The result includes post_id, parent_comment_id, items, pagination. Read result.items[]: id, text, author_id, author_name, author_avatar_url, like_count, reply_count, published_at, published_at_text, like_count_text. result.retrieved_at records retrieval time; content publication times are separate source fields. Optional fields depend on what the source returns; retain null or missing values when combining results.

Which regions and filters can I choose for YouTube post comments?

YouTube post comments: country_code: format ^[A-Z]{2}$; default "US" · language_code: format ^[a-z]{2,3}(?:-[A-Z]{2})?$; default "en-US".

How do I retrieve more results from YouTube post comments?

YouTube post comments: For the first batch, omit cursor. When pagination.has_more indicates more results and pagination.next_cursor is present, pass the returned pagination.next_cursor as cursor in the next call. Keep the original identifiers, filters and ordering unchanged. Each request retrieves one batch.

How is YouTube post comments billed for each request?

Published reference rates: Standard rate: 0.01 credits · Per call. Each additional page is billed as a separate call. Final charges use your account’s rates and actual usage.