YouTube channel videos by channel id
justoneapi.x.youtube-get-channel-videos-v1Retrieve public videos from a YouTube channel, with optional cursor-based pagination.
- Price
- $0.01476/successプロバイダー原価
- Success rate
- 100%Last 30 days · 308 calls
- Latency p50
- 1.8 sp95 2.9 s
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.youtube-get-channel-videos-v1?cursor=0&channelId=UC_x5XG1OV2P6uZZ5FSM9TtwPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
cursor | 文字列 | 任意 | The cursor for pagination. | 0 |
channelId | 文字列 | 必須 | The unique identifier for a YouTube channel. | UC_x5XG1OV2P6uZZ5FSM9Ttw |
- クエリパラメータ
cursor文字列任意The cursor for pagination.
例:
0channelId文字列必須The unique identifier for a YouTube channel.
例:
UC_x5XG1OV2P6uZZ5FSM9Ttw
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.youtube-get-channel-videos-v1?cursor=0&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.youtube-get-channel-videos-v1?cursor=0&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.youtube-get-channel-videos-v1?cursor=0&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw", {
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 はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.01476/success です。サービス料を含みます。