How do I extract my first YouTube transcript with TubeTranscript?
By TubeTranscript · Content updated
View as MarkdownTubeTranscript parses a captioned YouTube video into a semantic JSON payload in seconds via the Tier-1 Fast Path. Use the web app (no account, 5 transcripts per 24 hours; 15 with a free account), the REST API POST /api/v1/extract, or the MCP server /api/mcp (/api/mcp/tools is an alias). AI agents connect to the MCP server free with a sign-in (OAuth, an account with a verified email); the REST API and API keys require the Pro plan.
If you plan to call it from code, the REST API page shows a first request in curl, Python and JavaScript.
| Surface | Account | Limit | Best for |
|---|---|---|---|
Web app (https://tubetranscript.io) |
None required | 5 transcripts / 24 h | One-off transcripts |
REST API (POST /api/v1/extract) |
Pro API key | 100 requests / 24 h (Enterprise: 1,000) | Scripts, n8n, Make |
MCP server (/api/mcp) |
Free account (sign-in, verified email), or Pro API key | Free: 15 transcripts / 24 h; Pro: 100 tool calls / 24 h (Enterprise: 1,000) | Claude, Claude Code, Cursor, VS Code, Windsurf |
How do I extract a transcript in the web app?
Open https://tubetranscript.io, paste a YouTube link into the "Drop a YouTube link." field and submit. Accepted links include watch, youtu.be, shorts, embed and live URLs. Guests get 5 transcripts per 24 hours per client network (an IP address, or an IPv6 /64); a free account gets 15. Captioned videos return in seconds; videos without captions are transcribed with Whisper (at most 1 per 24 hours for guests, 3 for a free account, 30 for Pro; they are part of the totals).
- Open
https://tubetranscript.ioin a browser. - Click the "Drop a YouTube link." field.
- Paste a YouTube URL, for example
https://www.youtube.com/watch?v=jNQXAC9IVRw; pasting starts extraction. - Wait until the live progress log reports the transcript as ready.
- Click Download .txt to save the transcript.
A URL typed by hand instead of pasted starts extraction when you press Enter.
| Transcript action | Result |
|---|---|
| Download .txt | Saves the transcript as a .txt file. |
| Copy RAG JSON | Copies the timed chunks [{ start, duration, text }] to the clipboard. |
| Generate mindmap | Builds a Mermaid mindmap of the video's topics. |
Who can see transcripts extracted in the web app?
TubeTranscript does not publish transcripts on its website. Transcripts extracted by Pro teams also stay private to the team; a guest or free transcript of a video can be reused when another account requests the same video. Retention details are in Security & Rate Limits.
| Extracted by | Visibility | Where you find it |
|---|---|---|
| Guest | Not published | The result in your browser |
| Free account | Not published | Dashboard history |
| Pro team | Private to the team | Dashboard history |
How do I get an API key?
API keys require the Pro plan. An AI agent does not need one: it can connect to the MCP server with a sign-in instead (see "How do I connect TubeTranscript to an AI agent?"). Sign in, upgrade at /pricing, then create a key at /dashboard/api. Keys start with tt_live_ followed by 32 characters and are shown exactly once, so store the key in a secret manager or environment variable such as TUBETRANSCRIPT_API_KEY immediately after creating it.
- Sign in at
https://tubetranscript.io/sign-in. - Open
https://tubetranscript.io/pricing. - Upgrade the team to the Pro plan.
- Open
https://tubetranscript.io/dashboard/api. - Create a new API key.
- Copy the key, which is shown only once.
- Store the key in the
TUBETRANSCRIPT_API_KEYenvironment variable (command below).
export TUBETRANSCRIPT_API_KEY="tt_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
How do I extract a transcript with the REST API?
Send POST https://tubetranscript.io/api/v1/extract with Authorization: Bearer <API_KEY> and a JSON body containing url. The response is a JSON envelope: success, data, error. The transcript is in data.transcript.text (plain) and data.transcript.chunks (timed). Set the client timeout to 300 seconds, because videos without captions need Whisper transcription.
- Set your HTTP client timeout to 300 seconds.
- Send the
curlrequest below. - Check that
successistruein the response. - Read the transcript from
data.transcript.chunks.
curl -X POST https://tubetranscript.io/api/v1/extract \
-H "Authorization: Bearer $TUBETRANSCRIPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.youtube.com/watch?v=jNQXAC9IVRw"}'
{
"success": true,
"data": {
"video_id": "jNQXAC9IVRw",
"source": "captions",
"transcript": {
"text": "…",
"chunks": [{ "start": 0, "duration": 4.2, "text": "…" }]
},
"features": {}
},
"error": null
}
The full field list, AI features and error codes are in the API Reference.
What should I do when the API returns 202?
A 202 EXTRACTION_IN_PROGRESS response means the video has no captions and Whisper transcription is still running after the route's wait budget. The body contains data.job_id and the response carries Retry-After: 60. Wait that many seconds, then send the identical request again; it resumes the same job instead of transcribing twice.
- Read the
Retry-Afterheader value. - Wait that many seconds.
- Send the identical request again.
- Repeat steps 1–3 until the response status is
200.
How do I connect TubeTranscript to an AI agent?
Connect an MCP-capable client to https://tubetranscript.io/api/mcp using the Streamable HTTP transport. Claude, Claude Code, Cursor and VS Code connect free with a sign-in (OAuth): the client opens TubeTranscript in the browser, you sign in or create a free account, verify your email if asked, and allow. Other clients send a Pro key in the header Authorization: Bearer <API_KEY>. The server exposes the get_transcript tool, which returns clean plain text for a video_url or video_id together with a job_id. To generate hooks, mindmaps or blog drafts (Pro), pass that job_id to the AI tools on the same server. A video without captions first returns status: "processing"; the agent calls get_transcript again about a minute later. Client-specific setup for Claude, Claude Code, Cursor, VS Code, Windsurf and n8n is in MCP Setup.
- Run the first
claude mcp addcommand below (free, no key), or the second one with a Pro API key. - Start a new Claude Code session, run
/mcp, choosetubetranscriptand Authenticate (sign-in route only). - In the browser, sign in or create a free account, verify your email if asked, choose your team and allow.
- Ask the agent for the transcript of a YouTube URL (and, on Pro, hooks or a mindmap).
# Free: sign in with OAuth (get_transcript, 15 transcripts per 24 hours)
claude mcp add --transport http tubetranscript https://tubetranscript.io/api/mcp
# Pro: an API key in a header (every tool)
claude mcp add --transport http tubetranscript https://tubetranscript.io/api/mcp \
--header "Authorization: Bearer $TUBETRANSCRIPT_API_KEY"