Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

WeChat Channels Video Comments

Dokumentacja 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.

Cena
$0.01USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 3 opcjonalnych

Playground

Wejście
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.
WyjściePrzykład
Odpowiedźoutputs · 19.6 KB · 532 wierszy
[
  {
    "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": "",

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

README API

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
WeChat Channels$0.01 za wywołanieJSON
WeChat Channels$0.01 za wywołanieJSON
WeChat Channels$0.01 za wywołanieJSON
WeChat Channels$0.01 za wywołanieJSON
WeChat Channels$0.01 za wywołanieJSON
WeChat Channels$0.01 za wywołanieJSON

Przewodniki:Best WeChat Channels API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API WeChat Channels Video Comments?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/wechat-channels/v2/video-comments z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API WeChat Channels Video Comments?

$0.01 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API WeChat Channels Video Comments?

Wymagane: object_id (string). Opcjonalne: comment_id (any), last_buffer (any) i raw (boolean). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API WeChat Channels Video Comments?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego WeChat Channels lub klucza API?

Nie. WeChat Channels Video Comments działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API WeChat Channels.