job_idstringzorunlu
Async job ID (returned by `/get_video_captions`)
https://api.sandbase.ai/v1/api/youtube/web-v2/video-captions-resultReturns the status and finished captions for an asynchronous video caption request by job ID. Supports output formats including SRT, XML, JSON3, and TXT once completed.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Retrieve finished captions or check task progress for an asynchronous job using job_id. Specify the desired output layout with format once processing completes.
curl -X POST "https://api.sandbase.ai/v1/api/youtube/web-v2/video-captions-result" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"job_id": "<job_id>"}'
| Name | Type | Required | Description |
|---|---|---|---|
job_id | string | Yes | Async job ID (returned by /get_video_captions) |
format | string | No | Caption format (applies only when the job is completed) |
job_id is obtained from the caption extraction endpoint.format values include srt, xml, json3, and txt once the job completes.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/youtube/web-v2/video-captions-result" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
job_idstringzorunluAsync job ID (returned by `/get_video_captions`)
formatstringCaption format (applies only when the job is completed)
Olası değerler: srt, xml, json3, txt
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
YouTube | $0.0015 çağrı başına | JSON |
YouTube | $0.001 çağrı başına | JSON |
YouTube | $0.001 çağrı başına | JSON |
YouTube | $0.001 çağrı başına | JSON |
YouTube | $0.001 çağrı başına | JSON |
YouTube | $0.001 çağrı başına | JSON |
Kılavuzlar:Best YouTube API in 2026: Pricing Compared
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/youtube/web-v2/video-captions-result adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.0015, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: job_id (string). İsteğe bağlı: format (srt, xml, json3, txt arasından biri). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron).
Hayır. YouTube Video Captions Job Result, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. YouTube API erişimi için ayrıca başvuru yapmanız gerekmez.