YouTube Transcript REST API & SDKs
The fastest developer platform for extracting clean YouTube transcripts, closed captions, and video knowledge into AI models, agents, and applications.
Sub-Millisecond Cache
Deterministic local cache serves identical video transcripts instantly with 99.9% uptime.
Native MCP Protocol
Plug-and-play Model Context Protocol server for Claude Desktop, Cursor, and autonomous AI agents.
Sliding Window Limits
Tiered quotas, CORS support, cryptographic API key authentication, and predictable headers.
Endpoints & Live Code Examples
# 1. Simple GET Request
curl "https://tubetotranscript.com/api/v1/transcript?url=https://www.youtube.com/watch?v=dQw4w9WgXcQ" \
-H "Authorization: Bearer YOUR_API_KEY"
# 2. POST with Language Fallback
curl -X POST "https://tubetotranscript.com/api/v1/transcript" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"language": "en"
}'{
"language": "en",
"language_name": "English",
"is_generated": false,
"length_seconds": 213,
"lengthText": "03:33",
"metadata": {
"videoId": "dQw4w9WgXcQ",
"title": "Never Gonna Give You Up",
"channel": "Rick Astley",
"thumbnail": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg"
},
"transcript": [
{
"text": "We're no strangers to love",
"start": 18.5,
"duration": 3.2
},
{
"text": "You know the rules and so do I",
"start": 22.8,
"duration": 4.1
}
],
"available_languages": [
{
"code": "en",
"name": "English",
"is_generated": false
}
]
}Standard Response Codes
| Status Code | Meaning | Description |
|---|---|---|
| 200 OK | Success | Transcript successfully retrieved and formatted. |
| 400 Bad Request | Invalid Input | Missing or malformed YouTube URL or parameter. |
| 404 Not Found | No Subtitles | Video exists but contains no creator or automatic caption tracks. |
| 429 Too Many Requests | Rate Limited | Quota exceeded for active tier. Check Retry-After header. |
API Implementation & Rate Limits FAQ
Find answers to common questions about generating and exporting YouTube transcripts.
Explore All Free YouTube Transcript Tools
A complete suite of fast, privacy-first transcription, search, and export utilities.
YouTube AI Transcript
AI-ready transcripts for ChatGPT, Claude & NotebookLM.
Transcript for ChatGPT
Package transcripts with custom AI prompt presets & chunking.
Batch Transcript (Bulk)
Extract up to 30 YouTube URLs in parallel into 1 file or ZIP.
In-Transcript Search
Search spoken words and phrases with deep timestamp jumps.
Quote Finder
Find exact quotes with surrounding context and citation links.
Caption Checker
Verify closed caption and subtitle availability for any video.