WeChat Channels collection videos
tikhub.x.wechat-channels-v2-fetch-collection-videosWechat channels: fetch collection videos (v2)
- Price
- $0.01/successPelo preço do provedor
- Success rate
- —Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
- Latency p50
- ——
- Last verified
- 28 de jul. de 2026Verified working
POSThttps://toolswitch.dev/v1/tools/tikhub.x.wechat-channels-v2-fetch-collection-videosPreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Corpo (JSON) | ||||
raw | booleano | Opcional | True=raw response; False=simplified parsed structure (recommended for media download) | true |
topic | string | Opcional | Collection name (optional, improves hit rate) | 早安中国 |
topic_id | string | Obrigatório | Collection ID (numeric, from topic_id of fetch_user_collections) | 14616794565351966924 |
username | string | Opcional | Creator finder username (optional, improves hit rate) | v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder |
topic_type | inteiro | Opcional | Collection type, default 16 (align with topic_type from fetch_user_collections) | 16 |
last_buffer | string | Opcional | Pagination cursor (base64), leave empty for first page | |
- Corpo (JSON)
rawbooleanoOpcionalTrue=raw response; False=simplified parsed structure (recommended for media download)
Exemplo:
truetopicstringOpcionalCollection name (optional, improves hit rate)
Exemplo:
早安中国topic_idstringObrigatórioCollection ID (numeric, from topic_id of fetch_user_collections)
Exemplo:
14616794565351966924usernamestringOpcionalCreator finder username (optional, improves hit rate)
Exemplo:
v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@findertopic_typeinteiroOpcionalCollection type, default 16 (align with topic_type from fetch_user_collections)
Exemplo:
16last_bufferstringOpcionalPagination cursor (base64), leave empty for first page
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
curl -X POST 'https://toolswitch.dev/v1/tools/tikhub.x.wechat-channels-v2-fetch-collection-videos' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"raw":true,"topic":"早安中国","topic_id":"14616794565351966924","username":"v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder","topic_type":16}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/tikhub.x.wechat-channels-v2-fetch-collection-videos",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"raw\":true,\"topic\":\"早安中国\",\"topic_id\":\"14616794565351966924\",\"username\":\"v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder\",\"topic_type\":16}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.wechat-channels-v2-fetch-collection-videos", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"raw\":true,\"topic\":\"早安中国\",\"topic_id\":\"14616794565351966924\",\"username\":\"v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder\",\"topic_type\":16}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.01/success, incluindo a taxa de serviço.