Extract transcript from YouTube videos using residential proxy infrastructure.
This endpoint is specifically for YouTube videos, which require residential proxy due to YouTube’s bot detection. For non-YouTube videos, use /transcript instead.
Optional: set transcript_text=true to return the transcript as a single text string instead of an array of segments.
Optional: set metadata_only=true to return only video metadata without fetching the transcript (uses innertube, no proxy needed, counts as regular transcript usage instead of YouTube transcript).
| Parameter | Type | Required | Description |
|---|---|---|---|
video_url | string | Yes | URL of the YouTube video |
language | string | No | ISO2 language code (e.g., “en”, “es”, “fr”) |
metadata_only | boolean | No | When true, returns only video metadata without fetching the transcript. Uses innertube (no residential proxy needed), counts as regular transcript usage instead of YouTube transcript. Takes precedence over fallback_to_metadata. |
fallback_to_metadata | boolean | No | When true, returns video metadata with an empty transcript if transcript is unavailable (returns 200 instead of 404). Ignored if metadata_only is true. |
transcript_text | boolean | No | When true, returns the transcript as a single plain-text string instead of an array of segments. |
metadata_only: true bypasses the residential proxy and counts as regular transcript usage, making it more cost-effective when you only need video information.metadata_only: true. This bypasses the residential proxy and counts as regular transcript usage:
https://youtube.com/watch?v=VIDEO_IDhttps://www.youtube.com/watch?v=VIDEO_IDhttps://youtu.be/VIDEO_IDhttps://www.youtube.com/shorts/VIDEO_IDhttps://m.youtube.com/watch?v=VIDEO_IDfallback_to_metadata: true to get metadata even when transcript is unavailable.available_languages field in the response to see which languages are available.video_info object and a transcript object.
transcript_text: truetranscript_text: true, the transcript is returned as a single string:
metadata_only: truemetadata_only: true, only the video metadata is returned (uses innertube, no residential proxy):
API key authentication. Include your VidNavigator API key in the X-API-Key header.
URL of the YouTube video
"https://youtube.com/watch?v=dQw4w9WgXcQ"
ISO2 language code (optional)
2"en"
When true, returns only video metadata without transcript. Uses innertube (no residential proxy), counts as regular transcript usage instead of YouTube transcript.
When true, returns video metadata with an empty transcript if transcript is unavailable (200). Ignored if metadata_only is true.
When true, returns the transcript as a single plain-text string instead of an array of segments.