Most YouTube videos carry caption tracks in more than one language â the original spoken language plus whatever YouTube has auto-translated. Scriptube lists every language a video has and lets you pull the one you need with a single parameter, instead of you guessing which tracks exist.
See what languages a video actually has
Before downloading a specific language, check what's available. GET /api/v1/videos/{video_id}/languages returns the video's original language, its native caption tracks, and the languages it can be translated into. This is the fastest way to confirm a track exists before you spend a request assuming it does.
GET /api/v1/videos/dQw4w9WgXcQ/languages
X-API-Key: YOUR_API_KEY
Run this first for any video where you're not sure what's offered â a video in Spanish might have native Spanish and English tracks plus a dozen translation targets, while a smaller channel's upload might only have its original language.
What gets fetched automatically
When you submit a video, Scriptube fetches the original-audio language, English, and whatever language you requested first â those are the three it pulls proactively. Any other native language YouTube offers for that video is fetched on request, using the language parameter described below. This keeps processing fast for the common case (you usually want English or the source language) while still giving you access to every track the video has.
In practice this means the first call you make â submitting the video, whatever language you specify â already covers the two languages most requests care about (the original and English) without any extra work on your part. It's only when you need a third, fourth, or fifth language on the same video that you explicitly ask for each one by name.
Picking a language with the language parameter
Use language=xx either when you submit a batch or when you read results back â it works both ways. Submitting with a language request tells Scriptube which track to prioritize fetching; reading with it tells Scriptube which stored track to return.
POST /api/v1/transcripts
X-API-Key: YOUR_API_KEY
Content-Type: application/json
{
"urls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
"language": "de"
}
If the language you asked for isn't available for that video, Scriptube doesn't fail silently â it serves the default track and tells you so. The response includes requested_language, served_language, and a language_hint field so you always know exactly which track you got, even when it wasn't the one you asked for.
Native tracks vs. dubbed audio
Some videos use YouTube's auto-dubbing, which generates a full dubbed audio track in another language rather than just a subtitle track. Scriptube marks which track matches the video's original spoken audio with an is_original flag, so you can tell a native caption apart from a caption that goes with a dubbed audio track. If you're building a multi-language workflow, that distinction matters â see auto-dubbed videos and the original transcript for the details.
Downloading several languages for the same video
If you need more than one language from a video â say English for your main audience and two native tracks for localized versions â list what's available first with the languages endpoint, then make one read or export call per language you want, swapping the language parameter each time. There's no single call that returns multiple specific languages as separate objects; language=all on export is the exception, bundling every available language into one export file rather than one call per language, which is usually faster if you genuinely want all of them rather than two or three specific ones.
What "missing language" actually looks like
Requesting a language a video doesn't have isn't an error â it's a fallback. The video still comes back with a transcript, just in the default language instead of the one you asked for, and three fields tell you exactly what happened: requested_language (what you asked for), served_language (what you actually got), and language_hint (a flag that the two don't match). Check these fields in your own code rather than assuming a 200 response means you got the language you requested â for a multi-language pipeline, silently treating a fallback as a success is the easiest way to end up with the wrong language mixed into a dataset or a localized page.
How to do it in Scriptube
Dashboard: submit the video, then open its result page â available languages for the video are listed there, and you can switch between them without resubmitting.
API: list languages, then fetch or export the one you want:
GET /api/v1/transcripts/{batch_id}?language=fr
GET /api/v1/transcripts/{batch_id}/export?format=srt&language=fr
You can also export language=all if you want every language a video has in one export call, rather than pulling each one separately. For a full reference on export formats and schemas, see the JSON, JSONL, and CSV schema guide and the API docs.
If you need languages beyond what's native to the video â say, translating a video into a language it doesn't have a track for â see translating a transcript into any language. Otherwise, sign up and start pulling multi-language transcripts.
Working across a whole catalog rather than one video? The same pattern â list languages, then request what you need â applies whether you're processing a single URL or a full channel batch; the languages endpoint and the language parameter work identically regardless of how the video entered your batch.