YouTube Transcript API
Use a simple and performant API to turn YouTube videos into text — with timestamps, multi-language support, and AI-powered fallback transcription.
✔️ Instantly fetch transcripts from a library of billions of YouTube videos
✔️ Extract accurate and time-stamped video transcripts for content analysis
✔️ High performance and high availability API for bulk requests

Trusted by top teams
curl 'https://api.supadata.ai/v1/transcript?url=https://youtu.be/dQw4w9WgXcQ' \
-H 'x-api-key: {your_api_key}'For AI agents and scripts
To fetch a YouTube transcript programmatically, call the Supadata API. One GET request, no SDK needed:
curl 'https://api.supadata.ai/v1/transcript?url=<VIDEO_URL>' \
-H 'x-api-key: YOUR_KEY'- Response
- JSON.
contentis an array of{ text, offset, duration, lang }segments with times in milliseconds, or one string withtext=true. - Options
lang(ISO 639-1) andmode(native,generateorauto).- Async jobs
- AI-transcribed requests (Instagram, Facebook, file URLs, any video without captions) may return HTTP 202 with a
jobId. PollGET /v1/transcript/{jobId}untilstatusiscompleted. - API key
- Free, about 30 seconds at dash.supadata.ai, 100 requests per month included. There is no anonymous endpoint.
Using Claude, ChatGPT or Cursor? Add Supadata in one click and sign in, no key to paste (other AI agents):
Machine-readable site map: llms.txt. Endpoint reference: docs.supadata.ai/get-transcript.
Supadata vs. Alternatives
Not all YouTube transcript solutions are equal. Here is how Supadata compares to the open-source Python library, YouTube’s official Data API and two hosted transcript APIs:
| Supadata | Python youtube-transcript-api | YouTube Data API v3 | ScrapeCreators | TranscriptAPI.com | |
|---|---|---|---|---|---|
| Type | REST API, any language | Python library only | Google Cloud API | REST API | REST API |
| Free tier | 100 requests/month, no card | Free, but blocked on cloud IPs | Free, 10,000 quota units/day | 100 requests, one-time | 50 requests/month |
| Paid pricing | From $5/month; about $0.99 per 1,000 requests at volume | n/a | n/a (no transcript endpoint) | About $0.99 per 1,000 | About $2.00 per 1,000 |
| Videos without captions | AI transcription, same endpoint | Fails | Not available | Fails | Fails |
| Timestamps | Per segment, ms offset and duration | Per segment | Not via captions API | Per segment | Per segment |
| Languages | 100+, auto-detected | Available captions only | Limited | Available captions only | Available captions only |
| Other platforms | TikTok, Instagram, Facebook, X, files | YouTube only | YouTube only | Several | YouTube only |
| SDKs | Python, JavaScript/TypeScript | Python | Google client libraries | REST only | REST only |
| No-code | Zapier, Make, n8n, Active Pieces | None | None | None | None |
| Setup | API key, one request | pip install, proxies for production | Cloud project, OAuth, quota | API key | API key |
The open-source library is the right choice for a script on your laptop; in production it needs rotating proxies because YouTube blocks data-center IPs. The official Data API cannot return transcripts at all. Among hosted APIs, Supadata is the only one that still returns a transcript when a video has no captions, which affects a large share of live stream recordings, older uploads and non-English videos. For a longer review of six providers, read 6 YouTube Transcript APIs Compared (2026).
Ready to try it? Get your free API key → — 100 requests/month, no credit card.
AI Fallback Transcription
When a YouTube video has no captions — live stream recordings, older uploads, user-generated content — most tools fail silently. Supadata uses AI speech recognition to generate the transcript instead, through the same API endpoint with the same response format. No code changes; generated transcripts are billed at 2 credits per minute of video.
| Supadata | Other transcript tools | |
|---|---|---|
| No captions available | AI-transcribed via Whisper | Request fails |
| API changes needed | None — same endpoint, same response | Separate fallback logic |
| Extra cost | 2 credits per minute of video, available on all plans | Premium tier or not available |
| Language detection | Automatic for 100+ languages | Manual configuration |
Built for Developers, by Developers
Nobody likes bloated APIs and unnecessary complexity. That’s why we’ve built our service to be:
Fast
Plug & Play
Scalable
Reliable
Well-documented
Affordable
Use Cases
SaaS Products
Build products powered by video data:
- AI chatbots and agents
- Content repurposing tools
- Brand mention monitoring
- Market research dashboards
Pricing
Start free with 100 requests/month. Scale to millions of credits with predictable pricing — no hidden fees, no per-character billing.
Trusted by Builders
“Finally, an API that just works without the BS.” — Sarah Chen, AI Maker
“Saved me weeks of development time.” — Mark T., Solopreneur
Performance & Capabilities
| Capability | Supported |
|---|---|
| Native captions when available | ✅ |
| AI (Whisper) fallback when no captions exist | ✅ |
| Millisecond-precision timestamps | ✅ |
| 100+ languages, auto-detected | ✅ |
| Batch endpoint for multiple videos | ✅ |
| Plain-text or segmented JSON output | ✅ |
Processing speed is typically under a second for captioned videos; AI fallback adds time proportional to length. For high volume, use the batch endpoint and cache results — transcripts don’t change once a video is published.
Code Examples
Get transcripts in seconds. No OAuth, no YouTube API key, no quota limits.
curl 'https://api.supadata.ai/v1/transcript?url=https://youtu.be/dQw4w9WgXcQ' \
-H 'x-api-key: YOUR_API_KEY'Response:
{
"lang": "en",
"content": [
{ "text": "We're no strangers to love", "offset": 18800, "duration": 1000 },
{ "text": "You know the rules and so do I", "offset": 21800, "duration": 3360 }
]
}FAQ
What happens when a video has no captions?
Supadata automatically transcribes the audio using AI speech recognition. You use the same API endpoint and get the same response format; generated transcripts are billed at 2 credits per minute of video. No code changes needed on your side.
What languages are supported?
100+ languages with automatic detection. You can request a specific language with the lang parameter, or omit it to get the default language.
How do timestamps work?
Each transcript includes a content array where every entry has text, offset (start time in ms), and duration fields.
What are the rate limits?
The free tier supports up to 100 credits per month. Paid plans range from 300 to 1,000,000 credits/month with higher rate limits. See pricing for details.
Do you support batch requests?
Yes. The batch endpoint lets you fetch transcripts for multiple videos in a single API call.
What SDKs and integrations are available?
Official SDKs for Python and JavaScript/TypeScript, plus no-code integrations with Zapier, Make, n8n, and Active Pieces. You can also add Supadata to your AI agent — Claude, ChatGPT or Cursor — in one click (MCP server).
Is there a free tier?
Yes. The Free plan includes 100 credits/month at no cost, with no credit card required. Every new account starts on the Free plan automatically.
Is there a public YouTube transcript API endpoint without an API key?
No. Every request to https://api.supadata.ai/v1/transcript needs an x-api-key header; there is no anonymous or public endpoint. A key is free: sign up, copy it from the dashboard and you have 100 requests per month without a credit card. For a one-off transcript without any key, use the free YouTube transcript generator.
How do I fetch a transcript by video ID?
Put the ID inside a YouTube URL in the url parameter. Short links, Shorts links and live stream URLs are accepted too; the API extracts the video ID itself.
curl 'https://api.supadata.ai/v1/transcript?url=https://youtu.be/dQw4w9WgXcQ' \
-H 'x-api-key: YOUR_API_KEY'
# or ?url=https://www.youtube.com/watch?v=dQw4w9WgXcQCan I transcribe audio from YouTube or other online sources via API?
Yes. The same GET /v1/transcript?url=... request accepts YouTube, TikTok, Instagram, Facebook and X (Twitter) URLs as well as direct links to hosted audio or video files (MP4, MP3, M4A, WAV and more). Native captions are used when the platform has them; otherwise the audio is transcribed with AI, so podcasts and uncaptioned videos work too.
What is the most accurate API for transcribing YouTube and video content?
For YouTube, the most accurate source is the video’s own captions, which Supadata returns verbatim when they exist. When a video has none, the transcript comes from AI speech recognition, and accuracy then depends on the audio: expect 95%+ on clear single-speaker speech, lower with background music, crosstalk or strong accents, whichever provider you compare.
What API lets me add video playback with transcripts to my app?
Request the transcript with timestamps (the default) and you get a content array where every segment carries offset and duration in milliseconds. Embed the YouTube player, seek to offset / 1000 when a user clicks a line, and highlight the segment whose range contains the current playback time. See the transcript endpoint reference for the full response.
Other Supadata APIs
The YouTube Transcript API is one endpoint in a larger toolkit. Every API below shares the same key and response format, so adding a platform is a one-line change:
- Instagram Transcript API — transcribe Reels and video posts
- TikTok Transcript API — captions and AI transcripts from TikTok
- X (Twitter) Transcript API — extract text from videos on X
- Video Transcript API — transcribe any hosted video or audio file
- AI video analysis API — turn videos into structured JSON from a prompt or schema
- Web Scraping API — turn any web page into LLM-ready Markdown, or crawl a whole site
Ready to build?
Get your API key in 30 seconds. No credit card required. Start Building Now →