Structured, timestamped transcripts in one API call.
One REST API for transcripts from YouTube, TikTok, Instagram, X, LinkedIn, Facebook, Loom, Rumble, Bilibili, Spotify, podcasts and earnings calls. Send a link, get back clean JSON with text and start times.
Quickstart
Create an API key in your dashboard, then request a transcript:
curl "https://api.transcriptapi.org/v1/youtube/transcript?video=dQw4w9WgXcQ" \ -H "X-API-Key: YOUR_API_KEY"
You get the video metadata, the available caption languages and a transcript array of segments, each with text, start and duration (seconds).
{
"video_id": "dQw4w9WgXcQ",
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"author": "Rick Astley",
"channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
"length_seconds": 213,
"is_live_content": false,
"language_code": "en",
"language_name": "English",
"is_generated": false,
"available_languages": [
{
"language_code": "en",
"name": "English",
"is_generated": false,
"is_translatable": true
},
{
"language_code": "en",
"name": "English (auto-generated)",
"is_generated": true,
"is_translatable": true
},
{
"language_code": "de-DE",
"name": "German (Germany)",
"is_generated": false,
"is_translatable": true
}
],
"transcript": [
{
"text": "Welcome to the show.",
"start": 1.36,
"duration": 1.68
},
{
"text": "Today we look at how transcripts work.",
"start": 3.04,
"duration": 3.24
}
],
"cached": false
}Authentication
Send your key in the X-API-Key header on every request. Keep it secret and call the API from your server, not from browser code.
curl "https://api.transcriptapi.org/v1/youtube/transcript?video=dQw4w9WgXcQ" \ -H "X-API-Key: YOUR_API_KEY"
https://api.transcriptapi.org. All endpoints are GET and return JSON by default.API key security
Your API key is a password for your account's usage. Anyone who has it can make requests that are billed to you.
Keep keys on the server
Call the API from your backend and read the key from an environment variable or a secrets manager. Never put a key in browser JavaScript, a mobile app, a public repository or a URL. Prefer the X-API-Key header (or the Authorization header for MCP clients) over query strings, which are stored in logs and browser history.
Use one key per app or environment
You can create several named keys in your dashboard, for example production, staging and one per integration. If one is exposed, you only have to replace that one.
Rotate a key
- Create a new key on the API keys page and give it a clear name.
- Deploy the new key to your app and check that requests succeed.
- Revoke the old key.
Rotating on a regular schedule, and whenever someone with access leaves, is good practice.
Revoke a key
Revoke a key from the API keys page at any time. Revoking is permanent: requests with that key fail with a KEY_REVOKED error, and you create a new key to replace it. A revoked key can keep working for up to 30 seconds while caches clear.
Scopes and permissions
Keys do not have separate scopes or permission levels. Every key can call every endpoint and uses the same account balance and billing, so limit your exposure with separate keys and prompt revocation.
If a key leaks
- Revoke the key straight away.
- Create a replacement and update your app.
- Check your usage in the dashboard for requests you do not recognise, and contact support@transcriptapi.org if you see charges you did not make.
Output formats
Most transcript endpoints accept an optional format parameter so you can get the shape you need without converting it yourself.
| Value | What you get |
|---|---|
json | Full response: metadata, languages and timed segments (default). |
text | Plain transcript text with a short metadata header. |
timestamped | One line per caption with [mm:ss]. |
srt / vtt | Subtitle files (where the platform supports it). |
The REST default is json, because code usually wants the timed segments. The MCP server defaults to text instead, because a model reads plain text best and it costs fewer tokens; pass output to change it. Not every endpoint offers every value: the Instagram endpoints take json, text, srt and vtt, but no timestamped. The MCP server builds timestamped itself from the timed segments, so it works for Instagram there; over REST use json or a subtitle format.
Example: timestamped
[00:01] Welcome to the show. [00:03] Today we look at how transcripts work.
The same two segments as json are shown in the quickstart response above.
Billing and units
Usage is counted in units. 1 unit = 1 transcript. Only successful transcripts are billed (cached answers included). Errors and failed transcripts cost nothing, and listing videos, episodes or calls is free.
| Request | Cost |
|---|---|
| Single video, post or episode transcript | 1 unit |
| Search, channel and playlist pages | 1 unit per transcript returned (listing is free) |
| Podcast episode list | Free |
| Instagram transcript | 1 unit per transcript, whatever its length |
| Earnings calls list | Free |
| Failed transcript inside a search, channel or playlist page | Free |
Accounts without a payment method get 100 free units each month. Pay As You Go has no free allowance: once you add a payment method, every unit is billed at the Pay As You Go rate. See pricing for plans and per-unit rates.
Errors
Failed requests return a non-2xx status and a JSON body with an error object. Typical statuses are 400 (bad input), 401 (UNAUTHORIZED: missing or invalid key, KEY_REVOKED: revoked key), 402 (free allowance used up or your spend cap reached), 403 (account not verified or suspended, or media that needs a login), 404 (not found or no transcript), 429 (rate limited) and 5xx (server or platform failure). Every code is listed below. Errors are never billed, and neither is a failed transcript inside a search, channel or playlist page (see Billing and units).
{
"error": {
"code": "NO_TRANSCRIPT",
"message": "This video has no captions."
}
}A TikTok video or podcast episode without captions returns 404 with NO_TRANSCRIPT: audio is never transcribed unless the endpoint says so (Instagram does speech-to-text). If the response includes a request_id, quote it when you contact support.
A 401 and a 403 look like this:
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing or invalid API key."
},
"request_id": "7a240018485342d38ad63ce3c26e1bcb"
}{
"error": {
"code": "EMAIL_NOT_VERIFIED",
"message": "Verify your email address first."
},
"request_id": "7a240018485342d38ad63ce3c26e1bcb"
}Error codes
| Status | Code | Meaning | What to do |
|---|---|---|---|
| 400 | INVALID_INPUT | The link or a parameter was not accepted. | Fix the request. Do not retry unchanged. |
| 401 | UNAUTHORIZED | The API key is missing or not valid. | Send your key in the X-API-Key header (or Authorization: Bearer). Check for typos and extra spaces. Do not retry unchanged. |
| 401 | KEY_REVOKED | The API key has been revoked. | Create a new key in the dashboard. See API key security. |
| 402 | FREE_TIER_EXHAUSTED | The monthly free allowance is used up. The request was not charged. | Add a payment method, or wait for the allowance to renew. |
| 402 | SPEND_CAP_REACHED | The request would exceed the spend cap set in Settings, Billing. | Raise the cap in the dashboard. |
| 403 | EMAIL_NOT_VERIFIED | The account email has not been confirmed. | Confirm your email, then retry. |
| 403 | ACCOUNT_SUSPENDED | The account is suspended. | Resolve the billing issue or contact support. |
| 403 | RESTRICTED | The media needs a login: it is private, age-restricted or members-only. | Do not retry. Use a public item. |
| 404 | NO_TRANSCRIPT | The video, post or episode has no captions or transcript. | Do not retry. Try another item. |
| 404 | LANGUAGE_NOT_FOUND | The requested caption language is not available. | Change lang. |
| 404 | NOT_FOUND | The video, post or resource was not found. | Check the link. Do not retry unchanged. |
| 404 / 503 | UNAVAILABLE | 404: the media was removed or is not available. 503 on bulk jobs: job storage is not answering. | 404: do not retry. 503: retry after the Retry-After seconds. |
| 405 | METHOD_NOT_ALLOWED | The endpoint does not accept this HTTP method. | Use GET. |
| 409 | KEY_LIMIT_REACHED | You reached the maximum number of API keys for your account. | Revoke a key you no longer use, then create a new one. |
| 409 | IDEMPOTENCY_CONFLICT | The same idempotency key was already used for a job with different input. | Use a new key for a different job, or resend the original input. |
| 422 | MEDIA_TOO_LONG | The media is longer than the platform limit. | See Platform limits. Do not retry unchanged. |
| 429 | RATE_LIMITED | Too many requests too quickly (429). | Wait, then retry with backoff. See Rate limits. |
| 503 | BLOCKED | The platform temporarily refused the request. Transient, and not charged. | Retry in a moment with backoff. |
| 503 | BUSY | The server is at capacity. | Retry after Retry-After seconds (5). |
| 503 | PLATFORM_UNAVAILABLE | The platform is unavailable right now. | Check the status page and retry later. |
| 503 | PLATFORM_CHANGED | The platform changed how it serves this content, so it cannot be read for now. | Try again later. Not charged. |
| 504 | UPSTREAM_TIMEOUT | The platform did not answer in time. | Retry with backoff. |
| 500 / 502 | INTERNAL | Something failed on our side or while reading the upstream site. | Retry with backoff. If it persists, send the request_id to support. |
| MCP | RESPONSE_TOO_LARGE | The response would be too large. | Ask for less data per request. |
Retry guide
Retry RATE_LIMITED, BLOCKED, UPSTREAM_TIMEOUT, PLATFORM_UNAVAILABLE and 5xx responses with exponential backoff and a little random delay. Do not retry 400, 401 or 404 until you change the request.
// Retry-After is seconds or an HTTP date; fall back to exponential backoff.
function retryDelay(header, i) {
const secs = Number(header);
if (header && Number.isFinite(secs)) return secs;
const at = Date.parse(header);
if (!Number.isNaN(at)) return Math.max(0, (at - Date.now()) / 1000);
return Math.min(2 ** i, 30);
}
async function getWithRetry(url, apiKey, tries = 5) {
for (let i = 0; i < tries; i++) {
const res = await fetch(url, { headers: { "X-API-Key": apiKey } });
if (res.ok) return res.json();
const body = await res.json().catch(() => ({}));
const code = body.error && body.error.code;
const retryable =
["RATE_LIMITED", "BLOCKED", "UPSTREAM_TIMEOUT", "PLATFORM_UNAVAILABLE"].includes(code) ||
res.status >= 500;
if (!retryable || i === tries - 1) throw new Error(code || String(res.status));
const wait = retryDelay(res.headers.get("Retry-After"), i);
await new Promise((r) => setTimeout(r, (wait + Math.random()) * 1000));
}
}Rate limits
Requests that arrive too fast are rejected with 429 and the error code RATE_LIMITED. Responses carry these headers so your code can pace itself:
| Header | Meaning |
|---|---|
X-RateLimit-Limit | Requests allowed per minute for your account. |
X-RateLimit-Remaining | Requests left in the current window. |
X-RateLimit-Reset | Seconds until your allowance recovers. |
Retry-After | Sent with a 429: how long to wait before retrying. |
Limits
| What | Limit |
|---|---|
| API requests (all plans) | 60 requests per minute per account, counted over a sliding one-minute window |
| Bulk job status and result reads | 240 requests per minute |
| Sign-up, sign-in and password reset | 5 attempts per minute per IP address |
The limit is the same on every plan. If you need more, email support@transcriptapi.org. Your own limit is always in X-RateLimit-Limit on a live response. Rate-limited requests are not billed.
To fetch many transcripts, queue the links, process a fixed number at a time and back off on 429 as shown in the retry guide, or use a bulk job through MCP.
Pagination and bulk jobs
Cursor pagination
Search endpoints return one page of about 20 videos, and channel and playlist endpoints one page of about 100 videos, each with a cursor and a has_more flag. Send the cursor you received to get the next page, and stop when has_more is false.
# first page curl "https://api.transcriptapi.org/v1/youtube/channel?channel=@veritasium" \ -H "X-API-Key: YOUR_API_KEY" # next page: pass the cursor from the previous response curl "https://api.transcriptapi.org/v1/youtube/channel?channel=@veritasium&cursor=CURSOR_FROM_PREVIOUS_RESPONSE" \ -H "X-API-Key: YOUR_API_KEY"
Each page looks like this (shortened). Videos without a transcript come back with status: "error" and cost nothing. When has_more is false, cursor is null.
{
"count": 2,
"ok": 1,
"failed": 1,
"has_more": true,
"cursor": "CURSOR_FOR_THE_NEXT_PAGE",
"items": [
{
"video_id": "VIDEO_ID_1",
"title": "Example video",
"status": "ok",
"transcript": {
"language_code": "en",
"is_generated": false,
"transcript": [
{
"text": "Welcome to the show.",
"start": 1.36,
"duration": 1.68
}
],
"cached": false
},
"error": null
},
{
"video_id": "VIDEO_ID_2",
"title": "Another video",
"status": "error",
"transcript": null,
"error": {
"code": "NO_TRANSCRIPT",
"message": "This video has no captions."
}
}
],
"cached": false
}Bulk jobs (MCP)
For many channels, playlists or searches, or an exact number of transcripts, start a background job with the MCP tool create_bulk_job. Bulk jobs are also available as REST endpoints: see Bulk jobs API. get_api_status is MCP-only.
create_bulk_job
{
"type": "channel",
"inputs": ["@veritasium", "@3blue1brown"],
"max_items": 15,
"idempotency_key": "weekly-2026-11"
}max_items applies to each input, so two inputs with 15 deliver up to 30 transcripts. The call returns a job ID at once. Poll get_bulk_job until the status is completed, partially_completed, failed or cancelled, then read results with list_bulk_job_items (use next_after for the next page) and get_bulk_job_item. Sending the same idempotency_key again returns the same job. Cost is 1 unit per transcript; listing videos and failures are free. Accounts without a payment method stop at their 100 free units a month.
Bulk job response bodies
create_bulk_job and get_bulk_job return the job below (shortened values). status is pending, queued, processing, completed, partially_completed, failed or cancelled. progress goes from 0 to 1, units is what the job has billed so far, and stop_reason and notice explain a job that stopped early, for example at your free allowance or spend cap.
{
"id": "JOB_ID",
"type": "channel",
"status": "processing",
"phase": "fetching",
"params": {
"filter": "videos",
"lang": "en",
"prefer_generated": false
},
"max_items": 15,
"target": 30,
"counts": {
"total": 42,
"ok": 12,
"failed": 1,
"skipped": 0,
"pending": 29
},
"progress": 0.4,
"units": "12",
"stop_reason": null,
"notice": null,
"error": null,
"created_at": "2026-12-01T10:00:00Z",
"started_at": "2026-12-01T10:00:02Z",
"finished_at": null,
"expires_at": "2026-12-08T10:00:00Z"
}list_bulk_job_items returns items in order. Pass next_after as after to get the next page; it is null on the last page. get_bulk_job_item returns one item with its transcript.
{
"items": [
{
"seq": 1,
"input_index": 0,
"video_id": "VIDEO_ID_1",
"status": "succeeded",
"attempts": 1,
"cached": false,
"units": "1",
"error": null
},
{
"seq": 2,
"input_index": 0,
"video_id": "VIDEO_ID_2",
"status": "failed",
"attempts": 1,
"cached": false,
"units": "0",
"error": {
"code": "NO_TRANSCRIPT",
"message": "This video has no captions."
}
}
],
"next_after": 2
}Bulk jobs API
Use a bulk job to transcribe many channels, playlists or searches in the background. Create a job, poll it, then page through the items or download everything. The same jobs are available as MCP tools (create_bulk_job, get_bulk_job and the rest). Cost is 1 unit per transcript; listing videos and failed videos are free. Accounts without a payment method stop at their 100 free units a month and the job ends partially_completed.
| Method | Path | What it does |
|---|---|---|
| POST | /v1/youtube/jobs | Create a job. Returns 202 at once. |
| GET | /v1/jobs | List your jobs, newest first. |
| GET | /v1/jobs/{job_id} | Status, progress, units and a summary per input. |
| GET | /v1/jobs/{job_id}/items | The videos of the job with status and error, without transcript text. |
| GET | /v1/jobs/{job_id}/items/{seq} | One video with its transcript. |
| GET | /v1/jobs/{job_id}/export | Every transcript of the job, streamed. |
| POST | /v1/jobs/{job_id}/cancel | Stop the job. Results so far are kept and billed. |
| POST | /v1/jobs/{job_id}/retry-failed | Queue the failed videos again, and the rest after a free-allowance or spend-cap stop. |
Create a job
| Field | Description |
|---|---|
type | Required. channel, playlist or search: what each input is. |
inputs | Required. 1 to 1,000 entries: a channel (@handle, URL or ID), a playlist (URL or ID) or a search query. Duplicates are dropped. |
max_items | Transcripts to deliver for each input. Videos without captions are skipped for free and replaced by further videos. Leave out for every video. |
filter | videos (default), shorts or all. Channels and searches only. |
lang | Caption language, default en. |
prefer_generated | Prefer auto-generated captions. Default false. |
sort | Search: relevance, upload_date, view_count or rating. Channel: newest or popular. |
Idempotency-Key (header) | Optional. Sending the same key again returns the same job instead of a second one. |
curl -X POST "https://api.transcriptapi.org/v1/youtube/jobs" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: weekly-2026-12" \
-d '{"type":"channel","inputs":["@veritasium","@3blue1brown"],"max_items":15}'Response, 202:
{
"id": "JOB_ID",
"type": "channel",
"status": "queued",
"phase": "expanding",
"params": {
"filter": "videos",
"lang": "en",
"prefer_generated": false
},
"max_items": 15,
"target": 30,
"counts": {
"total": 0,
"ok": 0,
"failed": 0,
"skipped": 0,
"pending": 0
},
"progress": 0,
"units": "0",
"stop_reason": null,
"notice": null,
"error": null,
"created_at": "2026-12-01T10:00:00Z",
"started_at": null,
"finished_at": null,
"expires_at": "2026-12-08T10:00:00Z"
}Read a job
status is pending, queued, processing, completed, partially_completed, failed or cancelled. Poll GET /v1/jobs/{job_id} until it is one of the last four. Add activity=true for a short live activity log. GET /v1/jobs takes status, limit (1 to 100, default 20) and before; pass the next value of the previous page as before.
{
"jobs": [
{
"id": "JOB_ID",
"type": "channel",
"status": "completed",
"...": "same fields as above"
}
],
"next": null
}Items and export
GET /v1/jobs/{job_id}/items takes status (pending, succeeded, failed or skipped), limit (1 to 100, default 50) and after; pass next_after as after for the next page. next_after is null on the last page.
{
"items": [
{
"seq": 1,
"input_index": 0,
"video_id": "VIDEO_ID_1",
"status": "succeeded",
"attempts": 1,
"cached": false,
"units": "1",
"error": null
},
{
"seq": 2,
"input_index": 0,
"video_id": "VIDEO_ID_2",
"status": "failed",
"attempts": 1,
"cached": false,
"units": "0",
"error": {
"code": "NO_TRANSCRIPT",
"message": "This video has no captions."
}
}
],
"next_after": 2
}GET /v1/jobs/{job_id}/export?format=csv downloads the results. format is ndjson (default), json, csv (one row per video), segments (one CSV row per caption line), or srt, vtt and txt (a ZIP with one file per video).
Reads (status, items, export) allow 240 requests per minute. Jobs and results are kept for about a week (see expires_at). Errors use the same envelope as the rest of the API: INVALID_INPUT (400), NOT_FOUND (404), IDEMPOTENCY_CONFLICT (409) and UNAVAILABLE (503).
Response examples
Successful responses are JSON. The examples below are real response shapes, shortened. Transcript endpoints return the transcript segments plus metadata for the platform, so metadata fields differ between platforms.
Transcript: GET /v1/youtube/transcript
Each segment has text, start and duration in seconds. cached tells you whether the answer came from cache. Cached answers are billed too.
{
"video_id": "dQw4w9WgXcQ",
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"author": "Rick Astley",
"channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
"length_seconds": 213,
"is_live_content": false,
"language_code": "en",
"language_name": "English",
"is_generated": false,
"available_languages": [
{
"language_code": "en",
"name": "English",
"is_generated": false,
"is_translatable": true
},
{
"language_code": "en",
"name": "English (auto-generated)",
"is_generated": true,
"is_translatable": true
},
{
"language_code": "de-DE",
"name": "German (Germany)",
"is_generated": false,
"is_translatable": true
}
],
"transcript": [
{
"text": "Welcome to the show.",
"start": 1.36,
"duration": 1.68
},
{
"text": "Today we look at how transcripts work.",
"start": 3.04,
"duration": 3.24
}
],
"cached": false
}List: GET /v1/earnings/calls
{
"platform": "earnings",
"ticker": "AAPL",
"exchange": "NASDAQ",
"calls": [
{
"call_id": "2026/11/02/apple-aapl-q4-2026-earnings-call-transcript",
"call_url": "https://www.fool.com/earnings/call-transcripts/2026/11/02/apple-aapl-q4-2026-earnings-call-transcript/",
"published_date": "2026-11-02",
"fiscal_quarter": "Q4 2026"
}
],
"count": 1,
"cached": false
}List: GET /v1/podcast/episodes
Use an episode_id with /v1/podcast/transcript. has_more tells you whether more episodes exist.
{
"platform": "podcast",
"podcast": {
"title": "Example Podcast",
"author": "Example Author",
"language": "en",
"categories": [
"News"
],
"image": "https://example.com/cover.jpg",
"website": "https://example.com",
"feed_url": "https://example.com/feed.xml",
"apple_id": "1200361736"
},
"episodes": [
{
"episode_id": "7f9634ca-2ac0-4f14-bd4a-67a40cb3eb14",
"title": "Example episode",
"published_at": "2026-11-30T10:45:00Z",
"length_seconds": 1582,
"episode_url": "https://example.com/episode",
"audio_url": "https://example.com/episode.mp3",
"episode_number": null,
"season_number": null,
"description": "Episode description.",
"has_transcript": false,
"transcript_formats": [],
"languages": []
}
],
"has_more": true,
"count": 1,
"cached": false
}Use TranscriptAPI from AI assistants (MCP)
The TranscriptAPI MCP server exposes the API as tools for Claude, ChatGPT, Cursor, Windsurf, VS Code and any other client that supports the Model Context Protocol. Ask your assistant to fetch, summarise or search a transcript and it calls TranscriptAPI for you.
https://mcp.transcriptapi.org/mcp. It uses the same API key and the same billing as the REST API: 1 unit = 1 transcript. Errors are not billed, and listing is free. Get a key in your dashboard.Claude Desktop (header, recommended)
Claude Desktop can send the key in the Authorization header through the mcp-remote bridge, so the key stays out of the URL. Add this to claude_desktop_config.json (Node.js required), then restart Claude Desktop:
{
"mcpServers": {
"transcriptapi": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.transcriptapi.org/mcp", "--header", "Authorization:${TRANSCRIPTAPI_AUTH}"],
"env": { "TRANSCRIPTAPI_AUTH": "Bearer YOUR_API_KEY" }
}
}
}claude.ai (web connector, URL only)
This is the one setup where the key has to be part of the URL. Open Settings, then Connectors, then Add custom connector. This form only takes a URL and has no field for a custom header, so the key has to be part of the URL. Create a separate key just for this connector:
https://mcp.transcriptapi.org/mcp?api_key=YOUR_API_KEY
URLs can end up in logs and browser history. Treat this URL like a password, never share or screenshot it, and revoke the key (see API key security) if it is ever exposed. If you can, use the Claude Desktop, Claude Code or Cursor setups instead: they send the key in an Authorization header, not in the URL.
Claude Code
claude mcp add --transport http transcriptapi https://mcp.transcriptapi.org/mcp --header "Authorization: Bearer YOUR_API_KEY"
Cursor, Windsurf and VS Code
Add this to your mcp.json:
{
"mcpServers": {
"transcriptapi": {
"url": "https://mcp.transcriptapi.org/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Try it
Once connected, ask something like: "Get the transcript of this YouTube video and give me five key takeaways." followed by a link. More details and status: mcp.transcriptapi.org.
MCP tools
Every transcript tool takes a link and an optional output value: text (default), timestamped, srt, vtt or json, plus an optional lang. The default is text, unlike REST (see Output formats), and srt and vtt only work where the REST endpoint offers subtitles. Search, channel and playlist tools return one page with a cursor; for many pages or an exact number of transcripts, use a bulk job.
| Tool | What it does |
|---|---|
get_transcript | Transcript of one link. Detects the platform automatically (YouTube, TikTok, Instagram, Facebook, X, LinkedIn, Loom, Rumble, Bilibili, Spotify, podcasts, earnings calls). |
youtube_transcript | Transcript of one YouTube video from a URL or 11-character ID. |
youtube_shorts_transcript | Transcript of a YouTube Short. |
youtube_search | Transcripts of the videos on a YouTube search results page, with a cursor for the next page. |
youtube_channel | Transcripts of a channel's uploads, newest first, one page at a time. |
youtube_playlist | Transcripts of a playlist's videos, in order. |
tiktok_transcript | Transcript of a TikTok video from its captions. |
instagram_transcript | Speech-to-text transcript of any Instagram post with speech: reel, video post or IGTV. Input is post (URL or shortcode). |
instagram_reels_transcript | Speech-to-text transcript of an Instagram Reel. Input is post (a /reel/ URL or shortcode). |
instagram_videos_transcript | Speech-to-text transcript of an Instagram feed video post or IGTV. Input is post (a /p/ or /tv/ URL or shortcode). |
x_transcript | Transcript of a video in an X (Twitter) post. |
linkedin_transcript | Transcript of a LinkedIn video. |
facebook_transcript | Transcript of a Facebook video. |
loom_transcript | Transcript of a Loom video. |
rumble_transcript | Transcript of a Rumble video. |
bilibili_transcript | Transcript of a Bilibili video. |
spotify_transcript | Transcript of a Spotify podcast episode. |
podcast_transcript | Transcript an RSS feed or Apple Podcasts show publishes for an episode. |
podcast_episodes | List the newest episodes of a podcast and whether each has a transcript. |
earnings_transcript | Full transcript of one earnings call. |
earnings_calls | Latest earnings calls of a company by ticker. |
create_bulk_job | Start a background job for many channels, playlists or searches. Returns a job ID. |
get_bulk_job | Status, progress and units charged for a bulk job. |
list_bulk_jobs | List your bulk jobs. |
list_bulk_job_items | List the items (videos) of a bulk job. |
get_bulk_job_item | Read one item's transcript from a bulk job. |
cancel_bulk_job | Stop a running bulk job. |
retry_failed_bulk_job_items | Retry the items of a bulk job that failed. |
get_api_status | Platform availability, limits and billing summary. Free and needs no API key. |
The REST API has 20 transcript and listing endpoints (see the reference) plus 8 bulk job endpoints (see Bulk jobs API). The MCP server exposes those 20 endpoints as tools and adds get_transcript (detects the platform from the link), the bulk job tools and get_api_status, which is why the tool count is higher. Only get_api_status is MCP-only. Costs match the REST API: see Billing and units.
API reference
Every endpoint is a GET request under https://api.transcriptapi.org. Send X-API-Key with each call.
Video transcript
Transcript of one YouTube video. Manual captions are preferred over auto-generated ones unless prefer_generated is true.
Parameters
video required | YouTube URL (watch, youtu.be, shorts, embed, live) or 11-character video ID |
lang optional | Caption language, e.g. en, es, pt-BR. Omit for the default. |
prefer_generated optional | Prefer auto-generated captions. Default false. |
format optional | json, text, timestamped, srt or vtt. Default json. |
Example
curl "https://api.transcriptapi.org/v1/youtube/transcript?video=dQw4w9WgXcQ" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/youtube/transcript?video=dQw4w9WgXcQ",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/youtube/transcript",
params={"video": "dQw4w9WgXcQ"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Shorts transcript
Transcript of a YouTube Short from a Shorts URL, watch URL, youtu.be link or video ID.
Parameters
video required | Shorts URL, watch URL, youtu.be link or 11-character video ID |
lang optional | Caption language, e.g. en, es, pt-BR. Omit for the default. |
format optional | json, text, timestamped, srt or vtt. Default json. |
Example
curl "https://api.transcriptapi.org/v1/youtube/shorts/transcript?video=dQw4w9WgXcQ" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/youtube/shorts/transcript?video=dQw4w9WgXcQ",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/youtube/shorts/transcript",
params={"video": "dQw4w9WgXcQ"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Search transcripts
Search YouTube and get the transcript of every video on the first results page (about 20), plus a cursor for the next page.
Parameters
q required | Search keywords, e.g. rust programming tutorial |
filter optional | videos, shorts or all. Default videos. |
sort optional | relevance, upload_date, view_count or rating. |
cursor optional | Pass the cursor of the previous response to get the next page. |
lang optional | Caption language for every video. Default en. |
prefer_generated optional | Prefer auto-generated over manual captions. Default false. |
Example
curl "https://api.transcriptapi.org/v1/youtube/search?q=rust+tutorial" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/youtube/search?q=rust+tutorial",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/youtube/search",
params={"q": "rust+tutorial"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Channel transcripts
Transcripts of a channel's uploads, newest first, one page (about 100 videos) at a time.
Parameters
channel required | @handle, channel URL or UC… channel ID |
filter optional | videos, shorts or all. Default videos. |
sort optional | newest or popular. |
cursor optional | Pass the cursor of the previous response to get the next page. |
lang optional | Caption language for every video. Default en. |
prefer_generated optional | Prefer auto-generated over manual captions. Default false. |
Example
curl "https://api.transcriptapi.org/v1/youtube/channel?channel=@veritasium" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/youtube/channel?channel=@veritasium",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/youtube/channel",
params={"channel": "@veritasium"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Playlist transcripts
Transcripts of a playlist's videos in playlist order, about 100 per page.
Parameters
playlist required | Playlist URL or ID |
cursor optional | Pass the cursor of the previous response to get the next page. |
lang optional | Caption language for every video. Default en. |
prefer_generated optional | Prefer auto-generated over manual captions. Default false. |
Example
curl "https://api.transcriptapi.org/v1/youtube/playlist?playlist=PLxxxxxxxx" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/youtube/playlist?playlist=PLxxxxxxxx",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/youtube/playlist",
params={"playlist": "PLxxxxxxxx"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Video transcript
Transcript of one TikTok video from TikTok's own captions (creator or auto-generated). Videos without captions return 404 NO_TRANSCRIPT.
Parameters
video required | TikTok URL, short link (vm.tiktok.com) or numeric video ID |
lang optional | Caption language, e.g. en, es, pt-BR. Omit for the default. |
format optional | json, text, timestamped, srt or vtt. Default json. |
Example
curl "https://api.transcriptapi.org/v1/tiktok/transcript?video=https://www.tiktok.com/@scout2015/video/6718335390845095173" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/tiktok/transcript?video=https://www.tiktok.com/@scout2015/video/6718335390845095173",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/tiktok/transcript",
params={"video": "https://www.tiktok.com/@scout2015/video/6718335390845095173"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Instagram transcript
Speech-to-text transcript of any Instagram post with speech: a reel, video post or IGTV (up to 300 seconds, 50 MB). Takes a minute or more; not captions. 1 transcript charged whatever the length.
Parameters
post required | Instagram reel/post URL (instagram.com/reel/CODE/, /p/CODE/ or /tv/CODE/) or the 11-character shortcode |
format optional | json, text, srt or vtt. Default json. |
Example
curl "https://api.transcriptapi.org/v1/instagram/transcript?post=https://www.instagram.com/reel/XXXX/" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/instagram/transcript?post=https://www.instagram.com/reel/XXXX/",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/instagram/transcript",
params={"post": "https://www.instagram.com/reel/XXXX/"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Reels transcript
Speech-to-text transcript of an Instagram Reel (up to 300 seconds, 50 MB). Takes a minute or more; not captions. 1 transcript charged whatever the length. Same response as /v1/instagram/transcript.
Parameters
post required | Instagram Reel URL (instagram.com/reel/CODE/) or the 11-character shortcode |
format optional | json, text, srt or vtt. Default json. |
Example
curl "https://api.transcriptapi.org/v1/instagram/reels/transcript?post=https://www.instagram.com/reel/XXXX/" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/instagram/reels/transcript?post=https://www.instagram.com/reel/XXXX/",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/instagram/reels/transcript",
params={"post": "https://www.instagram.com/reel/XXXX/"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Video transcript
Speech-to-text transcript of an Instagram feed video post or IGTV (up to 300 seconds, 50 MB). Takes a minute or more; not captions. 1 transcript charged whatever the length. Same response as /v1/instagram/transcript.
Parameters
post required | Instagram video post URL (instagram.com/p/CODE/ or /tv/CODE/) or the 11-character shortcode |
format optional | json, text, srt or vtt. Default json. |
Example
curl "https://api.transcriptapi.org/v1/instagram/videos/transcript?post=https://www.instagram.com/p/XXXX/" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/instagram/videos/transcript?post=https://www.instagram.com/p/XXXX/",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/instagram/videos/transcript",
params={"post": "https://www.instagram.com/p/XXXX/"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Video transcript
Transcript of a video in a public X (Twitter) post.
Parameters
video required | X post URL |
lang optional | Caption language, e.g. en, es, pt-BR. Omit for the default. |
format optional | json, text, timestamped, srt or vtt. Default json. |
Example
curl "https://api.transcriptapi.org/v1/x/transcript?video=https://x.com/user/status/123" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/x/transcript?video=https://x.com/user/status/123",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/x/transcript",
params={"video": "https://x.com/user/status/123"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Video transcript
Transcript of a public LinkedIn video post.
Parameters
video required | LinkedIn post URL |
lang optional | Caption language, e.g. en, es, pt-BR. Omit for the default. |
format optional | json, text, timestamped, srt or vtt. Default json. |
Example
curl "https://api.transcriptapi.org/v1/linkedin/transcript?video=https://www.linkedin.com/posts/..." \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/linkedin/transcript?video=https://www.linkedin.com/posts/...",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/linkedin/transcript",
params={"video": "https://www.linkedin.com/posts/..."},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Video transcript
Transcript of a public Facebook video.
Parameters
video required | Facebook video URL |
lang optional | Caption language, e.g. en, es, pt-BR. Omit for the default. |
format optional | json, text, timestamped, srt or vtt. Default json. |
Example
curl "https://api.transcriptapi.org/v1/facebook/transcript?video=https://www.facebook.com/watch/?v=123" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/facebook/transcript?video=https://www.facebook.com/watch/?v=123",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/facebook/transcript",
params={"video": "https://www.facebook.com/watch/?v=123"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Video transcript
Transcript of a shared Loom video.
Parameters
video required | Loom share URL |
lang optional | Caption language, e.g. en, es, pt-BR. Omit for the default. |
format optional | json, text, timestamped, srt or vtt. Default json. |
Example
curl "https://api.transcriptapi.org/v1/loom/transcript?video=https://www.loom.com/share/ID" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/loom/transcript?video=https://www.loom.com/share/ID",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/loom/transcript",
params={"video": "https://www.loom.com/share/ID"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Video transcript
Transcript of a Rumble video.
Parameters
video required | Rumble video URL |
lang optional | Caption language, e.g. en, es, pt-BR. Omit for the default. |
format optional | json, text, timestamped, srt or vtt. Default json. |
Example
curl "https://api.transcriptapi.org/v1/rumble/transcript?video=https://rumble.com/v..." \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/rumble/transcript?video=https://rumble.com/v...",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/rumble/transcript",
params={"video": "https://rumble.com/v..."},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Video transcript
Transcript of a Bilibili video.
Parameters
video required | Bilibili video URL |
lang optional | Caption language, e.g. en, es, pt-BR. Omit for the default. |
format optional | json, text, timestamped, srt or vtt. Default json. |
Example
curl "https://api.transcriptapi.org/v1/bilibili/transcript?video=https://www.bilibili.com/video/BV..." \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/bilibili/transcript?video=https://www.bilibili.com/video/BV...",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/bilibili/transcript",
params={"video": "https://www.bilibili.com/video/BV..."},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Podcast episode transcript
Transcript of a Spotify podcast episode.
Parameters
episode required | Spotify episode URL |
lang optional | Caption language, e.g. en, es, pt-BR. Omit for the default. |
format optional | json, text, timestamped, srt or vtt. Default json. |
Example
curl "https://api.transcriptapi.org/v1/spotify/transcript?episode=https://open.spotify.com/episode/ID" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/spotify/transcript?episode=https://open.spotify.com/episode/ID",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/spotify/transcript",
params={"episode": "https://open.spotify.com/episode/ID"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())List episodes
The newest episodes of a podcast and whether each publishes a transcript. Use an episode_id with the transcript endpoint.
Parameters
feed required | Podcast RSS feed URL, Apple Podcasts URL or Apple Podcasts ID |
limit optional | Newest episodes to list (1–100). Default 20. |
Example
curl "https://api.transcriptapi.org/v1/podcast/episodes?feed=https://example.com/feed.xml" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/podcast/episodes?feed=https://example.com/feed.xml",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/podcast/episodes",
params={"feed": "https://example.com/feed.xml"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Episode transcript
The transcript a show publishes in its RSS feed (Podcasting 2.0). Audio is never transcribed; shows without a published transcript return 404 NO_TRANSCRIPT.
Parameters
feed required | Podcast RSS feed URL, Apple Podcasts URL or ID |
episode optional | Episode guid, page or audio URL, or number. Empty or latest = newest episode with a transcript. |
lang optional | Caption language, e.g. en, es, pt-BR. Omit for the default. |
format optional | json, text, timestamped, srt or vtt. Default json. |
Example
curl "https://api.transcriptapi.org/v1/podcast/transcript?feed=https://example.com/feed.xml" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/podcast/transcript?feed=https://example.com/feed.xml",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/podcast/transcript",
params={"feed": "https://example.com/feed.xml"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Latest calls of a company
The latest earnings-call transcripts of one company, newest first.
Parameters
ticker required | Stock ticker, e.g. AAPL |
limit optional | Most recent calls to return (max 20). Default 20. |
Example
curl "https://api.transcriptapi.org/v1/earnings/calls?ticker=AAPL" \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/earnings/calls?ticker=AAPL",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/earnings/calls",
params={"ticker": "AAPL"},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Call transcript
Full transcript of one earnings call as speaker turns (prepared remarks and Q&A), with company, ticker, fiscal quarter and participants. English only.
Parameters
call required | Earnings-call transcript URL (from /v1/earnings/calls) |
format optional | json, text, timestamped, srt or vtt. Default json. |
Example
curl "https://api.transcriptapi.org/v1/earnings/transcript?call=https://www.fool.com/earnings/call-transcripts/..." \ -H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.transcriptapi.org/v1/earnings/transcript?call=https://www.fool.com/earnings/call-transcripts/...",
{ headers: { "X-API-Key": process.env.TRANSCRIPTAPI_KEY } }
);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.transcriptapi.org/v1/earnings/transcript",
params={"call": "https://www.fool.com/earnings/call-transcripts/..."},
headers={"X-API-Key": os.environ["TRANSCRIPTAPI_KEY"]},
)
print(res.json())Platform limits
| Platform | Limit |
|---|---|
| Up to 300 seconds and 50 MB of media per video. | |
| Earnings calls | English only. Nothing is translated. |
| Channel / playlist pages | About 100 videos per page; use cursor for the next page. |
Check live platform availability on the status page.