YouTube channel profile by URL
brightdata.x.youtube-channelsYouTube - Channels
- Price
- $0.0015/resultプロバイダー原価
- Success rate
- 100%Last 30 days · 11 calls
- Latency p50
- 41 sp95 60 s
- Last verified
- 2026/07/30Verified working
POSThttps://toolswitch.dev/v1/tools/brightdata.x.youtube-channels?format=json&dataset_id=gd_lk538t2k2p1k3oos71PreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
same generic runner as brightdata.web.scrape.structured with dataset_id fixed to this dataset (see that entry and brightdata.instagram.user.profile in the core file for the pattern). >1 minute falls back to HTTP 202 + snapshot_id — use brightdata.web.scrape.job.start for anything beyond a handful of URLs. Exact required body fields were not individually re-confirmed per dataset here; verify against the dataset's own quickstart page before high-volume use.
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
format | 文字列 | 任意 | json (default) | ndjson | csv | json |
dataset_id | 文字列 | 必須 | pinned to the documented 'YouTube - Channels' dataset | gd_lk538t2k2p1k3oos71 |
- クエリパラメータ
format文字列任意json (default) | ndjson | csv
例:
jsondataset_id文字列必須pinned to the documented 'YouTube - Channels' dataset
例:
gd_lk538t2k2p1k3oos71
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/brightdata.x.youtube-channels?format=json&dataset_id=gd_lk538t2k2p1k3oos71' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '[{"url":"https://www.youtube.com/@YouTube"}]'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/brightdata.x.youtube-channels?format=json&dataset_id=gd_lk538t2k2p1k3oos71",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("[{\"url\":\"https://www.youtube.com/@YouTube\"}]"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/brightdata.x.youtube-channels?format=json&dataset_id=gd_lk538t2k2p1k3oos71", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("[{\"url\":\"https://www.youtube.com/@YouTube\"}]")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.0015/result です。サービス料を含みます。