YouTube channel videos by channel id
tikhub.youtube.channel.videosVideos of a YouTube channel by channel id
- Price
- $0.001/successプロバイダー原価
- Success rate
- 100%Last 30 days · 16,694 calls
- Latency p50
- 982 msp95 1.9 s
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.youtube.channel.videos?channel_id=UCX6OQ3DkcsbYNE6H8uQQuVA&language_code=en-USPreview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
channel_id | 文字列 | 必須 | UC… channel id | UCX6OQ3DkcsbYNE6H8uQQuVA |
need_format | 真偽値 | 任意 | ||
country_code | 文字列 | 任意 | default US | |
language_code | 文字列 | 任意 | default zh-CN | en-US |
continuation_token | 文字列 | 任意 | ||
- クエリパラメータ
channel_id文字列必須UC… channel id
例:
UCX6OQ3DkcsbYNE6H8uQQuVAneed_format真偽値任意country_code文字列任意default US
language_code文字列任意default zh-CN
例:
en-UScontinuation_token文字列任意
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.youtube.channel.videos?channel_id=UCX6OQ3DkcsbYNE6H8uQQuVA&language_code=en-US' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.youtube.channel.videos?channel_id=UCX6OQ3DkcsbYNE6H8uQQuVA&language_code=en-US",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.youtube.channel.videos?channel_id=UCX6OQ3DkcsbYNE6H8uQQuVA&language_code=en-US", {
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.001/success です。サービス料を含みます。