# YouTube post detail

Get YouTube post (community post) detail information. Needs post id. Served by TikHub.

Purpose:
- Get YouTube post (community post) detail information
- Includes post content, attachments, engagement data

Parameters:

Required:
**post_id** (string)
- **Purpose**: Post ID
- **How to get**: Extract from post URL, e.g., `https://www.youtube.com/post/UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy`
- **Example**: `"UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy"`

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:
When need_format=true:
- post: Post detail
  - post_id: Post ID
  - post_url: Post URL
  - author_name: Author name
  - author_channel_id: Author channel ID
  - author_url: Author channel URL
  - author_thumbnails: Author avatar thumbnails
  - content_text: Post text content
  - published_time: Published time (relative)
  - vote_count: Like count
  - comment_count: Comment count
  - attachment: Attachment data (image/multi_image/video/poll, may be null)
- channel_metadata: Channel metadata (name, description, URL, etc.)
- comments_continuation_token: Comments pagination token

When need_format=false:
- Returns raw data

Notes:
- post_id starts with "Ugk"
- Post attachments support: image, multi_image, video, poll types

- Tool ID: `tikhub/youtube-web-v2-get-post-detail`
- Name in the catalog: Youtube, Get post detail
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [YouTube videos](/tools/youtube/videos.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",
      "title": "Post Id"
    },
    "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"
    }
  },
  "required": [
    "post_id"
  ],
  "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-detail",
  "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_detail_api_v1_youtube_web_v2_get_post_detail_get)

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

---

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