Skip to main content
POST
Extract YouTube captions

Authorizations

Authorization
string
header
required

Enter your API token or session token

Body

application/json

YouTube caption extraction parameters

videoId
string
required

YouTube video ID

Required string length: 1 - 100
lang
string
default:en

Language code for subtitles (e.g., "en", "fr", "de")

Required string length: 2 - 5
includeVideoDetails
boolean
default:false

Whether to include video details along with captions

Response

Captions extracted successfully

success
enum<boolean>
required
Available options:
true
data
object
required
requestId
string<uuid>
required

Unique request identifier for tracing

timestamp
string<date-time>
required

ISO timestamp when the response was generated

creditsCost
number

Credits consumed by this operation