usernamestringจำเป็น
WeChat Channels finder username (`v2_…@finder` format). Example (an account with live replays): `v2_060000231003b20faec8cae1811ac4d5c702ea32b0771737aa785454f7f8177114cc4d248d66@finder` (Huxiu).
https://api.sandbase.ai/v1/api/wechat-channels/v2/live-historyReturns a creator's broadcast replay list, including media download URLs and decryption keys. Supports cursor pagination via a finder username.
[
{
"data": {
"debug_id": "c7d29320",
"debug_info": "gAAAAABqu8jR_40jHFpo0KzyjmtsAveLJhbQwqP8Hc8hyXmVmnWG-jpZ1zBjMWxYez0Vi8aRSAiXhsmMDK_swv-fDb77fCtiBuUKP2SERYVPVbTu37PEZC_Sw5fqwe9t2re-w_kkiJ4YwCfDrakaLC1G04rny3_XiaHJQ08Til8Y7SKhwhBqspGxxUhBlRz9VCWbMoEJ3HaOMe7XyG9IlyHwKKWQjWahcn6WGBsJvAguVA09yy7nrFNYhYLEatuza8kf-mjz0SSdKMfvCXc_jkaxuimPTR2Xwg==",
"message": "请求参数可能有误(如无效的文章 URL / finder username / 视频 object_id),请检查参数后重试。注意:使用无效参数的请求被微信处理后仍会计费。"
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns a list of past broadcast replays for a WeChat Channels account. The only required input is the account's finder username in v2_…@finder format. Each item carries engagement counts, a creation time, and the account's profile and verification details.
id and createtime.forwardCount and favCount across replays to see which broadcasts drew the most sharing and saving.last_buffer and store each page.curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/v2/live-history" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"username": "v2_060000231003b20faec8cae1811ac4d5c702ea32b0771737aa785454f7f8177114cc4d248d66@finder"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
username | string | Yes | WeChat Channels finder username (v2_…@finder format). Example (an account with live replays): v2_060000231003b20faec8cae1811ac4d5c702ea32b0771737aa785454f7f8177114cc4d248d66@finder (Huxiu). |
flag | integer | No | Optional fetch flag, default 12. |
last_buffer | string | No | Optional pagination cursor (base64), leave empty for the first page; when continue_flag is truthy, pass the previous page's last_buffer. |
raw | boolean | No | Optional, default True. True=raw response; False=simplified parsed structure (recommended for media download). |
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
},
"continueFlag": 1,
"debug_id": "cf556551",
"debug_info": "gAAAAABq6ZEltSt0UZhsH6puzPVzjr-Oh_FM5KWdUjb0PBKdJDogNVxSv4W9pcBDvEp3j-Iu6lskJ0le…",
"lastBuffer": "CNK99OOI74OiwQEQASDavtietcSus9ABIKm1nOvlm+qx0AEg7bqU7Nv6kvjPASDdsvC9r7+L3c8BII6w…",
"last_buffer": "CNK99OOI74OiwQEQASDavtietcSus9ABIKm1nOvlm+qx0AEg7bqU7Nv6kvjPASDdsvC9r7+L3c8BII6w…",
"object": [
{
"adFlag": 4,
"adInfo": null,
"attachmentList": {
"attachments": [],
"pbRequestMsgInfo": null
},
"blockCgiFlag": 0,
"clientLocalBuffer": null,
"commentClose": 0,
"commentCount": 0,
"commentList": [],
"contact": {
"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…"
},
"bindInfo": [
{
"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
}
}
],
"clubInfo": null,
"coverEntranceFlag": 0,
"coverImgUrl": "http://mmsns.qpic.cn/mmsns/B2EfAOZfS1gDQfFF87q9ZrpjCaxbyB46BMsxicdXsvkqtgxWtibAp…",
"coverUrl": ""
},
"cookie": "",
"createtime": 1790153344,
"debugMessage": ""
}
],
"pbRequestMsgInfo": null,
"preloadInfo": {
"globalInfo": {
"allowToUseNewSpecMaxPercent": -1,
"bufferingHealthLengthL0": 5,
"bufferingHealthLengthL1": 10,
"bufferingHealthLengthL2": 15,
"canPreCreatedPlayer": false,
"currentBufferLengthPart3": 0,
"downloadWhenSpecChange": 0,
"enableLivePhotoPreload": false,
"enablePreloadTotalFeed": false,
"ffmpegTcpRecvSocketBufferSize": 131072,
"findPageEnableCellularPreload": false,
"findPagePreloadSecond": 5
},
"megavideoInfo": [
{
"feedId": 15016894668406660954,
"interestFactor": 1,
"pbRequestMsgInfo": null
}
],
"objectInfo": [
{
"enableFeedPreloadStrategy": true,
"enhanceConfig": null,
"feedId": 15016894668406660954,
"interestFactor": 1,
"isAutoIncrement": null,
"lastInsertedRowID": null,
"loadWithPlaying": [],
"lutConfig": null,
"maxBufferLength": 30,
"minBufferLength": 25,
"minCurrentFeedBufferLength": 5,
"pbRequestMsgInfo": null
}
],
"pbRequestMsgInfo": null,
"preloadStrategyId": 10594020206984739840
},
"totalCount": 48
}
| Field | Meaning |
|---|---|
object[] | One entry per replay in the current page. |
object[].id / object[].displayid | Numeric ID of the replay. In this response both fields hold the same value. |
object[].createtime | Creation time of the replay as a Unix timestamp in seconds. |
object[].favCount / object[].forwardCount / object[].commentCount | Number of saves, forwards and comments on the replay. |
object[].ipRegionInfo.regionText | Region text shown for the replay, for example Beijing. |
object[].contact.authInfo.authProfession | Verified entity name of the account that owns the replay. |
object[].contact.bindInfo[].bizInfo.info[].bizNickname | Nickname of the official account linked to the channel. |
object[].contact.coverImgUrl | URL of the account's cover image. |
continueFlag | Shows whether more pages exist. 1 means you can request the next page. |
lastBuffer / last_buffer | Base64 cursor for the next page. Both keys hold the same value. |
last_buffer empty on the first call. While continueFlag is 1, send the returned last_buffer in the next request.raw to false for the simplified parsed structure, which the parameter description recommends for media download.$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/v2/live-history" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"username": "v2_060000231003b20faec8cae1811ac4d5c702ea32b0771737aa785454f7f8177114cc4d248d66@finder"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
usernamestringจำเป็นWeChat Channels finder username (`v2_…@finder` format). Example (an account with live replays): `v2_060000231003b20faec8cae1811ac4d5c702ea32b0771737aa785454f7f8177114cc4d248d66@finder` (Huxiu).
flagintegerOptional fetch flag, default 12.
last_bufferanyOptional pagination cursor (base64), **leave empty for the first page**; when `continue_flag` is truthy, pass the previous page's `last_buffer`.
rawbooleanOptional, default True. True=raw response; False=simplified parsed structure (recommended for media download).
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"debug_id": "c7d29320",
"debug_info": "gAAAAABqu8jR_40jHFpo0KzyjmtsAveLJhbQwqP8Hc8hyXmVmnWG-jpZ1zBjMWxYez0Vi8aRSAiXhsmMDK_swv-fDb77fCtiBuUKP2SERYVPVbTu37PEZC_Sw5fqwe9t2re-w_kkiJ4YwCfDrakaLC1G04rny3_XiaHJQ08Til8Y7SKhwhBqspGxxUhBlRz9VCWbMoEJ3HaOMe7XyG9IlyHwKKWQjWahcn6WGBsJvAguVA09yy7nrFNYhYLEatuza8kf-mjz0SSdKMfvCXc_jkaxuimPTR2Xwg==",
"message": "请求参数可能有误(如无效的文章 URL / finder username / 视频 object_id),请检查参数后重试。注意:使用无效参数的请求被微信处理后仍会计费。"
}
}
]สำรวจเพิ่มเติม
| 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 |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/wechat-channels/v2/live-history โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.01 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: username (string). ตัวเลือก: flag (integer), last_buffer (any) และ raw (boolean). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น WeChat Channels Stream Replay History ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง WeChat Channels API แยกต่างหาก