Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

YouTube Video Captions Job Result

Tài liệu API
https://api.sandbase.ai/v1/api/youtube/web-v2/video-captions-result

Returns 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.

Giá
$0.0015USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
Async job ID (returned by `/get_video_captions`)
Caption format (applies only when the job is completed)
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

YouTube Video Captions Job Result API

Retrieve finished captions or check task progress for an asynchronous job using job_id. Specify the desired output layout with format once processing completes.

Use cases

  • Check the status of an asynchronous caption extraction task.
  • Retrieve completed video subtitles in SRT, XML, JSON3, or TXT format.
  • Extract subtitle transcripts for text analysis or translation workflows.

Request

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>"}'

Parameters

NameTypeRequiredDescription
job_idstringYesAsync job ID (returned by /get_video_captions)
formatstringNoCaption format (applies only when the job is completed)

Notes

  • job_id is obtained from the caption extraction endpoint.
  • Supported format values include srt, xml, json3, and txt once the job completes.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
YouTube$0.0015 mỗi lần gọiJSON
YouTube$0.001 mỗi lần gọiJSON
YouTube$0.001 mỗi lần gọiJSON
YouTube$0.001 mỗi lần gọiJSON
YouTube$0.001 mỗi lần gọiJSON
YouTube$0.001 mỗi lần gọiJSON

Hướng dẫn:Best YouTube API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API YouTube Video Captions Job Result?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/youtube/web-v2/video-captions-result với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API YouTube Video Captions Job Result có giá bao nhiêu?

$0.0015 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API YouTube Video Captions Job Result chấp nhận những tham số nào?

Bắt buộc: job_id (string). Tùy chọn: format (một trong số srt, xml, json3, txt). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API YouTube Video Captions Job Result trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

Tôi có cần tài khoản nhà phát triển hoặc API key của YouTube không?

Không. YouTube Video Captions Job Result chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của YouTube.