WeChat Channels Video Comments API
Returns one page of first-level comments for a WeChat Channels video. Each comment includes the text, author, like count, reply count and IP region. The request needs the video objectId. objectNonceId and last_buffer are optional.
Use cases
- Read what viewers say about a specific WeChat Channels video.
- Rank comments by
like_count to find the most supported opinions.
- Group commenters by
ip_region_info.region_text to see where a discussion comes from.
- Export comment text for sentiment or topic analysis.
Request
curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/video-comment" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"objectId": "15042116979764234697", "objectNonceId": "13454967799950666727_0_0_4_32_0_45d03c48-d38a-11f1-8fe5-9b7987977b23"}'
The result is returned in outputs[0].data.
Parameters
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"comment_info": [
{
"author_contact": {
"bind_info": [],
"ext_info": {
"sex": 2
},
"head_url": "https://wx.qlogo.cn/finderhead/Q3auHgzwzM43y0x0AvRudFaN6YZ0vXX6Xkc4GEiaS0SKcjnWD…",
"menu": [],
"nickname": "招财姐爱生话",
"reference_info": [],
"username": "v2_060000231003b20faec8c4e48b1dcbd6cc02ed3db0778a03150e48f267d8f64d121737888919@…"
},
"comment_id": "15042242325261781458",
"content": "能实现的",
"content_type": 0,
"continue_flag": 1,
"createtime": "1793175020",
"dislike_count": 0,
"display_flag": 8,
"expand_comment_count": 12,
"ext_flag": 32,
"head_url": "https://wx.qlogo.cn/finderhead/Q3auHgzwzM43y0x0AvRudFaN6YZ0vXX6Xkc4GEiaS0SKcjnWD…",
"interaction_label_list": []
}
],
"down_continue_flag": 1,
"last_buffer": "CsIBCKq55KH3qIPm0AEY0pPMtKn2seDQARiUsoCNruO34NABGJWQuOrcvLng0AEY/5X0/IautODQARjP…",
"req_p": "2020"
}
Response fields
Notes
Pricing
$0.021429 per successful call. Failed calls are not charged.