Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

WeChat Channels Stream Detail

API dokümanları
https://api.sandbase.ai/v1/api/wechat-channels/v2/live-detail

Returns live-room details including anchor info, status, online count, and replay data using a live ID. Allows switching between raw and parsed output formats.

Fiyat
$0.01USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 3 isteğe bağlı

Oynatma Alanı

Girdi
Live ID (numeric). Source: replay items of `fetch_live_history`, live entry, or live share. E.g. `2078950291205875194`.
Optional, anchor finder username (`v2_…@finder` format), improves hit rate. E.g. `v2_060000231003b20faec8cae1811ac4d5c702ea32b0771737aa785454f7f8177114cc4d248d66@finder` (Huxiu).
Optional, default True. True=raw response; False=simplified parsed structure.
01000
Optional, entry scene, default 5. Aralık: 0 ile 1000 arasında.
ÇıktıÖrnek
Yanıtoutputs · 12.7 KB · 366 satır
[
  {
    "data": {
      "abnormalClosePage": null,
      "anchorContact": {
        "additionalFlag": 201,
        "archievementInfo": null,
        "authInfo": {
          "appName": "gh_4ee148a6ecaa@app",
          "authGuarantor": null,
          "authIconType": 2,
          "authIconUrl": "https://dldir1v6.qq.com/weixin/checkresupdate/icons_filled_channels_authentication_enterprise_a2658032368245639e666fb11533a600.png",
          "authProfession": "北京虎嗅信息科技股份有限公司",
          "authVerifyIdentity": 3,
          "customerType": 1,
          "detailLink": "pages/index/index.html?showdetail=true&username=v2_060000231003b20faec8cae1811ac4d5c702ea32b0771737aa785454f7f8177114cc4d248d66@finder",
          "pbRequestMsgInfo": null,
          "realName": "",
          "unauthProfession": "",
          "verifyStatus": 0
        },
        "bindInfo": [
          {
            "bindType": 4,
            "bizInfo": null,
            "pbRequestMsgInfo": null,
            "profileBizInfo": {
              "info": [
                {
                  "authInfo": null,
                  "bizNickname": "虎嗅APP",
                  "bizUin": 0,
                  "bizUsername": "wxid_7620846208112",
                  "friendFollowCount": 0,
                  "headImgUrl": "https://wx.qlogo.cn/mmhead/ver_1/00P5CC8KJgzUNbciavz9o4RRNrHiaXLks72kVwAK4rwapzRKaztmFNCxicePbejePMwianDicMZYAbjV6zuj9AIRJaqpicPoEZydPxOyqPtmACh4o/132",
                  "pbRequestMsgInfo": null,
                  "serviceTypeName": "公众号"
                }
              ],
              "miniapps": [],
              "pbRequestMsgInfo": null
            },
            "qqmusicInfo": null,
            "stickerInfo": null,
            "wecomInfo": null
          },
          {
            "bindType": 2,
            "bizInfo": null,
            "pbRequestMsgInfo": null,
            "profileBizInfo": null,
            "qqmusicInfo": null,
            "stickerInfo": null,
            "wecomInfo": {
              "contactId": "",
              "contactWording": "",
              "kfUrl": "https://channels.weixin.qq.com/shop/mchkf/wxc33765a11668893d",
              "pbRequestMsgInfo": null
            }
          },
          {
            "bindType": 1,
            "bizInfo": {
              "info": [
                {
                  "authInfo": {
                    "authIconType": 2,
                    "authIconUrl": "https://dldir1v6.qq.com/weixin/checkresupdate/icons_filled_channels_authentication_enterprise_a2658032368245639e666fb11533a600.png",
                    "pbRequestMsgInfo": null,
                    "verifyInfo": ""
                  },
                  "bizNickname": "虎嗅APP",
                  "bizUin": 0,
                  "bizUsername": "wxid_7620846208112",
                  "friendFollowCount": 0,
                  "headImgUrl": "https://wx.qlogo.cn/mmhead/ver_1/00P5CC8KJgzUNbciavz9o4RRNrHiaXLks72kVwAK4rwapzRKaztmFNCxicePbejePMwianDicMZYAbjV6zuj9AIRJaqpicPoEZydPxOyqPtmACh4o/132",
                  "pbRequestMsgInfo": null,
                  "serviceTypeName": "公众号"
                }
              ],
              "miniapps": [],
              "pbRequestMsgInfo": null
            },
            "pbRequestMsgInfo": null,
            "profileBizInfo": null,
            "qqmusicInfo": null,
            "stickerInfo": null,
            "wecomInfo": null
          }
        ],
        "clubInfo": null,
        "coverEntranceFlag": 0,
        "coverImgUrl": "http://mmsns.qpic.cn/mmsns/B2EfAOZfS1gDQfFF87q9ZrpjCaxbyB46BMsxicdXsvkqtgxWtibAp5vXmTSK6Ab6jXz7hZbWrpsBk/0",
        "coverUrl": "",
        "extFlag": 2490372,
        "extInfo": {
          "birthDay": 0,
          "birthMonth": 0,
          "birthYear": 0,
          "city": "",
          "country": "CN",
          "pbRequestMsgInfo": null,
          "province": "",
          "sex": 0
        },
        "fansCount": 0,
        "feedCount": 0,
        "followFlag": 0,
        "followTime": 0,
        "foreignUserFlag": 0,
        "friendFollowCount": 0,
        "guestInfo": null,
        "headUrl": "https://wx.qlogo.cn/finderhead/ver_1/00P5CC8KJgzUNbciavz9o4bbDAdZP4kbwOBb0POMgRYksf46QCgSea4eZqRGmFUtiaNInAzRT9yD1eA4XOJRRf7fR4WfP7z0tIfC685zHTiccI/0",
        "liveCoverImgUrl": "https://wxapp.tc.qq.com/251/20304/stodownload?encfilekey=KGDRibp2wkicKY5NmDAvgOFbiaj0bgibWiaEN0dLA8RzxRY2HLgeL0nrB4A0srDH1VveuzyQkNW45uwqDNIHttXib6jA&token=ic1n0xDG6aw9S4zhazO9msldsZ8Z4TcvPLdl64tJ2E0AfibCNum3LX25VpLOotyUNXUkJCooO0JAOXFwNIwsLeLibicyKvhlbKM44OJ6rEOicia6wpxhfhibEIicabOf26ibpEQezHbPicvQUXz9iaI8zPj2gx1s54nwBeQRC5OWHlnuQd2srupIkY74euhtncujgMsIVlKn9lYH1vsEHwOxFQ1ur6fTZLrzmtftstQ&hy=SZ&idx=1&m=&scene=2&uzid=1&picformat=200&wxampicformat=503",
        "liveInfo": {
          "anchorShopTag": 0,
          "anchorStatusFlag": 34944,
          "isFanClubMember": false,
          "liveCoverImgTs": 0,
          "liveCoverImgs": [],
          "lotterySetting": {
            "attendType": 3,
            "pbRequestMsgInfo": null,
            "settingFlag": 0
          },
          "micSetting": {
            "adjustLayoutTopMicSdkUserId": "",
            "highlightMicPerson": false,
            "micLayoutBaseMode": 1,
            "pbRequestMsgInfo": null,
            "pkSettingFlag": 0,
            "purchaseMicSetting": null,
            "settingFlag": 0,
            "settingSwitchFlag": 4
          },
          "objectId": 0,
          "pbRequestMsgInfo": null,
          "recommendReason": "",
          "replaySetting": {
            "autoGenLiveReplay": false,
            "canUseIntelligentlyGenReplayHighlight": true,
            "enableReplayDumpDanmu": false,
            "intelligentlyGenReplayHighlight": false,
            "pbRequestMsgInfo": null
          },
          "streamUrl": "",
          "switchFlag": 15856094
        },
        "liveNoticeInfo": null,
        "liveStatus": 2,
        "loggingoutWording": "",
        "menu": [],
        "msgInfo": null,
        "nickname": "虎嗅APP",
        "oneTimeFlag": 0,
        "originalEntranceFlag": 1,
        "originalFlag": 2,
        "originalInfo": null,
        "pbRequestMsgInfo": null,
        "privacyInfo": null,
        "referenceInfo": [
          {
            "name": "公众号/服务号",
            "pbRequestMsgInfo": null,
            "status": 1,
            "type": 1
          },
          {
            "name": "小程序",
            "pbRequestMsgInfo": null,
            "status": 1,
            "type": 2
          },
          {
            "name": "秒剪",
            "pbRequestMsgInfo": null,
            "status": 2,
            "type": 4
          }
        ],
        "relationTag": "",
        "seq": 0,
        "signature": "关注虎嗅,与世界同步思考\n🈴huxiu_marketing",
        "spamStatus": 0,
        "status": 0,
        "userFlag": 0,
        "userMode": 0,
        "userType": 0,
        "username": "v2_060000231003b20faec8cae1811ac4d5c702ea32b0771737aa785454f7f8177114cc4d248d66@finder",
        "vestNickname": "",
        "wxUsernameV5": "",
        "wxuserFinderIdentityInfo": null
      },
      "anchorInfo": {
        "anchorLiveStatus": 2,
        "pbRequestMsgInfo": null
      },
      "anchorQuestEntrance": null,
      "audienceEndPageControl": 0,
      "audienceFollowInfo": null,
      "audienceMicStats": null,
      "autoGenReplayOption": null,
      "autoPlayControlFlag": 0,
      "backupFeedsOnImpression": null,
      "baseResponse": {
        "errMsg": null,
        "pbRequestMsgInfo": null,
        "ret": 0
      },
      "bizLiveNewFansNum": 0,
      "closePageActivityBanner": [],
      "closePageControlInfo": null,
      "creatorCenterEntrance": null,
      "curReplaySubscriptionStatus": 0,
      "debug_id": "4c215f5e",
      "debug_info": "gAAAAABqu8jPdXI4bnIzIn1pMBkz9_kgyxNYFnyiKfooltFOP1btuYlVmoXN_7X3QHxQdpWruBEXE73t3g6i1KMONtjkMIbfQa0QlIrbe6RPZ5K0ykY2syoZ50AHvsj9LTUhLk9C5YZbtSQ_yo8U4sp3HZoE64RxFzZA--pIB3d4STuPvO7eoASwxoIDVelgLQfNShHRnR1ufA_T2AJVrGadV_h71iQue1NFWqkv-tBakdoXEAupvt4zv9gjhmQW7Y4CEhfCrPaY",
      "disableShareCardExpose": true,
      "enableShowReplaySubscriptionEntry": false,
      "generateReplayPageDisplayInfo": "将直播评论转为弹幕并展示",
      "jumpNavInfo": null,
      "liveCover": {
        "imgUrl": "https://wxapp.tc.qq.com/251/20304/stodownload?encfilekey=KGDRibp2wkicJWmwc7no2RwE0ibwu0vic97I7hsK90SsT3dUSKP8gKQN3OffRhNtibezomZaJuftNWv43WoODxeU8Jw&token=AxricY7RBHdXDePIibFbE8bb0xur62VpC9c7kNB4FEEVsCIRiaEFjdVYtlIKly16ek742pktcRHcjia3ZLwiaf8OcvkcOOrYxbM1cWwbmdFiahU6MyqCwnN7OJwLVM744Ly6hSmgJSOL07vM5hVuu5m33LP3HWZ2x18Ct5zf8ondK10mQVFvVNhZp24BbMoPghNDWs7sibo5fATthzXHPXaicEnraoOsHCRoRU0T&hy=SZ&idx=1&m=&scene=2&uzid=1&picformat=200&wxampicformat=503",
        "imgUrlToken": "",
        "pbRequestMsgInfo": null
      },
      "liveDataDetailsJump": null,
      "liveDataDetailsJumpWording": "",
      "liveEntranceGuideInfo": null,
      "liveInfo": {
        "anchorCloselivepageData": null,
        "anchorReplaceInfo": null,
        "anchorShopTag": 0,
        "anchorStatusFlag": 0,
        "audiencesAvgSeconds": 0,
        "autoPlayPriority": 0,
        "bizInfo": null,
        "coverInfo": {
          "effectText": "",
          "effectType": 0,
          "pbRequestMsgInfo": null
        },
        "crowdfundGiftInfo": null,
        "endTime": 1780881387,
        "entranceAdInfos": [],
        "eventInfo": null,
        "extFlag": 0,
        "fansAudiencePercent": 0,
        "finderLiveFeedbackInfo": null,
        "forwardCnt": 0,
        "gameAppid": "",
        "heatPromotionAudienceTotalCount": 0,
        "heatPromotionNewFansTotalCount": 0,
        "heatPromotionPayTotalAmountInCents": 0,
        "heatValue": 0,
        "highlightSummaryInfo": null,
        "intercomMicInfo": null,
        "isWxaGame": 0,
        "ktvPlayerCount": 0,
        "ktvSettingsInfo": null,
        "layerShowInfo": null,
        "likeCnt": 0,
        "liveActivityType": [],
        "liveBarMsg": "",
        "liveBusinessType": 0,
        "liveCardDisableAutoPlay": false,
        "liveConcertInfo": null,
        "liveElapsedTime": 6368,
        "liveExtInfo": null,
        "liveFlag": 917669,
        "liveHeatValue": 0,
        "liveHeatValueStr": "",
        "liveId": 2078950291205875200,
        "liveMicInfo": null,
        "liveOnlineInfo": null,
        "livePermissionFlag": 0,
        "livePrivilegeInfo": null,
        "liveSdkChannelInfo": null,
        "liveSdkInfo": null,
        "liveShopTagInfo": null,
        "liveSpec": null,
        "liveSquareParticipantWording": "",
        "liveStatus": 2,
        "liveVrType": 0,
        "maxOnlineCount": 0,
        "memberLiveInfo": null,
        "micRecommendInfo": null,
        "modeInfo": {
          "liveMode": 1,
          "liveSubMode": 1,
          "pbRequestMsgInfo": null
        },
        "multiReason": [],
        "newLikeCnt": 0,
        "onlineCnt": 0,
        "participantCount": 0,
        "pbRequestMsgInfo": null,
        "previewJoinliveDelaySeconds": 0,
        "purchaseInfo": null,
        "replayInfo": {
          "anchorSpecified": [],

Örnekler

Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.

API README

WeChat Channels Stream Detail API

Returns details for one WeChat Channels live room: the anchor's profile and bound accounts, the live status, and timing and engagement counters for the session. It needs a numeric live_id. The default response is the raw payload, and raw set to false returns a simplified structure.

Use cases

  • Check whether a live room has ended by reading liveStatus and liveInfo.endTime.
  • Pull the anchor's nickname, avatar, signature and verification details for a given live session.
  • Find the public account linked to a live anchor through the bound account entries.
  • Measure how long a finished stream ran using liveInfo.liveElapsedTime.

Request

curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/v2/live-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"live_id": "2078950291205875194"}'

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

Parameters

NameTypeRequiredDescription
live_idstringYesLive ID (numeric). Source: replay items of fetch_live_history, live entry, or live share. E.g. 2078950291205875194.
finder_usernamestringNoOptional, anchor finder username (v2_…@finder format), improves hit rate. E.g. v2_060000231003b20faec8cae1811ac4d5c702ea32b0771737aa785454f7f8177114cc4d248d66@finder (Huxiu).
rawbooleanNoOptional, default True. True=raw response; False=simplified parsed structure.
sceneintegerNoOptional, entry scene, default 5.

Example response

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

{
  "abnormalClosePage": null,
  "anchorContact": {
    "additionalFlag": 201,
    "archievementInfo": null,
    "authInfo": {
      "appName": "gh_4ee148a6ecaa@app",
      "authGuarantor": null,
      "authIconType": 2,
      "authIconUrl": "https://dldir1v6.qq.com/weixin/checkresupdate/icons_filled_channels_authenticati…",
      "authProfession": "北京虎嗅信息科技股份有限公司",
      "authVerifyIdentity": 3,
      "customerType": 1,
      "detailLink": "pages/index/index.html?showdetail=true&username=v2_060000231003b20faec8cae1811ac…",
      "pbRequestMsgInfo": null,
      "realName": "",
      "unauthProfession": "",
      "verifyStatus": 0
    },
    "bindInfo": [
      {
        "bindType": 4,
        "bizInfo": null,
        "pbRequestMsgInfo": null,
        "profileBizInfo": {
          "info": [
            {
              "authInfo": null,
              "bizNickname": "虎嗅APP",
              "bizUin": 0,
              "bizUsername": "wxid_7620846208112",
              "friendFollowCount": 0,
              "headImgUrl": "https://wx.qlogo.cn/mmhead/ver_1/ZiaKbNU8WkY5x0OJj4Hj3f0oiaznQz6LLxUsZeXIJRcLukO…",
              "pbRequestMsgInfo": null,
              "serviceTypeName": "公众号"
            }
          ],
          "miniapps": [],
          "pbRequestMsgInfo": null
        },
        "qqmusicInfo": null,
        "stickerInfo": null,
        "wecomInfo": null
      }
    ],
    "clubInfo": null,
    "coverEntranceFlag": 0,
    "coverImgUrl": "http://mmsns.qpic.cn/mmsns/B2EfAOZfS1gDQfFF87q9ZrpjCaxbyB46BMsxicdXsvkqtgxWtibAp…",
    "coverUrl": "",
    "extFlag": 2490372,
    "extInfo": {
      "birthDay": 0,
      "birthMonth": 0,
      "birthYear": 0,
      "city": "",
      "country": "CN",
      "pbRequestMsgInfo": null,
      "province": "",
      "sex": 0
    },
    "fansCount": 0,
    "feedCount": 0
  },
  "anchorInfo": {
    "anchorLiveStatus": 2,
    "pbRequestMsgInfo": null
  },
  "anchorNewLiveJumpInfo": null,
  "anchorQuestEntrance": null,
  "audienceEndPageControl": 0,
  "audienceFollowInfo": null,
  "audienceMicStats": null,
  "authCollectJumpInfo": null,
  "autoGenReplayOption": null,
  "autoPlayControlFlag": 0,
  "backupFeedsOnImpression": null
}

Response fields

FieldMeaning
liveInfo.liveIdNumeric ID of the live room. It matches the live_id you sent.
liveInfo.endTimeEnd time of the live session. The value looks like a Unix timestamp in seconds.
liveInfo.liveElapsedTimeElapsed time of the session, as a number. In this response it is 6368.
liveInfo.likeCnt / liveInfo.forwardCnt / liveInfo.heatValueLike count, forward count and heat value for the live room. All are 0 in this response.
anchorContact.nicknameDisplay name of the anchor account.
anchorContact.signatureProfile signature text of the anchor.
anchorContact.headUrlAvatar image URL of the anchor.
anchorContact.authInfo.authProfessionVerified organization name shown on the anchor's account.
anchorContact.bindInfo[].profileBizInfo.info[].bizNickname / anchorContact.bindInfo[].profileBizInfo.info[].bizUsernameName and username of an official account linked to the anchor. serviceTypeName gives the account type.
anchorContact.liveStatus / anchorInfo.anchorLiveStatusNumeric live status code for the anchor. Both are 2 in this response, and the response does not explain the code.

Notes

  • Get live_id from the replay items of WeChat Channels Stream Replay History, or from a live entry or live share.
  • Pass finder_username in the v2_…@finder format to improve the hit rate. WeChat Channels ID to Username converts a Channel ID into this value.
  • liveId is a number in the response, while live_id is a string in the request.
  • Most fields in the raw response are null, 0 or empty strings for this ended session.

Pricing

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

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
WeChat Channels$0.01 çağrı başınaJSON
WeChat Channels$0.01 çağrı başınaJSON
WeChat Channels$0.01 çağrı başınaJSON
WeChat Channels$0.01 çağrı başınaJSON
WeChat Channels$0.01 çağrı başınaJSON
WeChat Channels$0.01 çağrı başınaJSON

Kılavuzlar:Best WeChat Channels API in 2026: Pricing Compared

Sorular

SSS

WeChat Channels Stream Detail API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/wechat-channels/v2/live-detail adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

WeChat Channels Stream Detail API'sinin fiyatı nedir?

çağrı başına $0.01, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

WeChat Channels Stream Detail API'si hangi parametreleri kabul eder?

Gerekli: live_id (string). İsteğe bağlı: finder_username (any), raw (boolean) ve scene (integer). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

WeChat Channels Stream Detail API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir WeChat Channels geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. WeChat Channels Stream Detail, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. WeChat Channels API erişimi için ayrıca başvuru yapmanız gerekmez.