v2Namestringobrigatório
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.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
v2NamestringobrigatórioWeChat 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.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
WeChat Channels Account VideosEsta API WeChat Channels | $0.071429 por chamada | JSON |
WeChat Channels | $0.021429 por chamada | JSON |
WeChat Channels | $0.071429 por chamada | JSON |
WeChat Channels | $0.114286 por chamada | JSON |
WeChat Channels | $0.01 por chamada | JSON |
WeChat Channels | $0.01 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/wechat-channels/account-videos com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.071429 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: v2Name (string). Opcionais: last_buffer (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. WeChat Channels Account Videos funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do WeChat Channels separadamente.