WeChat Get Video Comments
Read comments and replies on a WeChat Channels video. Inputs are supplied inside request_body: - object_id (required): the video's numeric objectId as a digits-only string, up to 32 characters. Use the video ID from a video list or video detail result, not a video URL. - comment_id (optional): the parent comment's numeric ID as a string, up to 32 characters. Omit it or leave it empty to read first-level comments; provide it to read that comment's second-level replies. - last_buffer (optional): base64 pagination cursor. Omit it or leave it empty for the first page. If the response indicates another page, pass its returned cursor with the same video and parent-comment context. - raw (optional, default true): true returns the original structure; false returns a simplified structure. Results: - With raw=false, data.comments contains comment IDs, commenter nickname/username/avatar, content, like and reply counts, creation time and IP region. data.count is the number of comments on this page; data.down_continue indicates whether another page is available; data.last_buffer is the next-page cursor. data.object_id echoes the video ID; data.comment_id echoes the parent comment ID when fetching replies, otherwise it is null. - With raw=true, comments are in data.commentInfo, the response status is in data.baseResponse.ret, and pagination uses data.downContinueFlag and data.lastBuffer (also available as data.last_buffer). Comment fields include commentId, nickname, username, content, likeCount, createtime, headUrl and ipRegionInfo.regionText. Video-wide counts are available in data.monotonicData.commentCount.commentCount and data.countInfo. Important: video and comment IDs may exceed JavaScript's safe integer range. Keep them as strings and parse numeric IDs losslessly; do not pass them through JavaScript Number. Responses may be slow; set the client request timeout to 30 seconds.
Pricing
| Condition | Charge |
|---|---|
| Each call | 20.65 credits/call |
20.65 credits/call Charges are per query. A successful query is billed even if it returns no results.
The same per-call charge applies to fetching first-level comments or replies to a specified comment. Each pagination request is charged separately.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | 获取微信视频号作品评论或回复的请求体对象:object_id 指定作品;comment_id 可选,传入父评论 ID 以获取二级回复,留空则获取一级评论;last_buffer 用于翻页,首页留空;raw 控制返回原始响应或精简解析结构。 | — |
request_body.raw | boolean | No | True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure | true |
request_body.object_id | string | Yes | 作品 objectId(纯数字)/Video objectId (numeric) | — |
request_body.comment_id | string | null | No | 展开某条评论的二级回复时传其 commentId(纯数字),首页留空/Pass a commentId (numeric) to expand its replies, leave empty for first-level comments | "" |
request_body.last_buffer | string | null | No | 翻页游标(base64),首页留空/Pagination cursor (base64), leave empty for first page | "" |
Invocation example
Copy the request and explore its response example.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_wechat_get_video_comments' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"last_buffer": "CpUCGOqSwOPCtaqfxwEYo7K0kLyi0p7HARjDkZDXi96nn8cBGIGQ2MO4u6ufxwEY05Ckh/K+76zHARjLkqCYjOfNn8cBGKSQ1PeE8NmfxwEYrJD854Gsr5/HARjfktjbjuXanscBGJCy9KrL/aafxwEYkJC8mafJkaDHARiSstjI9srGnscBGPGS1I3AgeKjxwEYrLG01bnJz6DHARjlktC9v+L1n8cBGJCSuK76wN2fxwEYlLJciszaoZ/HARiLsMzA6tqfn8cBGJWy3MrdtOCexwEYvLGwq7+F857HARjKkMz4/MKXn8cBGMuRxIeMnZCfxwEY2JK0rLvkmbHHARjRksi9zeXLyscBGKWyoLDLpOGhxwEwAQ==",
"object_id": "14356538497218644142",
"raw": false
}
}
}'{
"code": 200,
"data": {
"debug_id": "886665c7",
"debug_info": "gAAAAABq8xr8wSL20y7_REiQizdqWNQ-Q24_hMr8F8R7nfTjRPPyMVPRrWjqmm9ZMif6w-N502KsybPS25SpZ-9hiKtoui-nSAwD5d3wVhUhDA_qixq-60e-yJ2EwM9jyMejwUOfgLDeYbAoU7pPnc0YFg90c-dLWdqw7Z6s1dqbPs3AGPeemS6fa3PL21VaT1A5bU28vs_5kVcK6J6sdrwtfHBW0kBYyoPT_OCTs72uy7Qanhk5lpInyk2cBPh5",
"message": "请求参数可能有误(如无效的文章 URL / finder username / 视频 object_id),请检查参数后重试。注意:使用无效参数的请求被微信处理后仍会计费。"
},
"docs": "https://api.tikhub.io/#/WeChat-Channels-V2-API/fetch_video_comments_api_v1_wechat_channels_v2_fetch_video_comments_post",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {
"comment_id": "",
"last_buffer": "CpUCGOqSwOPCtaqfxwEYo7K0kLyi0p7HARjDkZDXi96nn8cBGIGQ2MO4u6ufxwEY05Ckh/K+76zHARjLkqCYjOfNn8cBGKSQ1PeE8NmfxwEYrJD854Gsr5/HARjfktjbjuXanscBGJCy9KrL/aafxwEYkJC8mafJkaDHARiSstjI9srGnscBGPGS1I3AgeKjxwEYrLG01bnJz6DHARjlktC9v+L1n8cBGJCSuK76wN2fxwEYlLJciszaoZ/HARiL",
"object_id": "14356538497218644142",
"raw": false
}
}This example shows part of the response. Copied content is valid JSON.






