Get Transcripts
Extract YouTube transcripts with or without timestamps. The endpoint that started it all. Clean, structured JSON. Zero blocks.
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.
Paste any YouTube link. No code.
1 credit · failed calls are free
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.
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.
The free library, the official YouTube Data API, or a hosted YouTube Transcript API. What each one can do.
| youtube-transcript-api (library) | YouTube Data API | YouTubeTranscriptAPI | |
|---|---|---|---|
| Runs from cloud servers (AWS, Vercel, Colab) | Often blocked (RequestBlocked / IpBlocked) | Yes | Yes, no proxies |
| Any public video | Yes, until blocked | Only videos on channels you manage | Yes, if it has captions |
| Setup | pip install, plus proxies in the cloud | Google Cloud project and OAuth | One API key |
| Output | Python objects | Caption files (SRT, VTT…) | JSON or plain text, with timestamps |
| Search, channels and playlists | No | Separate endpoints and quota | Same key, same JSON |
| Claude, ChatGPT and Cursor | No | No | Hosted MCP server |
| Price | Free, plus proxy costs | Free daily quota | 100 free credits, then from $3/mo |
More detail: YouTube Data API vs a transcript API · Best YouTube transcript APIs compared
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:
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.
Same response shape forever. Bearer-token auth. Transcripts stored after the first fetch.
Extract YouTube transcripts with or without timestamps. The endpoint that started it all. Clean, structured JSON. Zero blocks.
Query videos or channels with rich metadata.
A channel's most recent uploads, up to 100 videos. Only the first page is served for now.
RSS-based monitoring for the latest 15 uploads of a channel.
Up to 100 videos from any public YouTube playlist. Only the first page is served for now.
Convert any @handle, URL, or UC… ID to a canonical channel ID.
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.
Names and logos belong to their owners; ChatGPT and the OpenAI logo are trademarks of OpenAI. No affiliation or endorsement is implied.
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.
Full guides for Python, JavaScript & Node.js and cURL & REST.
// 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 }, …]
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.
100 credits on signup
1,000 credits every month
15,000 credits up front · $2.50/mo billed yearly
Refundable within 14 days if you've used under 1,000 credits.
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.
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.
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.
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.
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.
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.
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.
300 requests a minute per API key, on every plan. Responses carry X-RateLimit headers, and 429 responses are never charged.
Sign up in 30 seconds. Use 100 free credits. Cancel anytime.