Transcripts · en
English YouTube transcripts
English
English is the densest caption language on YouTube: most professional uploads ship a manual en track, and ASR fills the rest. Default our `lang` parameter to `en` unless you know the upload language.
curl
curl "https://api.ytapi.dev/v1/transcripts/dQw4w9WgXcQ?lang=en" \ -H "Authorization: Bearer yta_YOUR_KEY"
Example 200
{
"video_id": "dQw4w9WgXcQ",
"lang": "en",
"is_auto_generated": false,
"is_translated": false,
"segments": [
{
"start": 18,
"duration": 4.2,
"text": "We're no strangers to love"
},
{
"start": 22.2,
"duration": 4.8,
"text": "You know the rules and so do I"
}
]
}Probe available tracks first with the free GET /v1/transcripts/{id}/languages endpoint — 0 credits. Fetching the transcript itself is 1 credit on HTTP 200; missing tracks return transcript_language_not_available and are not billed.