Your YouTube channel profile — subscribers, views
youtube.youtube.channel.profileGet your YouTube channel's profile and lifetime stats (subscribers, views, video count)
- Price
- freeAt provider cost
- Success rate
- 100%Last 30 days · 3,403 calls
- Latency p50
- 93 msp95 240 ms
- Last verified
- Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/youtube.youtube.channel.profile?id=UCBR8-60-B28hp2BmDPdntcQ&part=snippet%2CstatisticsBeta- Uses platform quota
- Synchronous response
- Reads public data
Parameters
exactly one of mine | id | forHandle. contentDetails.relatedPlaylists.uploads from part=contentDetails is the uploads playlist id needed by youtube.channel.videos.uploads
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
id | string | 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 | string | Required | comma-separated resource parts; snippet+statistics is the useful pair | snippet,statistics |
forHandle | string | Optional | @handle — resolves a handle to a channel | @MrBeast |
- Query parameters
idstringOptionalUC… channel id — use INSTEAD of mine to read any public channel
Example:
UCX6OQ3DkcsbYNE6H8uQQuVAminebooleanOptionaltrue = the connected account's own channel
Example:
truepartstringRequiredcomma-separated resource parts; snippet+statistics is the useful pair
Example:
snippet,statisticsforHandlestringOptional@handle — resolves a handle to a channel
Example:
@MrBeast
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
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());This gateway API is in beta; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.