Works from AWS · Vercel · Lambda · GCP · Colab

YouTube Transcript API.

Where the open-source youtube-transcript-api library gets IP-blocked with RequestBlocked, one API call returns the transcript as clean JSON. No proxies to run, no YouTube 429s. 100 free credits, no card.

Only successful calls cost credits. Also a hosted MCP server for Claude and ChatGPT.

Paste any YouTube link. No code.

Get transcript
How networks learn · Lecture 3Copy · .txt

    1 credit · failed calls are free

    1/3Paste a link to any public YouTube video with captions.

    One request: GET /api/v2/youtube/transcript?video_url=VIDEO_ID with your API key returns JSON: the video ID, language and every caption segment with its text, start and duration. The same transcript is one paste away in your dashboard, or one question away in Claude or ChatGPT.

    0YouTube 429s or IP blocks to work around
    StoredEvery transcript is kept, so repeat fetches return in about a second
    7Endpoints. Everything YouTube.
    Definition

    What is a YouTube Transcript API?

    A YouTube Transcript API is a managed HTTP endpoint that returns the caption track of a public YouTube video as structured JSON. Send a video ID with a bearer token, get back a title and an array of timestamped segments. No headless browsers, no DOM scraping, no proxy rotation. The official YouTube Data API v3 doesn’t expose transcript text for other people’s videos, and self-hosted scrapers, including the open-source youtube-transcript-api library, tend to get blocked once they run from a cloud IP address. That is why teams reach for a managed endpoint instead.

    Your options

    Three ways to get YouTube transcripts

    The free library, the official YouTube Data API, or a hosted YouTube Transcript API. What each one can do.

    youtube-transcript-api library vs YouTube Data API vs YouTubeTranscriptAPI
    youtube-transcript-api (library)YouTube Data APIYouTubeTranscriptAPI
    Runs from cloud servers (AWS, Vercel, Colab)Often blocked (RequestBlocked / IpBlocked)YesYes, no proxies
    Any public videoYes, until blockedOnly videos on channels you manageYes, if it has captions
    Setuppip install, plus proxies in the cloudGoogle Cloud project and OAuthOne API key
    OutputPython objectsCaption files (SRT, VTT…)JSON or plain text, with timestamps
    Search, channels and playlistsNoSeparate endpoints and quotaSame key, same JSON
    Claude, ChatGPT and CursorNoNoHosted MCP server
    PriceFree, plus proxy costsFree daily quota100 free credits, then from $3/mo

    More detail: YouTube Data API vs a transcript API · Best YouTube transcript APIs compared

    Who is YouTubeTranscriptAPI for?

    YouTubeTranscriptAPI is a hosted API and MCP server that returns YouTube transcripts as JSON. It is built for software that fetches transcripts on its own: backends, apps, no-code automations and AI agents, running from cloud servers where self-hosted scrapers tend to get IP-blocked by YouTube.

    Use YouTubeTranscriptAPI if:

    • your code runs on a server: AWS, Vercel, Lambda, Cloud Run or a Colab notebook.
    • you need hundreds or thousands of transcripts, not one.
    • an automation (n8n, Make, Zapier) or an AI agent fetches them for you.
    • you want to pay only for calls that succeed.

    Use YouTube’s transcript panel if you need one video and will read it yourself.

    Use YouTube Studio or the official Data API for captions on videos you own.

    Not sure which route fits? Compare every way to get a YouTube transcript.

    Everything you need

    One API. Seven endpoints.
    Zero YouTube headaches.

    Same response shape forever. Bearer-token auth. Transcripts stored after the first fetch.

    Get Transcripts

    Extract YouTube transcripts with or without timestamps. The endpoint that started it all. Clean, structured JSON. Zero blocks.

    GET/api/v2/youtube/transcript
    4 credits

    Search YouTube

    Query videos or channels with rich metadata.

    • Content research
    • Competitor analysis
    • Topic discovery
    Read the docs
    20 credits (first page)

    Browse Channel Videos

    A channel's most recent uploads, up to 100 videos. Only the first page is served for now.

    Free

    Track New Uploads

    RSS-based monitoring for the latest 15 uploads of a channel.

    20 credits (first page)

    Extract Playlist Videos

    Up to 100 videos from any public YouTube playlist. Only the first page is served for now.

    Free

    Resolve Channel Handle

    Convert any @handle, URL, or UC… ID to a canonical channel ID.

    Three ways to connect

    REST · MCP · Agent Skills

    Drop into any backend over HTTPS, connect Claude, ChatGPT, Cursor or VS Code to the hosted MCP server, or import a pre-built skill for Claude Code and OpenClaw.

    • ChatGPT (OpenAI logo)
    • VS Code
    MCP setup guides

    Names and logos belong to their owners; ChatGPT and the OpenAI logo are trademarks of OpenAI. No affiliation or endorsement is implied.

    Quickstart

    Two lines and you’re shipping.

    Bearer-token auth. Predictable JSON. Every transcript is stored after its first fetch, so repeat calls are fast and the shape your code expects never changes.

    • Your credit balance on every response, in X-Credits-Remaining
    • Free endpoints for handle resolution and RSS
    • Stored videos return in about a second; a first fetch takes 10–30 seconds
    • Per-key rate limit headers to pace your requests

    Full guides for Python, JavaScript & Node.js and cURL & REST.

    transcript.tsNode · TypeScript
    // One bearer token. Predictable JSON. Same shape forever.
    const res = await fetch(
      "https://youtubetranscriptapi.com/api/v2/youtube/transcript?video_url=dQw4w9WgXcQ",
      {
        headers: { Authorization: `Bearer ${apiKey}` },
        signal: AbortSignal.timeout(60_000),
      }
    );
    
    const { video_id, transcript } = await res.json();
    
    // → transcript: [{ text: "First caption line", start: 0, duration: 4.12 }, …]
    Pricing built for builders

    Simple plans.
    Only successful calls cost credits.

    Start with 100 free credits, no card needed. Every endpoint is on every plan; when you need more credits, Annual is $2.50/mo billed yearly, $6 a year less than Monthly.

    Free

    $0

    100 credits on signup

    • No card required
    • Free credits never expire
    • All 7 endpoints, REST + MCP + Agent Skills
    Get started free

    Monthly

    $3/ month

    1,000 credits every month

    • Unused credits roll over, up to 2,000
    • Top-ups $2.50 per 1K, never expire
    • Cancel any time
    Choose Monthly
    Founding prices: lock them within 7 days of signing up and keep them while you're subscribed. After that, $7/mo or $60/yr. Transcripts cost 1 credit. Errors are never charged.Full pricing and FAQ
    FAQ

    YouTube Transcript API, answered

    What is the best YouTube transcript API?

    It depends on where your code runs. The free youtube-transcript-api Python library works from a home connection, but YouTube often blocks it from cloud servers such as AWS, GCP, Vercel and Colab. The official YouTube Data API only downloads captions for videos on channels you manage. A hosted API like this one returns the captions of any public video as JSON from anywhere, for 1 credit per transcript.

    Is there an official YouTube transcript API?

    Not for other people's videos. The YouTube Data API's captions.download endpoint needs OAuth and only works for videos on a channel you own or manage. For any other public video you need the open-source library or a hosted transcript API.

    Why does youtube-transcript-api get blocked?

    It calls YouTube's web endpoints directly, and YouTube blocks many cloud and datacenter IP ranges. From those servers the library raises RequestBlocked or IpBlocked, and its own README suggests rotating proxies or a hosted service. This API runs that part for you: you send one HTTPS request and get JSON back.

    How much does the YouTube Transcript API cost?

    New accounts get 100 free credits, no card. A transcript costs 1 credit and failed calls are never charged. Plans are Monthly at $3 for 1,000 credits a month or Annual at $30 a year for 15,000 credits. Those are founding prices, kept for as long as you stay subscribed if you subscribe within 7 days of signing up; after that, new subscriptions are $7 a month or $60 a year.

    What does the API return?

    JSON with the video_id, the language and a transcript array of segments, each with text, start and duration in seconds. Ask for format=text to get plain text instead, one caption per line with [4.12s] start markers (include_timestamp=false drops them), and send_metadata=true to add the title and channel. Transcripts are stored after the first fetch, so repeat requests come back in about a second.

    Can Claude or ChatGPT read YouTube videos with it?

    Yes. Connect the hosted MCP server once in Claude, ChatGPT, Cursor or n8n and the app fetches transcripts itself with the get_transcript tool, then answers from them. It uses the same credits as the REST API.

    What about videos without captions?

    The API returns the captions YouTube has for a video. If a video has none, the response is 404 transcript_not_found and nothing is charged.

    Is there a rate limit?

    300 requests a minute per API key, on every plan. Responses carry X-RateLimit headers, and 429 responses are never charged.

    Ship YouTube features without the pain.

    Sign up in 30 seconds. Use 100 free credits. Cancel anytime.