job_idstringआवश्यक
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.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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 key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
job_idstringआवश्यकAsync job ID (returned by `/get_video_captions`)
formatstringCaption format (applies only when the job is completed)
संभावित मान: srt, xml, json3, txt
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
YouTube | $0.0015 प्रति कॉल | JSON |
YouTube | $0.001 प्रति कॉल | JSON |
YouTube | $0.001 प्रति कॉल | JSON |
YouTube | $0.001 प्रति कॉल | JSON |
YouTube | $0.001 प्रति कॉल | JSON |
YouTube | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/youtube/web-v2/video-captions-result पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.0015 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: job_id (string)। वैकल्पिक: format (srt, xml, json3, txt में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।
नहीं। YouTube Video Captions Job Result SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से YouTube API access के लिए आवेदन करने की आवश्यकता नहीं है।