Skip to main content
GET
/
v1
/
youtube
/
transcript
/
translate
Get translated transcript for a YouTube video
curl --request GET \
  --url https://api.urltodata.ai/v1/youtube/transcript/translate \
  --header 'Authorization: Bearer <token>'
{
  "content": "<string>",
  "lang": "<string>",
  "availableLangs": [
    "<string>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.urltodata.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
default:your-api-key
required

API key as Bearer token (e.g. Bearer mp_abc123_secret)

Query Parameters

videoId
string

YouTube video ID

url
string

YouTube video URL

lang
string
required

Target language code

text
boolean

Return plain text instead of chunks

chunkSize
integer

Max chars per chunk (50-10000)

Required range: 50 <= x <= 10000

Response

200 - application/json

Translated transcript

content
lang
string
availableLangs
string[]