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/callZum Anbieterpreis
- 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
Parameter
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
sort | Zeichenkette | Optional | Sort by latest or popular | latest |
handle | Zeichenkette | Optional | YouTube channel handle | ThePatMcAfeeShow |
channelId | Zeichenkette | Optional | YouTube channel ID | UC-9-kyTW8ZkZNDHQJ6FgpwQ |
includeExtras | Zeichenkette | Optional | 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 | Zeichenkette | Optional | Continuation token to get more videos. Get 'continuationToken' from previous response. | 4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB |
is_paid_promotions | Zeichenkette | Optional | 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 |
- Abfrageparameter
sortZeichenketteOptionalSort by latest or popular
Beispiel:
latesthandleZeichenketteOptionalYouTube channel handle
Beispiel:
ThePatMcAfeeShowchannelIdZeichenketteOptionalYouTube channel ID
Beispiel:
UC-9-kyTW8ZkZNDHQJ6FgpwQincludeExtrasZeichenketteOptionalThis 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...
Beispiel:
falsecontinuationTokenZeichenketteOptionalContinuation token to get more videos. Get 'continuationToken' from previous response.
Beispiel:
4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnBis_paid_promotionsZeichenketteOptionalSet 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,...
Beispiel:
false
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
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());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.00188/call einschließlich Servicegebühr abgerechnet.