YouTube Video Transcript docs

Search YouTube, check video details, fetch transcripts and comments, or collect results in the background. Use the website guide for interactive work, MCP for chat clients, or the REST API reference below for scripts. All three share one credit balance.

Quickstart

Fetch a transcript in three steps:

  1. Create an account and go to API keys.
  2. Generate a key. It starts with yvt_live_ and is shown exactly once. Store it in your password manager or project secrets.
  3. Send a request:
bash
curl -H "Authorization: Bearer yvt_live_..." \
  "https://api.youtubevideotranscript.io/api/v1/transcript/dQw4w9WgXcQ"

You'll get back a JSON object with the transcript array, detected language, and video metadata when available. A successful transcript fetch costs 1 credit. See GET /transcript/:id for the full response shape.

Core flows

  • Search YouTube or a specific channel without spending credits
  • Check caption tracks and video metadata, with optional dates and likes
  • Fetch single transcripts in 6 formats: JSON, plain text, SRT, CSV, DOCX, Markdown
  • Submit bulk jobs from a channel or playlist URL, poll for progress, download the result as a ZIP
  • Resolve any YouTube URL into a video list before submitting
  • Read public comments and reply threads at 1 credit per nonempty page
  • Check your remaining shared credits at any time

Endpoints

Conventions

  • Base URL: https://api.youtubevideotranscript.io/api/v1.
  • All endpoints require a Bearer token. See Authentication.
  • Errors use a stable envelope: { error: { type, message, details? }, request_id }. See Errors.
  • Every response carries X-Request-Id. Log it with failed requests so you can trace them later.
  • API, MCP, and web UI share the same credit balance. See Quotas & credits.

Next steps

We use Google Analytics cookies and note which site referred you, so we know how people find us. Nothing personal, nothing sold. See our Privacy Policy.