YouTube video captions result by job id
tikhub.x.youtube-web-v2-get-video-captions-resultYoutube: get video captions result (web_v2)
- Price
- freeプロバイダー原価
- Success rate
- —成功率データはまだありませんLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/tikhub.x.youtube-web-v2-get-video-captions-result?format=srt&job_id=123e4567-e89b-12d3-a456-426614174000PreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
format | 文字列 | 任意 | Caption format | srt |
job_id | 文字列 | 必須 | Async job ID | 123e4567-e89b-12d3-a456-426614174000 |
- クエリパラメータ
format文字列任意Caption format
例:
srtjob_id文字列必須Async job ID
例:
123e4567-e89b-12d3-a456-426614174000
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.youtube-web-v2-get-video-captions-result?format=srt&job_id=123e4567-e89b-12d3-a456-426614174000' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.youtube-web-v2-get-video-captions-result?format=srt&job_id=123e4567-e89b-12d3-a456-426614174000",
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.x.youtube-web-v2-get-video-captions-result?format=srt&job_id=123e4567-e89b-12d3-a456-426614174000", {
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 や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。