Your YouTube channel profile — subscribers, views
youtube.youtube.channel.profileGet your YouTube channel's profile and lifetime stats (subscribers, views, video count)
- 価格
- freeカタログ価格で提供
- 成功率
- 99.9%直近 30 日 · 2,985 回
- レイテンシ p50
- 105 msp95 259 ms
- 最終確認
- 2026/07/28動作確認済み
GEThttps://toolswitch.dev/v1/tools/youtube.youtube.channel.profile?id=UCBR8-60-B28hp2BmDPdntcQ&part=snippet%2CstatisticsBeta- プラットフォームのクォータを使用
- 同期レスポンス
- 公開データを読み取る
パラメータ
exactly one of mine | id | forHandle. contentDetails.relatedPlaylists.uploads from part=contentDetails is the uploads playlist id needed by youtube.channel.videos.uploads
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
id | 文字列 | 任意 | UC… channel id — use INSTEAD of mine to read any public channel | UCX6OQ3DkcsbYNE6H8uQQuVA |
mine | 真偽値 | 任意 | true = the connected account's own channel | true |
part | 文字列 | 必須 | comma-separated resource parts; snippet+statistics is the useful pair | snippet,statistics |
forHandle | 文字列 | 任意 | @handle — resolves a handle to a channel | @MrBeast |
- クエリパラメータ
id文字列任意UC… channel id — use INSTEAD of mine to read any public channel
例:
UCX6OQ3DkcsbYNE6H8uQQuVAmine真偽値任意true = the connected account's own channel
例:
truepart文字列必須comma-separated resource parts; snippet+statistics is the useful pair
例:
snippet,statisticsforHandle文字列任意@handle — resolves a handle to a channel
例:
@MrBeast
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Beta
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());このゲートウェイ API は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。