获取频道帖子列表/Get channel community posts
[中文]#
用途:#
支持分页获取,可通过 continuation_token 获取更多帖子
参数详解:#
必选参数:#
获取方式: 从频道URL中提取,例如 https://www.youtube.com/channel/UCkRfArvrzheW2E7b6SVT7vQ
示例: "UCkRfArvrzheW2E7b6SVT7vQ"
可选参数:#
language_code (string, 可选)country_code (string, 可选)continuation_token (string, 可选)返回数据:#
author_channel_id: 作者频道ID
author_thumbnails: 作者头像缩略图
published_time: 发布时间(相对时间)
attachment: 附件(图片/多图/视频/投票等,可能为null)
continuation_token: 下一页分页token
使用流程:#
2.
获取响应中的 continuation_token
3.
下次请求:传入 channel_id 和 continuation_token
4.
重复步骤 2-3 直到 has_more 为 false
注意事项:#
[English]#
Purpose:#
Get YouTube channel's community posts list
Supports pagination via continuation_token
Parameters:#
Required:#
How to get: Extract from channel URL, e.g., https://www.youtube.com/channel/UCkRfArvrzheW2E7b6SVT7vQ
Example: "UCkRfArvrzheW2E7b6SVT7vQ"
Optional:#
language_code (string, optional) - Language code, default "zh-CN"country_code (string, optional) - Country code, default "US"continuation_token (string, optional) - Pagination token for next pageneed_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 (image/multi_image/video/poll, may be null)
continuation_token: Next page pagination token
has_more: Whether there are more posts
total_count: Current page post count
Returns raw response data
Usage Flow:#
1.
First request: Only pass channel_id parameter
2.
Get continuation_token from response
3.
Next request: Pass channel_id and continuation_token
4.
Repeat steps 2-3 until has_more is false
Notes:#
Each page typically returns around 20 posts
Post attachments support: image, multi_image, video, poll types
Some channels may not have posts/community tab
[示例/Example]#
获取频道帖子: channel_id = "UCkRfArvrzheW2E7b6SVT7vQ"#
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_channel_community_posts?channel_id=UCkRfArvrzheW2E7b6SVT7vQ&language_code=zh-CN&country_code=US&continuation_token=undefined&need_format=undefined' \
--header 'Authorization: Bearer <token>'
Modified at 2026-08-29 22:56:33