[中文]#
用途:#
参数详解:#
必选参数:#
获取方式: 从帖子URL中提取,例如 https://www.youtube.com/post/UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy
示例: "UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy"
可选参数:#
language_code (string, 可选) - 语言代码,默认 "zh-CN"country_code (string, 可选) - 国家代码,默认 "US"need_format (bool, 可选) - 是否格式化数据,默认 true返回数据:#
author_channel_id: 作者频道ID
author_thumbnails: 作者头像缩略图
published_time: 发布时间(相对时间)
attachment: 附件数据(图片/多图/视频/投票等,可能为null)
channel_metadata: 频道元数据(名称、描述、URL等)
comments_continuation_token: 评论分页token(可用于获取评论)
注意事项:#
[English]#
Purpose:#
Get YouTube post (community post) detail information
Includes post content, attachments, engagement data
Parameters:#
Required:#
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 trueReturns:#
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)
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
Notes:#
post_id starts with "Ugk"
Post attachments support: image, multi_image, video, poll types
[示例/Example]#
获取帖子详情: post_id = "UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy"#
TikOmni Pricing#
Actual billing follows the TikOmni pricing catalog. Query /api/pricing/v1/endpoints with this endpoint path for the current unit price.
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
or
Request Code Samples
curl --location 'https://api.tikomni.com/api/u1/v1/youtube/web_v2/get_post_detail?post_id=UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy&language_code=zh-CN&country_code=US&need_format=undefined' \
--header 'Authorization: Bearer <token>'
Modified at 2026-08-29 22:56:33