AI apps and agents
Ground an assistant in what was actually said. Segments carry start times, so an answer can cite the second rather than paraphrase a video it never watched.
- Starts from
- One video link
- Uses
- Segment text and start times
50 free credits · no card
A YouTube transcript API for apps. Clean text with timestamped segments, for any public video, whole channel, playlist or keyword search: over REST, an MCP server, or the Python and JavaScript SDKs.
No card required. Failed fetches are free.

Code
One POST with a URL or a bare video id, from any language. Same response shape every time.
curl -X POST https://transcriptfetch.com/api/v2/transcripts/video \
-H "Authorization: Bearer $TRANSCRIPTFETCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"video": "dQw4w9WgXcQ"}'import os, requests
r = requests.post(
"https://transcriptfetch.com/api/v2/transcripts/video",
headers={"Authorization": f"Bearer {os.environ['TRANSCRIPTFETCH_API_KEY']}"},
json={"video": "dQw4w9WgXcQ"},
)
data = r.json()["data"]
for seg in data["segments"]:
print(seg["start"], seg["text"])const res = await fetch(
"https://transcriptfetch.com/api/v2/transcripts/video",
{
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TRANSCRIPTFETCH_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ video: "dQw4w9WgXcQ" }),
},
);
const { data } = await res.json();
for (const seg of data.segments) {
console.log(seg.start, seg.text);
}<?php
$ch = curl_init("https://transcriptfetch.com/api/v2/transcripts/video");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("TRANSCRIPTFETCH_API_KEY"),
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode(["video" => "dQw4w9WgXcQ"]),
]);
$data = json_decode(curl_exec($ch), true)["data"];
foreach ($data["segments"] as $seg) {
echo $seg["start"], " ", $seg["text"], PHP_EOL;
}Call it from any stack, or use the typed Python and Node SDKs.
POST /api/v2/transcripts/videoRead the referenceGive Claude, ChatGPT or Cursor transcripts, search and channel listings.
https://transcriptfetch.com/mcpSet up MCPDrop transcripts into a workflow without writing code.
n8n-nodes-transcriptfetchSee the n8n nodeHow we compare
Compared by approach rather than by vendor, because the real choice is whether you want to own the infrastructure.
| TranscriptFetch | Open-source library | Your own scraper | |
|---|---|---|---|
| Language support | REST, any language | Python only | Any language |
| Setup | Get a key, make a request | pip install | Rent proxies, write parsers, maintain |
| No captions on the video | AI Fallback Transcription, same endpoint | Raises an error | Build a whole second pipeline |
| Blocks and rotation | Handled for you | Your IP, blocked at scale | Yours to solve, forever |
| Channels, playlists, search | Built in, paginated | Not included | More parsers |
| Batch | Up to 50 per call | Manual loops | Your queue |
| Cost of a failure | Nothing | Your time | Your time and your proxies |
| When YouTube changes | We fix it | Wait for a release | You fix it, tonight |
One approach people expect to see here and will not: the YouTube Data API. It does not return caption text for videos you do not own: captions.download requires the owner's OAuth credentials, so for third-party videos it is not an option at any quota.
Who it's for
{
"platform": "youtube",
"source": "audio", // "captions" when the video has them
"segments": [
{ "start": 0, "duration": 3.44, "text": "…" },
…
],
"usage": { "credits_spent": 1 }
}When a video has no caption track, the audio is transcribed automatically on the same call. No second endpoint and no change to your code.
Resolve a channel, playlist or keyword search into a list, then transcribe what you want. Up to 50 videos in one batch, 500 on Mega and Scale.
A credit is a delivered result. Failed and empty results are never charged, and unused credits roll over.
Extraction runs through several methods behind one endpoint, so a change that breaks one path usually falls through to another before anyone notices.
Ways in
The same fetch, the same credit, whichever way you reach it.
Any public video URL or id, from your code, from Claude, ChatGPT or Cursor over MCP, or from n8n, Make and Zapier.
Captions when the video has them, AI transcription when it does not. Clean text with timestamped segments.
Summaries, search, RAG, research or automations. The response has the same shape every time.
Use cases
Ground an assistant in what was actually said. Segments carry start times, so an answer can cite the second rather than paraphrase a video it never watched.
Turn a video corpus into text your index can reach. Chunk on timestamps and every retrieved passage keeps a link back to the moment.
Track a channel, a course, or a topic across more hours of video than anyone can sit through, then query the text.
Every segment has a start and a length, which is all a subtitle file needs. Write SRT or WebVTT from the response and upload it next to the video.
Start times turn a long video into chapters, and the text turns it into show notes or a post, written from what was said rather than a summary of a summary.
Find every video where a sponsor is read out or a product is named, and jump to the second it was said before anyone watches the whole thing.
Free demo
Paste any YouTube link and run it. No account, no key, no card.
Your transcript appears here, with timestamps.
Like it?Start with 50 free credits
Credits
One credit per delivered caption transcript. Failed or empty results are free. Unused credits roll over up to twice your monthly allowance.
For side projects and light pipelines.
$5/month
or $50/yr, 2 months free
Rolls over, up to 2,000 banked
For production apps, agents, and RAG pipelines.
$15/month
or $150/yr, 2 months free
Rolls over, up to 15,000 banked
For high-volume pipelines and whole-channel workloads.
$45/month
or $450/yr, 2 months free
Rolls over, up to 70,000 banked
For serious volume: pipelines, platforms, and data teams.
$229/month
or $2,290/yr, 2 months free
Rolls over, up to 500,000 banked
50 credits, no card required. 60 requests / minute, batch up to 50 videos, every platform.
Every plan includes
How much will my volume cost?
transcripts / month
Top-ups are billed at your plan's per-1,000 rate and never expire. AI Fallback Transcription is billed by audio duration rather than per transcript. Full pricing
The audio is transcribed automatically on the same call: no second endpoint and no change to your code. Media under 20 minutes usually returns inline; longer media returns a 202 with a job you can poll or receive by callback. Transcription is billed by audio duration, one credit per started 5 minutes, and only on delivery.
Whatever caption track the video carries, with the language stamped on the response. When several tracks exist you can ask for one; when none exists and the audio is transcribed, the language is detected automatically.
Per-plan request rates, returned on every response as standard rate-limit headers so a client can back off without guessing. Batch is the cheaper path for volume: one call carries up to 50 videos on the free tier, Basic and Pro, and up to 500 on Mega and Scale.
Yes. POST /transcripts/batch takes up to 50 ids per call, 500 on Mega and Scale, and returns a per-item outcome rather than failing the whole request. You are charged one credit per successfully delivered caption transcript; failures cost nothing.
50 credits, no card. Every endpoint is included, not a reduced subset, so you can build the real integration before deciding to pay for it.
No. A credit is a delivered result. A caption transcript is one credit, a channel, playlist or search page is one credit, and polling a job, checking your balance and the health probe are free. Failed and empty results are never charged.
Yes. The YouTube transcript API has Python (pip install transcriptfetch-sdk) and JavaScript SDKs, both thin wrappers over the same REST endpoints with typed models. There is also an official n8n community node, and an MCP server if you would rather let an assistant make the call.
No. That is an open-source library that runs from your own IP, and most cloud provider IPs are blocked by YouTube, so it can work on your laptop and fail on your server. TranscriptFetch is a hosted REST API that fetches from its own network, so it works from any server.
It depends on the job. An open-source library is best for a few videos from a Python script, your own scraper is best when you need full control and have time to maintain it, and TranscriptFetch is best when you want transcripts, not infrastructure.
We fix it. Extraction runs through several methods behind one endpoint, so a change that breaks one path usually falls through to another before anyone notices, and the response shape your code parses does not move either way.
Get started