Your YouTube channel profile — subscribers, views
youtube.youtube.channel.profileGet your YouTube channel's profile and lifetime stats (subscribers, views, video count)
- Price
- freeZum Anbieterpreis
- Success rate
- 100 %Last 30 days · 3.403 calls
- Latency p50
- 93 msp95 240 ms
- Last verified
- 28.07.2026Verified working
GEThttps://toolswitch.dev/v1/tools/youtube.youtube.channel.profile?id=UCBR8-60-B28hp2BmDPdntcQ&part=snippet%2CstatisticsPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameter
exactly one of mine | id | forHandle. contentDetails.relatedPlaylists.uploads from part=contentDetails is the uploads playlist id needed by youtube.channel.videos.uploads
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
id | Zeichenkette | Optional | UC… channel id — use INSTEAD of mine to read any public channel | UCX6OQ3DkcsbYNE6H8uQQuVA |
mine | Boolean | Optional | true = the connected account's own channel | true |
part | Zeichenkette | Erforderlich | comma-separated resource parts; snippet+statistics is the useful pair | snippet,statistics |
forHandle | Zeichenkette | Optional | @handle — resolves a handle to a channel | @MrBeast |
- Abfrageparameter
idZeichenketteOptionalUC… channel id — use INSTEAD of mine to read any public channel
Beispiel:
UCX6OQ3DkcsbYNE6H8uQQuVAmineBooleanOptionaltrue = the connected account's own channel
Beispiel:
truepartZeichenketteErforderlichcomma-separated resource parts; snippet+statistics is the useful pair
Beispiel:
snippet,statisticsforHandleZeichenketteOptional@handle — resolves a handle to a channel
Beispiel:
@MrBeast
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
curl -X GET 'https://toolswitch.dev/v1/tools/youtube.youtube.channel.profile?id=UCBR8-60-B28hp2BmDPdntcQ&part=snippet%2Cstatistics' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/youtube.youtube.channel.profile?id=UCBR8-60-B28hp2BmDPdntcQ&part=snippet%2Cstatistics",
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.profile?id=UCBR8-60-B28hp2BmDPdntcQ&part=snippet%2Cstatistics", {
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 free einschließlich Servicegebühr abgerechnet.