v2Namestringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
v2NamestringobligatoireWeChat 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.
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
WeChat Channels Account VideosCette API WeChat Channels | $0.071429 par appel | JSON |
WeChat Channels | $0.021429 par appel | JSON |
WeChat Channels | $0.071429 par appel | JSON |
WeChat Channels | $0.114286 par appel | JSON |
WeChat Channels | $0.01 par appel | JSON |
WeChat Channels | $0.01 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/wechat-channels/account-videos avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.071429 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : v2Name (string). Facultatif : last_buffer (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. WeChat Channels Account Videos fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API WeChat Channels séparément.