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
- freePelo preço do provedor
- Success rate
- 100%Last 30 days · 7.285 calls
- Latency p50
- 209 msp95 575 ms
- Last verified
- 28 de jul. de 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
Parâmetros
returns ids and snippets only — pass contentDetails.videoId into youtube.video.detail for view counts
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
part | string | Obrigatório | snippet,contentDetails | |
pageToken | string | Opcional | ||
maxResults | inteiro | Opcional | 1–50, default 5 | 50 |
playlistId | string | Obrigatório | 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 |
- Parâmetros de consulta
partstringObrigatórioExemplo:
snippet,contentDetailspageTokenstringOpcionalmaxResultsinteiroOpcional1–50, default 5
Exemplo:
50playlistIdstringObrigatóriothe 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…
Exemplo:
UUX6OQ3DkcsbYNE6H8uQQuVA
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no 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());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 free, incluindo a taxa de serviço.