YouTube channel videos by id or username — views, dates
scrapecreators.x.v1-youtube-channel-videosFetches a paginated list of videos uploaded by a YouTube channel, including each video's title, URL, thumbnail, view count (views), publish date, duration, and description.
- Price
- $0.00188/callAl precio del proveedor
- Success rate
- 99,1 %Last 30 days · 27.283 calls
- Latency p50
- 5.5 sp95 9.4 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-channel-videos?channelId=UC-9-kyTW8ZkZNDHQJ6FgpwQPreview- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
sort | cadena | Opcional | Sort by latest or popular | latest |
handle | cadena | Opcional | YouTube channel handle | ThePatMcAfeeShow |
channelId | cadena | Opcional | YouTube channel ID | UC-9-kyTW8ZkZNDHQJ6FgpwQ |
includeExtras | cadena | Opcional | This will get you the like + comment count and the description. To get the full details of the video, use the /v1/youtube/video endpoint. Honestly, if you use this param, the error rate is higher. We might deprecate t... | false |
continuationToken | cadena | Opcional | Continuation token to get more videos. Get 'continuationToken' from previous response. | 4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB |
is_paid_promotions | cadena | Opcional | Set to 'true' to search YouTube's public paid product placement / sponsorship / endorsement search surface. This returns normal YouTube videos where the creator declared paid promotion. Cannot be combined with filter,... | false |
- Parámetros de consulta
sortcadenaOpcionalSort by latest or popular
Ejemplo:
latesthandlecadenaOpcionalYouTube channel handle
Ejemplo:
ThePatMcAfeeShowchannelIdcadenaOpcionalYouTube channel ID
Ejemplo:
UC-9-kyTW8ZkZNDHQJ6FgpwQincludeExtrascadenaOpcionalThis will get you the like + comment count and the description. To get the full details of the video, use the /v1/youtube/video endpoint. Honestly, if you use this param, the error rate is higher. We might deprecate t...
Ejemplo:
falsecontinuationTokencadenaOpcionalContinuation token to get more videos. Get 'continuationToken' from previous response.
Ejemplo:
4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnBis_paid_promotionscadenaOpcionalSet to 'true' to search YouTube's public paid product placement / sponsorship / endorsement search surface. This returns normal YouTube videos where the creator declared paid promotion. Cannot be combined with filter,...
Ejemplo:
false
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-channel-videos?channelId=UC-9-kyTW8ZkZNDHQJ6FgpwQ' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-channel-videos?channelId=UC-9-kyTW8ZkZNDHQJ6FgpwQ",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-channel-videos?channelId=UC-9-kyTW8ZkZNDHQJ6FgpwQ", {
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.00188/call, incluida la tarifa de servicio.