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.
您的输出将显示在这里
完成输入,然后点击运行。
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.
开始构建
具备统一身份验证和使用情况跟踪的平台 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 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_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 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| 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 |
问题
向 https://api.sandbase.ai/v1/api/wechat-channels/account-videos 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.071429,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:v2Name (string)。 可选:last_buffer (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。WeChat Channels Account Videos 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 WeChat Channels API 访问权限。