YouTube channel videos by channel id
tikhub.youtube.channel.videosVideos of a YouTube channel by channel id
- Price
- $0.001/successAu prix du fournisseur
- Success rate
- 100 %Last 30 days · 16 694 calls
- Latency p50
- 982 msp95 1.9 s
- Last verified
- 28 juil. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.youtube.channel.videos?channel_id=UCX6OQ3DkcsbYNE6H8uQQuVA&language_code=en-USPreviewTry onlineBientôtProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
channel_id | chaîne | Obligatoire | UC… channel id | UCX6OQ3DkcsbYNE6H8uQQuVA |
need_format | booléen | Facultatif | ||
country_code | chaîne | Facultatif | default US | |
language_code | chaîne | Facultatif | default zh-CN | en-US |
continuation_token | chaîne | Facultatif | ||
- Paramètres de requête
channel_idchaîneObligatoireUC… channel id
Exemple :
UCX6OQ3DkcsbYNE6H8uQQuVAneed_formatbooléenFacultatifcountry_codechaîneFacultatifdefault US
language_codechaîneFacultatifdefault zh-CN
Exemple :
en-UScontinuation_tokenchaîneFacultatif
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.youtube.channel.videos?channel_id=UCX6OQ3DkcsbYNE6H8uQQuVA&language_code=en-US' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.youtube.channel.videos?channel_id=UCX6OQ3DkcsbYNE6H8uQQuVA&language_code=en-US",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.youtube.channel.videos?channel_id=UCX6OQ3DkcsbYNE6H8uQQuVA&language_code=en-US", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
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.001/success, frais de service inclus.