v2Namestringจำเป็น
WeChat Channels account unique id, usually ending with @finder.
https://api.sandbase.ai/v1/api/wechat-channels/account-videosGet a paginated WeChat Channels account feed by v2Name with continuation-buffer support. Use it to browse videos and other feed entries published by a known creator account.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns one page of a WeChat Channels account feed, plus the account profile. It needs the account's v2Name and, for later pages, the last_buffer value from the previous response.
object_id and export_id values to feed into video detail, comment or download lookups.curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/account-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"v2Name": "v2_060000231003b20faec8c7e48d1dc6d5c802e83db0770775bb566d2b495e6aae711d6d56bd04@finder"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
v2Name | string | Yes | WeChat Channels account unique id, usually ending with @finder. |
last_buffer | string | No | Pagination buffer returned by the previous WeChat Channels account videos response. Leave it empty for the first page. For this POST endpoint, send it in an application/x-www-form-urlencoded form body. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"anchor_stat": {
"recent_live_count": 0,
"total_live_count": 0
},
"contact": {
"additional_flag": "1",
"bind_info": [],
"cover_img_url": "http://mmsns.qpic.cn/mmsns/aXUpZVUYfjzXyNIQ6sVE3W3YFkDoWicHoyoticEJ2x1Ny5I0v5gjY…",
"ext_flag": 2097152,
"follow_flag": 0,
"head_url": "https://wx.qlogo.cn/finderhead/ver_1/cYjfLLvyawMia46XlTZvhpGlrG51EzMk4Atg5MZY1St…",
"live_cover_img_url": "",
"live_info": {
"anchor_status_flag": "2048",
"ktv_live_cover_imgs": [],
"live_cover_imgs": [],
"lottery_setting": {},
"mic_setting": {
"setting_flag": 0,
"setting_switch_flag": 4
},
"replay_setting": {
"can_use_intelligently_gen_replay_highlight": true
},
"source_type": 0,
"switch_flag": 4607,
"voice_live_cover_imgs": []
},
"live_status": 2,
"menu": [],
"nickname": "人工智能",
"original_entrance_flag": 1
},
"continue_flag": 1,
"feeds_count": 80,
"ip_region_info": {
"region_text": "湖北"
},
"last_buffer": "EAEYADAAOM/MhJCn65cDQIDog+SHiPoCSOKRzPz9qZKSyAFI5pDw1aSsod3HAUjHkfze4rCjiMcBSLSx…",
"live_duration_hours": 0,
"mcn_info": {},
"object": [
{
"comment_count": 5,
"cover_url": "https://finder.video.qq.com/251/20304/stodownload?encfilekey=oibeqyX228riaCwo9ST…",
"decode_key": "926853272",
"download_url": "https://finder.video.qq.com/251/20302/stodownload?encfilekey=Cvvj5Ix3eez3Y79Sxtv…",
"export_id": "export/UzFfAgtgekIEAQAAAAAAwp0tv-W0sgAAAAstQy6ubaLX4KHWvLEZgBPEtqI8Qm1FSPeLzNPgM…",
"fav_count": 20,
"file_size": 25854106,
"forward_count": 25,
"like_count": 15,
"live_info": {},
"media_type": "视频",
"object_id": "14421732514149370082"
}
],
"original_count": 3,
"req_p": "192.168.130.85:2020, 192.168.1.122:8090"
}
| Field | Meaning |
|---|---|
object[] | The feed entries on this page. Each item is one video. |
object[].title | Caption text of the video, including hashtags. |
object[].publish_time | Publish time of the video as a YYYY-MM-DD HH:MM:SS string. |
object[].like_count / comment_count / fav_count / forward_count | Engagement counts for the video. |
object[].video_play_len | Length of the video. The response does not state the unit. |
object[].object_id / export_id / object_nonce_id | Identifiers for the video. Use them with other video lookups. |
object[].cover_url / thumb_url / download_url / openurl | Links to the cover image, thumbnail, media file and the preview page of the video. |
contact.nickname / contact.signature / contact.head_url | Account display name, bio text and avatar link. |
continue_flag | 1 in this response, which shows more pages are available. Use it with last_buffer to decide whether to keep paging. |
feeds_count / original_count | Counts reported for the account. feeds_count was 80 and original_count was 3 in this response. |
last_buffer value from the response as the last_buffer parameter to get the next page. Leave it empty for the first page.last_buffer parameter goes in an application/x-www-form-urlencoded form body for this POST endpoint.v2Name usually ends with @finder. It is also returned as contact.username.$0.071429 per successful call. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/account-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"v2Name": "v2_060000231003b20faec8c7e48d1dc6d5c802e83db0770775bb566d2b495e6aae711d6d56bd04@finder"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
v2Namestringจำเป็นWeChat Channels account unique id, usually ending with @finder.
last_bufferstringPagination buffer returned by the previous WeChat Channels account videos response. Leave it empty for the first page. For this POST endpoint, send it in an application/x-www-form-urlencoded form body.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
WeChat Channels | $0.071429 ต่อการเรียก | JSON |
WeChat Channels | $0.021429 ต่อการเรียก | JSON |
WeChat Channels | $0.071429 ต่อการเรียก | JSON |
WeChat Channels | $0.114286 ต่อการเรียก | JSON |
WeChat Channels | $0.01 ต่อการเรียก | JSON |
WeChat Channels | $0.01 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/wechat-channels/account-videos โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.071429 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: v2Name (string). ตัวเลือก: last_buffer (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น WeChat Channels Account Videos ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง WeChat Channels API แยกต่างหาก