Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

WeChat Channels Video Comments

API 文档
https://api.sandbase.ai/v1/api/wechat-channels/v2/video-comments

Returns first-level comments or nested replies for a WeChat Channels video, including like counts and IP regions, using the video object ID.

价格
$0.01美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 3 个可选

Playground

输入
Video objectId (numeric), e.g. `14941130915890399732`. From the video `id` of `fetch_user_videos` / `fetch_video_detail`.
Optional. To expand the replies of a comment, pass its `comment_id` (numeric); leave empty for the first-level page.
Optional pagination cursor (base64). **Leave empty for the first page**; when `down_continue` is truthy, pass the previous page's `last_buffer`.
Optional, default True. True=raw response; False=simplified parsed structure.
输出示例
响应outputs · 19.6 KB · 532 行
[
  {
    "data": {
      "baseResponse": {
        "errMsg": {
          "pbRequestMsgInfo": null,
          "string": ""
        },
        "pbRequestMsgInfo": null,
        "ret": 0
      },
      "commentInfo": [
        {
          "advertisementInfo": null,
          "authorContact": {
            "additionalFlag": 0,
            "archievementInfo": null,
            "authInfo": null,
            "bindInfo": [],
            "clubInfo": null,
            "coverEntranceFlag": 0,
            "coverImgUrl": "",
            "coverUrl": "",
            "extFlag": 0,
            "extInfo": null,
            "fansCount": 0,
            "feedCount": 0,
            "followFlag": 0,
            "followTime": 0,
            "foreignUserFlag": 0,
            "friendFollowCount": 0,
            "guestInfo": null,
            "headUrl": "https://wx.qlogo.cn/mmhead/ver_1/MFia8FAEKwOhmmSv53v4Q1zzwSbhjHbkFtJMic66lQVAxACA4bLth8knSticAj4jfmooWIdo0XicPwsgWnQKBeDsicRvSw6Bt0JzkicqjwURmibiaSk/132",
            "liveCoverImgUrl": "",
            "liveInfo": null,
            "liveNoticeInfo": null,
            "liveStatus": 0,
            "loggingoutWording": "",
            "menu": [],
            "msgInfo": null,
            "nickname": "洪耀",
            "oneTimeFlag": 0,
            "originalEntranceFlag": 0,
            "originalFlag": 0,
            "originalInfo": null,
            "pbRequestMsgInfo": null,
            "privacyInfo": null,
            "referenceInfo": [],
            "relationTag": "",
            "seq": 0,
            "signature": "",
            "spamStatus": 0,
            "status": 0,
            "userFlag": 0,
            "userMode": 0,
            "userType": 0,
            "username": "v5_020b0a1661040100000000007a281082a6ac0a000000b1afa7d8728e3dd43ef4317a780e33c2f281f237ebc8e69cce0baed61f6412f01f5929786a057a5d9129d435114992f10ac992fb081b15a30aea81d6e4a1f5e83ce06b950bf1a7fd250706d37f@stranger",
            "vestNickname": "",
            "wxUsernameV5": "",
            "wxuserFinderIdentityInfo": null
          },
          "authorReactionInfo": null,
          "blacklistFlag": 0,
          "chatroomMemberNickname": "",
          "clientId": "",
          "commentId": 14941171976498846000,
          "commentType": 0,
          "content": "放下执念,看淡得失,内心平和才是真自在。生活不必太较真,简单快乐最难得。保持一颗平常心,笑对人生百态,日子自然过得舒心惬意。",
          "contentInfo": null,
          "contentType": 0,
          "continueFlag": 0,
          "createtime": 1781126496,
          "deleteFlag": 0,
          "dislikeCount": 0,
          "dislikeFlag": 0,
          "displayFlag": 0,
          "displayid": 0,
          "displayidDiscarded": "",
          "expandCommentCount": 0,
          "extFlag": 32,
          "friendRecExtinfo": null,
          "friendRecommendList": null,
          "headUrl": "https://wx.qlogo.cn/mmhead/ver_1/MFia8FAEKwOhmmSv53v4Q1zzwSbhjHbkFtJMic66lQVAxACA4bLth8knSticAj4jfmooWIdo0XicPwsgWnQKBeDsicRvSw6Bt0JzkicqjwURmibiaSk/132",
          "helpPromotionButton": null,
          "interactionLabelList": [],
          "ipRegionInfo": {
            "pbRequestMsgInfo": null,
            "regionText": "Hebei"
          },
          "lastBuffer": "",
          "levelTwoComment": [],
          "likeCount": 136,
          "likeFlag": 0,
          "mentionedUserInfo": [],
          "msgInfo": null,
          "nickname": "洪耀",
          "pbRequestMsgInfo": null,
          "promotionInfo": null,
          "recommendCount": 0,
          "recommendFlag": 0,
          "refFeedJumpInfo": null,
          "refProductJumpInfo": null,
          "relatedFeedInfo": null,
          "replacedContent": "",
          "replyBlacklistFlag": 0,
          "replyCommentId": 0,
          "replyContact": null,
          "replyContent": "",
          "replyNickname": "",
          "replyUsername": "",
          "reportJson": "{\"request_id\":7510704745591016176,\"rank_request_id\":7510704745591016176,\"friend_recommend_cnt\":0,\"is_my_recommend_comment\":0}",
          "searchKeywordInfo": [],
          "thankFlag": 0,
          "unreadFlag": 0,
          "upContinueFlag": 0,
          "username": "v5_020b0a1661040100000000007a281082a6ac0a000000b1afa7d8728e3dd43ef4317a780e33c2f281f237ebc8e69cce0baed61f6412f01f5929786a057a5d9129d435114992f10ac992fb081b15a30aea81d6e4a1f5e83ce06b950bf1a7fd250706d37f@stranger"
        },
        {
          "advertisementInfo": null,
          "authorContact": {
            "additionalFlag": 0,
            "archievementInfo": null,
            "authInfo": null,
            "bindInfo": [],
            "clubInfo": null,
            "coverEntranceFlag": 0,
            "coverImgUrl": "",
            "coverUrl": "",
            "extFlag": 0,
            "extInfo": {
              "birthDay": 0,
              "birthMonth": 0,
              "birthYear": 0,
              "city": "",
              "country": "",
              "pbRequestMsgInfo": null,
              "province": "",
              "sex": 2
            },
            "fansCount": 0,
            "feedCount": 0,
            "followFlag": 0,
            "followTime": 0,
            "foreignUserFlag": 0,
            "friendFollowCount": 0,
            "guestInfo": null,
            "headUrl": "https://wx.qlogo.cn/finderhead/Kwg1Hs1pPD0QuIysfAWeaZqnT7tDXEqAxkhib9vGWhSFhJL1sVR023B4bjj4Mn5navHk1iagI9pq8/0",
            "liveCoverImgUrl": "",
            "liveInfo": null,
            "liveNoticeInfo": null,
            "liveStatus": 0,
            "loggingoutWording": "",
            "menu": [],
            "msgInfo": null,
            "nickname": "豆豆豆-+",
            "oneTimeFlag": 0,
            "originalEntranceFlag": 0,
            "originalFlag": 0,
            "originalInfo": null,
            "pbRequestMsgInfo": null,
            "privacyInfo": null,
            "referenceInfo": [],
            "relationTag": "",
            "seq": 0,
            "signature": "",
            "spamStatus": 0,
            "status": 0,
            "userFlag": 0,
            "userMode": 0,
            "userType": 0,
            "username": "v2_060000231003b20faec8c5e28911c6d1cb02eb37b0774edb635f6d9642891cbfbdf3005d7a16@finder",
            "vestNickname": "",
            "wxUsernameV5": "",
            "wxuserFinderIdentityInfo": null
          },
          "authorReactionInfo": null,
          "blacklistFlag": 0,
          "chatroomMemberNickname": "",
          "clientId": "",
          "commentId": 14960453546833873000,
          "commentType": 0,
          "content": "花开如瀑,金波荡漾。\n微风轻拂,芬芳满怀。\n愿您岁月安然,惬意从容。#早安中国",
          "contentInfo": null,
          "contentType": 0,
          "continueFlag": 0,
          "createtime": 1783425038,
          "deleteFlag": 0,
          "dislikeCount": 0,
          "dislikeFlag": 0,
          "displayFlag": 8,
          "displayid": 0,
          "displayidDiscarded": "",
          "expandCommentCount": 0,
          "extFlag": 32,
          "friendRecExtinfo": null,
          "friendRecommendList": null,
          "headUrl": "https://wx.qlogo.cn/finderhead/Kwg1Hs1pPD0QuIysfAWeaZqnT7tDXEqAxkhib9vGWhSFhJL1sVR023B4bjj4Mn5navHk1iagI9pq8/0",
          "helpPromotionButton": null,
          "interactionLabelList": [],
          "ipRegionInfo": {
            "pbRequestMsgInfo": null,
            "regionText": "Henan"
          },
          "lastBuffer": "",
          "levelTwoComment": [],
          "likeCount": 0,
          "likeFlag": 0,
          "mentionedUserInfo": [],
          "msgInfo": null,
          "nickname": "豆豆豆-+",
          "pbRequestMsgInfo": null,
          "promotionInfo": null,
          "recommendCount": 0,
          "recommendFlag": 0,
          "refFeedJumpInfo": null,
          "refProductJumpInfo": null,
          "relatedFeedInfo": null,
          "replacedContent": "",
          "replyBlacklistFlag": 0,
          "replyCommentId": 0,
          "replyContact": null,
          "replyContent": "",
          "replyNickname": "",
          "replyUsername": "",
          "reportJson": "{\"request_id\":7510704745591016176,\"rank_request_id\":7510704745591016176,\"friend_recommend_cnt\":0,\"is_my_recommend_comment\":0}",
          "searchKeywordInfo": [],
          "thankFlag": 0,
          "unreadFlag": 0,
          "upContinueFlag": 0,
          "username": "v2_060000231003b20faec8c5e28911c6d1cb02eb37b0774edb635f6d9642891cbfbdf3005d7a16@finder"
        },
        {
          "advertisementInfo": null,
          "authorContact": {
            "additionalFlag": 0,
            "archievementInfo": null,
            "authInfo": null,
            "bindInfo": [],
            "clubInfo": null,
            "coverEntranceFlag": 0,
            "coverImgUrl": "",
            "coverUrl": "",
            "extFlag": 0,
            "extInfo": null,
            "fansCount": 0,
            "feedCount": 0,
            "followFlag": 0,
            "followTime": 0,
            "foreignUserFlag": 0,
            "friendFollowCount": 0,
            "guestInfo": null,
            "headUrl": "https://wx.qlogo.cn/mmhead/ver_1/PFh4pVV3yhGTfqZcnEU1eHK4qAOPh2QKESydlQYVm7RLePT6BOicp67L0xN68eaHImxM1QyCV9TwSW1ic0Ddr8Jo3cXJTjHNRzDphToS6AWr0/132",
            "liveCoverImgUrl": "",
            "liveInfo": null,
            "liveNoticeInfo": null,
            "liveStatus": 0,
            "loggingoutWording": "",
            "menu": [],
            "msgInfo": null,
            "nickname": "老兵友中",
            "oneTimeFlag": 0,
            "originalEntranceFlag": 0,
            "originalFlag": 0,
            "originalInfo": null,
            "pbRequestMsgInfo": null,
            "privacyInfo": null,
            "referenceInfo": [],
            "relationTag": "",
            "seq": 0,
            "signature": "",
            "spamStatus": 0,
            "status": 0,
            "userFlag": 0,
            "userMode": 0,
            "userType": 0,
            "username": "v5_020b0a1661040100000000003a3506e953feee000000b1afa7d8728e3dd43ef4317a780e33c2f281f237ebc8e69cce0baed61f48727399e0747beb44f14526a9a11a0df4098095978838fb9adb097e12d5d9e72ff8248ca5cb37d6b6080862ab1435c7@stranger",
            "vestNickname": "",
            "wxUsernameV5": "",
            "wxuserFinderIdentityInfo": {
              "finderAuthInfo": {
                "appName": "",
                "authGuarantor": null,
                "authIconType": 0,
                "authIconUrl": "",
                "authProfession": "",
                "authVerifyIdentity": 0,
                "customerType": 0,
                "detailLink": "",
                "pbRequestMsgInfo": null,
                "realName": "",
                "unauthProfession": "",
                "verifyStatus": 0
              },
              "pbRequestMsgInfo": null,
              "showFinderIdentity": 1
            }
          },
          "authorReactionInfo": null,
          "blacklistFlag": 0,
          "chatroomMemberNickname": "",

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

WeChat Channels Video Comments API

Returns a page of first-level comments for a WeChat Channels video, or the nested replies under one comment. It needs the numeric video object_id. Each comment includes the text, author nickname, like count and IP region.

Use cases

  • Show the most liked viewer comments for a specific Channels video.
  • Count comments by ipRegionInfo.regionText to see which regions a video's audience comes from.
  • Expand the replies under one comment by passing its comment_id.
  • Track a video's comment, like, favorite and forward totals over time.

Request

curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/v2/video-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"object_id": "14941130915890399732"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
object_idstringYesVideo objectId (numeric), e.g. 14941130915890399732. From the video id of fetch_user_videos / fetch_video_detail.
comment_idstringNoOptional. To expand the replies of a comment, pass its comment_id (numeric); leave empty for the first-level page.
last_bufferstringNoOptional pagination cursor (base64). Leave empty for the first page; when down_continue is truthy, pass the previous page's last_buffer.
rawbooleanNoOptional, default True. True=raw response; False=simplified parsed structure.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "baseResponse": {
    "errMsg": {
      "pbRequestMsgInfo": null,
      "string": ""
    },
    "pbRequestMsgInfo": null,
    "ret": 0
  },
  "commentInfo": [
    {
      "advertisementInfo": null,
      "authorContact": {
        "additionalFlag": 0,
        "archievementInfo": null,
        "authInfo": null,
        "bindInfo": [],
        "clubInfo": null,
        "coverEntranceFlag": 0,
        "coverImgUrl": "",
        "coverUrl": ""
      },
      "authorReactionInfo": null,
      "blacklistFlag": 0,
      "chatroomMemberNickname": "",
      "clientId": "",
      "commentId": 14941155874161101301,
      "commentType": 0,
      "content": "一粥一饭暖人心,一草一木皆风景,无论所得还是所不得,都不如内心的安然自得。山不解释自己的高度,海不炫耀自己的深度。你也不必证明给谁看,时间会让一切水落石出。",
      "contentInfo": null,
      "contentType": 0,
      "continueFlag": 0
    }
  ],
  "countInfo": {
    "bulletcommentCount": 0,
    "commentCount": 97,
    "favCount": 13502,
    "forwardCount": 100002,
    "likeCount": 9158,
    "pbRequestMsgInfo": null,
    "readCount": 0,
    "versionData": {
      "dataVersion": 1793676409,
      "overwrite": false,
      "pbRequestMsgInfo": null
    }
  },
  "debug_id": "e6696f48",
  "debug_info": "gAAAAABq6ZEqX5QkY9hHkUSohd-feyYNc1yc4wJNKVCSrgXzNZvl88qqSZveAo1nAtIE7jC8VCWJC1cs…",
  "descComment": {
    "advertisementInfo": null,
    "authorContact": {
      "additionalFlag": 0,
      "archievementInfo": null,
      "authInfo": null,
      "bindInfo": [],
      "clubInfo": null,
      "coverEntranceFlag": 0,
      "coverImgUrl": "",
      "coverUrl": "",
      "extFlag": 0,
      "extInfo": {
        "birthDay": 0,
        "birthMonth": 0,
        "birthYear": 0,
        "city": "",
        "country": "",
        "pbRequestMsgInfo": null,
        "province": "",
        "sex": 1
      },
      "fansCount": 0,
      "feedCount": 0
    },
    "authorReactionInfo": null,
    "blacklistFlag": 0,
    "chatroomMemberNickname": "",
    "clientId": "",
    "commentId": 14941155874161101301,
    "commentType": 0,
    "content": "一粥一饭暖人心,一草一木皆风景,无论所得还是所不得,都不如内心的安然自得。山不解释自己的高度,海不炫耀自己的深度。你也不必证明给谁看,时间会让一切水落石出。",
    "contentInfo": null,
    "contentType": 0,
    "continueFlag": 0
  },
  "descComments": [],
  "downContinueFlag": 1,
  "emojiDescComments": [],
  "halfSheetInfo": null,
  "lastBuffer": "CqsCCP///////////wEY9ZP06LHD6azPARj8k5DOyqeNz88BGLq08NmDmO2szwEY5JS4l7rd6qzPARi1…",
  "last_buffer": "CqsCCP///////////wEY9ZP06LHD6azPARj8k5DOyqeNz88BGLq08NmDmO2szwEY5JS4l7rd6qzPARi1…"
}

Response fields

FieldMeaning
commentInfo[].commentIdID of the comment. Pass it as comment_id to load the replies under that comment.
commentInfo[].contentText of the comment.
commentInfo[].nickname / commentInfo[].headUrlDisplay name and avatar URL of the commenter.
commentInfo[].likeCountNumber of likes on the comment.
commentInfo[].createtimeTime the comment was posted, as a Unix timestamp in seconds.
commentInfo[].ipRegionInfo.regionTextRegion shown for the commenter's IP, for example Henan.
commentInfo[].expandCommentCount / commentInfo[].levelTwoComment[]Reply data for the comment. levelTwoComment holds nested replies when they are returned.
countInfo.commentCount / countInfo.likeCount / countInfo.favCount / countInfo.forwardCountTotals for the whole video: comments, likes, favorites and forwards.
downContinueFlagShows whether more comments can be loaded. A value of 1 means another page exists.
lastBufferCursor for the next page. Pass it as last_buffer in the next request.

Notes

  • Get object_id from the video id returned by WeChat Channels User Videos or WeChat Channels Video Detail.
  • Leave last_buffer empty for the first page. When downContinueFlag is 1, send the previous response's lastBuffer value as last_buffer.
  • To read replies, send the commentId of a first-level comment as comment_id together with the same object_id.
  • The response includes both lastBuffer and last_buffer with the same cursor value. descComment repeats the first comment with extra author profile fields.

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相关 APIs

全部 APIs
API价格响应
WeChat Channels$0.01 每次调用JSON
WeChat Channels$0.01 每次调用JSON
WeChat Channels$0.01 每次调用JSON
WeChat Channels$0.01 每次调用JSON
WeChat Channels$0.01 每次调用JSON
WeChat Channels$0.01 每次调用JSON

指南:Best WeChat Channels API in 2026: Pricing Compared

问题

常见问题

如何使用 WeChat Channels Video Comments API?

向 https://api.sandbase.ai/v1/api/wechat-channels/v2/video-comments 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

WeChat Channels Video Comments API 的价格是多少?

每次调用 $0.01,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

WeChat Channels Video Comments API 接受哪些参数?

必填:object_id (string)。 可选:comment_id (any), last_buffer (any) 和 raw (boolean)。 Parameters 表和本页的 Playground 列出了每个字段。

WeChat Channels Video Comments API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 WeChat Channels 开发者账户或 API key 吗?

不需要。WeChat Channels Video Comments 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 WeChat Channels API 访问权限。