YouTube transcript

Get YouTube video info (v2)

Changed on

Discover a video's metadata and available transcript languages — free (no credit used), with the same API key/plan as the transcript endpoint. Each language is returned as a code you can pass to the transcript endpoint's language parameter (e.g. en, or asr-en for auto-generated English). Each also has a kind: manual (human-made captions) or auto (auto-generated). A plain code returns the manual track when one exists, otherwise the auto track, so kind tells you which one you will get.

get/api/v2/youtube/info

Request

  • Base URL
    https://transcriptapi.com
  • Auth
    HTTP bearer

Query parameters

video_urlstring required

YouTube video URL or bare 11-char ID

Response

Video metadata and available languages

video_idstring required

YouTube video ID

Changes

    • info

      added the optional property // to the response with the status

    • warning

      the optional response header X-RateLimit-Limit removed for the status 429

    • warning

      the optional response header X-RateLimit-Remaining removed for the status 429

    • warning

      the optional response header X-RateLimit-Reset removed for the status 429