WeChat Channels collection videos
tikhub.x.wechat-channels-v2-fetch-collection-videosWechat channels: fetch collection videos (v2)
- Price
- $0.01/successAu prix du fournisseur
- Success rate
- —Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
- Latency p50
- ——
- Last verified
- 28 juil. 2026Verified working
POSThttps://toolswitch.dev/v1/tools/tikhub.x.wechat-channels-v2-fetch-collection-videosPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Corps (JSON) | ||||
raw | booléen | Facultatif | True=raw response; False=simplified parsed structure (recommended for media download) | true |
topic | chaîne | Facultatif | Collection name (optional, improves hit rate) | 早安中国 |
topic_id | chaîne | Obligatoire | Collection ID (numeric, from topic_id of fetch_user_collections) | 14616794565351966924 |
username | chaîne | Facultatif | Creator finder username (optional, improves hit rate) | v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder |
topic_type | entier | Facultatif | Collection type, default 16 (align with topic_type from fetch_user_collections) | 16 |
last_buffer | chaîne | Facultatif | Pagination cursor (base64), leave empty for first page | |
- Corps (JSON)
rawbooléenFacultatifTrue=raw response; False=simplified parsed structure (recommended for media download)
Exemple :
truetopicchaîneFacultatifCollection name (optional, improves hit rate)
Exemple :
早安中国topic_idchaîneObligatoireCollection ID (numeric, from topic_id of fetch_user_collections)
Exemple :
14616794565351966924usernamechaîneFacultatifCreator finder username (optional, improves hit rate)
Exemple :
v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@findertopic_typeentierFacultatifCollection type, default 16 (align with topic_type from fetch_user_collections)
Exemple :
16last_bufferchaîneFacultatifPagination cursor (base64), leave empty for first page
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la 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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.01/success, frais de service inclus.