YouTube
Fetch YouTube video transcript
Fetches captions (transcript) for a public YouTube video via the innertube player API. Returns timestamped segments with available languages. No API key required. Supports manual and auto-generated captions.
The url parameter accepts a full YouTube URL or a bare 11-character video ID. When passing a full URL via query string, percent-encode & characters (e.g. %26) to avoid truncation.
get/v1/youtube/transcript
Request
- Base URL: http://localhost:9998
- URL: http://localhost:9998/v1/youtube/transcript
- Auth: HTTP bearer
Query parameters
urlstring required
YouTube video URL or 11-character video ID
langstring
Preferred language code (e.g. "en", "es"). Defaults to first available, preferring manual over auto-generated.
Response
Transcript with timestamped segments
Changes
No recorded changes to this operation across all 1 revision of this API.