Endpoint Playground
Returns the caption cues for a YouTube video by its 11-character video id, in the language given by `lang` (ISO 639-1, default `en`). Each cue has its text, start time and duration. Works for both auto-generated and human-written captions.
14 Oct 2026: 520 items; 0 fields had a value in every checked item and 3 varied between items.
Sample value profiles: start: 0.4 to 2,346.39, median 1,076.77; duration: 0.08 to 30.45, median 3.12.
curl 'https://api.crawlora.net/api/v1/youtube/captions/dQw4w9WgXcQ?lang=en' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| id (path) | string | Yes | dQw4w9WgXcQ | YouTube video ID (11-character code) |
| lang | string | No | en | Caption language code (ISO 639-1), defaults to **en** |
{
"code": 200,
"msg": "OK",
"data": [
{
"text": "Andrew Mayne: Welcome to the OpenAI podcast.",
"start": 0.399,
"duration": 1.921
}
]
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.