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.01JSON
WeChat Channels每次呼叫 $0.01JSON
WeChat Channels每次呼叫 $0.01JSON
WeChat Channels每次呼叫 $0.01JSON
WeChat Channels每次呼叫 $0.01JSON
WeChat Channels每次呼叫 $0.01JSON

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

問題

常見問題

我要如何使用 WeChat Channels Video Comments API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/wechat-channels/v2/video-comments。您也可以直接在本頁的 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 金鑰嗎?

不需要。WeChat Channels Video Comments 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 WeChat Channels API 存取權。