YouTube channel Shorts by id or username — views, likes
scrapecreators.x.v1-youtube-channel-shortsRetrieves a paginated list of short-form videos (Shorts) from a YouTube channel, including each short's title, URL, view count (views), likes, comments, and description.
- Price
- $0.00188/callAu prix du fournisseur
- Success rate
- 97,4 %Last 30 days · 8 067 calls
- Latency p50
- 6 sp95 11 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-channel-shorts?handle=starterstoryPreviewTry onlineBientôtProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
sort | chaîne | Facultatif | Sort by newest or popular | newest |
handle | chaîne | Facultatif | Can pass channelId or handle | starterstory |
channelId | chaîne | Facultatif | Can pass channelId or handle | UC-9-kyTW8ZkZNDHQJ6FgpwQ |
continuationToken | chaîne | Facultatif | Continuation token to get more videos. Get 'continuationToken' from previous response. | 4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB |
- Paramètres de requête
sortchaîneFacultatifSort by newest or popular
Exemple :
newesthandlechaîneFacultatifCan pass channelId or handle
Exemple :
starterstorychannelIdchaîneFacultatifCan pass channelId or handle
Exemple :
UC-9-kyTW8ZkZNDHQJ6FgpwQcontinuationTokenchaîneFacultatifContinuation token to get more videos. Get 'continuationToken' from previous response.
Exemple :
4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-channel-shorts?handle=starterstory' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-channel-shorts?handle=starterstory",
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-shorts?handle=starterstory", {
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.00188/call, frais de service inclus.