List a channel's videos via its uploads playlist id
youtube.youtube.channel.videos.uploadsList a channel's uploaded videos cheaply, via its uploads playlist
- Price
- freeAu prix du fournisseur
- Success rate
- 100 %Last 30 days · 7 285 calls
- Latency p50
- 209 msp95 575 ms
- Last verified
- 28 juil. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/youtube.youtube.channel.videos.uploads?part=snippet&maxResults=2&playlistId=UUBR8-60-B28hp2BmDPdntcQPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
returns ids and snippets only — pass contentDetails.videoId into youtube.video.detail for view counts
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
part | chaîne | Obligatoire | snippet,contentDetails | |
pageToken | chaîne | Facultatif | ||
maxResults | entier | Facultatif | 1–50, default 5 | 50 |
playlistId | chaîne | Obligatoire | the uploads playlist id — read it from youtube.channel.profile with part=contentDetails (contentDetails.relatedPlaylists.uploads); it is the channel id with UC… rewritten to UU… | UUX6OQ3DkcsbYNE6H8uQQuVA |
- Paramètres de requête
partchaîneObligatoireExemple :
snippet,contentDetailspageTokenchaîneFacultatifmaxResultsentierFacultatif1–50, default 5
Exemple :
50playlistIdchaîneObligatoirethe uploads playlist id — read it from youtube.channel.profile with part=contentDetails (contentDetails.relatedPlaylists.uploads); it is the channel id with UC… rewritten to UU…
Exemple :
UUX6OQ3DkcsbYNE6H8uQQuVA
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/youtube.youtube.channel.videos.uploads?part=snippet&maxResults=2&playlistId=UUBR8-60-B28hp2BmDPdntcQ' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/youtube.youtube.channel.videos.uploads?part=snippet&maxResults=2&playlistId=UUBR8-60-B28hp2BmDPdntcQ",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/youtube.youtube.channel.videos.uploads?part=snippet&maxResults=2&playlistId=UUBR8-60-B28hp2BmDPdntcQ", {
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 à free, frais de service inclus.