# YouTube post comments

Takes post id, continuation token, language code and more, all optional. Served by TikHub.

Purpose:
- Get YouTube post (community post) comments
- Supports pagination for more comments

Parameters:

Required (at least one):
**post_id** (string) - Post ID, required for first request

**continuation_token** (string) - Pagination token (from get_post_detail's comments_continuation_token or previous response)

Optional:
**language_code** (string, optional) - Language code, default `"zh-CN"`

**country_code** (string, optional) - Country code, default `"US"`

**need_format** (bool, optional) - Whether to format data, default `true`

Returns (need_format=true):
- comments: Comments list
  - comment_id, content, published_time, like_count, reply_count
  - reply_continuation_token: Token for fetching replies
  - author: Author info (channel_id, display_name, avatar_url, etc.)
- continuation_token: Next page token

Usage Flow:
1. First request: Pass post_id (or use comments_continuation_token from get_post_detail)
2. Get continuation_token from response
3. Next request: Pass continuation_token for more comments
4. Use reply_continuation_token to get replies via get_post_comment_replies

- Tool ID: `tikhub/youtube-web-v2-get-post-comments`
- Name in the catalog: Youtube, Get post comments
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [YouTube comments](/tools/youtube/comments.md)
- Price: $0.001 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.001
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.001; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "post_id": {
      "type": "string",
      "description": "帖子ID（首次请求时必填）/Post ID (required for first request)",
      "title": "Post Id"
    },
    "continuation_token": {
      "type": "string",
      "description": "分页token（分页时必填，也可用 get_post_detail 返回的 comments_continuation_token）/Pagination token",
      "title": "Continuation Token"
    },
    "language_code": {
      "type": "string",
      "description": "语言代码（如zh-CN, en-US等）/Language code",
      "default": "zh-CN",
      "title": "Language Code"
    },
    "country_code": {
      "type": "string",
      "description": "国家代码（如US, JP等）/Country code",
      "default": "US",
      "title": "Country Code"
    },
    "need_format": {
      "type": "boolean",
      "description": "是否需要清洗数据，提取关键内容，移除冗余数据/Whether to clean and format the data",
      "default": true,
      "title": "Need Format"
    }
  },
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/youtube-web-v2-get-post-comments",
  "input": {
    "post_id": "UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy",
    "language_code": "zh-CN",
    "country_code": "US",
    "need_format": true
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/YouTube-Web-V2-API/get_post_comments_api_v1_youtube_web_v2_get_post_comments_get)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/youtube-web-v2-get-post-comments) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/youtube-web-v2-get-post-comments) · [Agent index](/llms.txt)
