Skip to main content
Get a YouTube video transcript

Authorizations

x-scrapeunblocker-key
string
header
required

Your ScrapeUnblocker API key. Apply on every request.

Query Parameters

video
string
required

Video id (dQw4w9WgXcQ) or any YouTube video URL.

lang
string | null

Preferred caption language code, e.g. 'en'. Omit for the default/first track. A prefix like 'en' matches 'en-US'.

format
string
default:segments

Output shape: segments, text. 'segments' returns timestamps; 'text' returns only the joined plaintext.

proxy_country
string | null

Proxy country the request is sent from (ISO-2, e.g. 'US', 'DE') for the watch page. Defaults to US.

Response

JSON with segments, text and video metadata.