25 free credits on signup · no card required

YouTube Transcript API

One video URL in. Caption text out.

Send a public YouTube video URL. The call sets the requested language to English and returns the caption text as one string, a language code, and timed segments. It costs 5 credits per video. YouTube has 26 live endpoints on an API that covers 32 platforms.

Use via MCP: the MCP server gives Claude, Cursor and any MCP client this endpoint as a tool.

Credits 5 / video
Input ?url=
Cache 100y
GET · BEARER
Example

Schema of the normalizer fields. Not a captured response.

{
  "data": {
    "text": "string",
    "language": "string|null",
    "segments": "object[]|null"
  },
  "request_id": "string"
}
Immutable cache
kept 100 years
Works with your stack
cURL Python Node.js Zapier n8n Make MCP
One key · one credit balance · plain REST

The call

Request and backoff

JavaScript and Python retry a 429 on their own. The response has no Retry-After header, so the wait doubles from 2 seconds across five attempts, the same schedule as rate limits.

ParamRequiredWhat it does
url yes Public content URL.
fresh no true bypasses the cache at the same credit price.
fields no Comma-separated field projection (dot notation).
format no Response format.

Status codes on this path: 200, 400, 401, 402, 404, 429. Failed calls are not charged.

JavaScript
const url = new URL("https://api.scrapersocial.com/v1/youtube/transcript");
  url.searchParams.set("url", "https://www.youtube.com/watch?v=dQw4w9WgXcQ");

async function withBackoff(fn) {
  for (let attempt = 0; attempt < 5; attempt++) {
    const resp = await fn();
    if (resp.status !== 429) return resp;
    const wait = 2 ** attempt * 2000 + Math.random() * 500;
    await new Promise((r) => setTimeout(r, wait));
  }
  throw new Error("rate limit retries exhausted");
}

const resp = await withBackoff(() =>
  fetch(url, {
    headers: { Authorization: "Bearer sk_live_..." },
  }),
);
if (!resp.ok) throw new Error(`API error ${resp.status}`);
const { data, request_id } = await resp.json();
console.log(request_id, data);
Python
import random
import time
import httpx

def get_with_backoff(url, params, headers):
    for attempt in range(5):
        resp = httpx.get(url, params=params, headers=headers, timeout=120)
        if resp.status_code != 429:
            return resp
        time.sleep((2 ** attempt) * 2 + random.random() * 0.5)
    raise RuntimeError("rate limit retries exhausted")

resp = get_with_backoff(
    "https://api.scrapersocial.com/v1/youtube/transcript",
    params={
    "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    },
    headers={"Authorization": "Bearer sk_live_..."},
)
resp.raise_for_status()
print(resp.json()["data"])

The payload

What comes back

{ data, meta?, request_id }
01 Joined text plus cues

One object, not a list. text is the cues joined with a single space. language is a string or null, taken from the row. segments is an array of { start, duration, text } when the row is a list of cues, and null when the row is a flat text string instead. A row with no cues and no flat text normalizes to nothing, and the API answers 404 not_found. That 404 is not charged.

02 English requested

The request asks for English. language is still null when the row does not report a language, so do not treat a null as a failed request. start and duration are seconds. There is no end field on this endpoint. A cue with no text is dropped. If every cue is dropped, the call is the same 404 as a video with no captions.

03 Immutable cache

The cache class is immutable: a stored response is kept for 100 years. This endpoint does not write to the transcript corpus, because its capability is not transcript. A cache hit still costs 5 credits. fresh=true skips the cache at the same price.

Field explorer Pick a key to see its type and the caveats.
object[]|null Nullable Per item
segments

Cues as { start, duration, text }, seconds. Null when the row is flat text rather than a cue list.

{
"text": "…",
"language": "…",
"segments": { … }
}
Good fit

Reach for this when

  • ✓Indexing a public video for search or retrieval: the joined text is the document, and the segments are the offsets you store beside it.
  • ✓Repurposing a talk or an interview into a draft. The text is the caption track, not a cleaned article, so plan an edit before you publish it.
  • ✓Compliance review of what a public video actually says, without downloading the file or signing in as the channel owner.
  • ✓Building jump links. Each segment's start and duration locate a line. Use the captions endpoint when you need an explicit end time for an SRT cue.
  • ✓Checking a known URL before you spend a search call. Search returns videos. This endpoint returns the words of one video you already have.
Different job?

There's an endpoint for that

  • →You need SRT or WebVTT cues with both a start and an end. That is /v1/youtube/captions, 3 credits per video, and it has no language field.
  • →You only want the list of tracks, not the words. That is /v1/youtube/subtitles, 1 credit per video. Track URLs are short-lived and the body contains no transcript text.
  • →You have a keyword and no video URL yet. /v1/youtube/search costs 1 credit per result and does not return caption text.
  • →You need comments, a channel's subscriber count, or a downloadable video file. Those are different YouTube endpoints. This one returns caption text only.

Pricing

Start free, pay for what comes back

One video is 5 credits — about 2.5¢ on the monthly plan. $5 covers roughly 200 videos. Failed calls are never charged.

1 video × 5 credits = 5 credits. That is 2.5¢ on Monthly and 2.3¢ on Annual. Full pricing.

Estimate your bill
$21/ month
30 videos/day × 5 credits × 365 days = 54,750 credits/yr, or $247.50/yr on the annual plan plus 43 top-up blocks Whichever plan is cheaper for that volume, divided by 12.
30
102,000
Credits / yr 54,750
Plan Annual $54/yr
Per video 2.5¢

Estimate only, on a full-year basis. 5 credits per returned video. Monthly: $5 per 1,000 credits with $5/1,000 top-ups. Annual: $54 per 12,000 credits with $4.50/1,000 top-ups. We show whichever plan is cheaper for your annual volume, divided by 12. Failed calls are never charged; cache hits cost the same as fresh calls.

Free trial
25 credits

On signup, no card, up to 5 items a call. Your key is on screen immediately.

Get your free API key
Monthly $5/mo 1,000 credits. Top-ups $5 per extra 1,000.
Annual $54/yr 12,000 credits. Top-ups $4.50 per extra 1,000.

Rate limits

Requests per minute, by plan

Limits count requests, not credits. A 429 means wait and retry. There is no Retry-After header. Rate limits.

Free trial 20/min Same key as the free credits.
Monthly 200/min $5/month.
Annual 300/min $54/year.

Entry price, side by side

Cheapest way to start

Verified November 2026 from each vendor's live pricing page
ScraperSocial
$5 / mo 1,000 credits · 25 free credits, no card
Supadata
$5 / mo 300 credits, annual commitment · 100 free/mo
SocialKit
$29 / mo 12,000 credits · 20 free credits
Dumpling AI
$40 / mo Billed annually · free tier size unpublished
ScrapeCreators
$47 pack 25,000 credits, no subscription · 100 free once

Credits are not equivalent units across vendors — each meters differently. Price your own workload on both before deciding on entry price alone. At high volume, several of these are cheaper per credit than we are.

Engineering notes

Docs you can build on

We document exactly how every endpoint behaves — nulls, caching, billing — so what you ship on day one is still running in month six. No surprises, no support tickets.

✓Failed calls never charged; empty results free up to 25 a day ✓Public data only, no login session ✓Built for parallel traffic

The call always asks for English. The language field is copied from the row that comes back, and that row often does not echo the requested language. A null language is a missing label, not evidence that the text is in another language and not evidence that the call failed.

There is no language query parameter on this path. If you need a specific track list before you pull text, call the subtitles endpoint and read the track languages there. Those track URLs expire, and they are not a substitute for the text this endpoint returns.

When the row is a list of cues, each segment has start (seconds), duration (seconds) and text. There is no end timestamp. Compute end as start plus duration if your player wants both edges.

When the row is a single text string instead of cues, segments is null and text is that string. Code for null. A cue whose text is empty is dropped before the array is built. If that leaves no cues and there is no flat string either, the normalizer returns nothing and the API responds 404.

Other platforms store a transcript and serve later calls from that corpus. This endpoint does not: its capability is not transcript, so the corpus branch never runs. The response cache class is immutable, which keeps the row for 100 years. A hit still costs 5 credits. fresh=true skips that cache and costs the same 5 credits.

A 404 is thrown before anything is written to the cache, so a miss is not stored. Retrying later runs the call again. Store the text on your side if you will reuse a successful response.

The input is a url query parameter. youtube.com and youtu.be video URLs are accepted, including watch, shorts, embed, and live paths, and they are stored under one watch URL. There is no batch body. Send independent calls concurrently and stay inside the plan's request rate.

When the normalizer returns no row, the API answers 404 not_found and does not charge the call. The free trial does not change that.

Questions

Frequently asked

No. The input is a public video URL and an API key. The call requests English and returns the caption text, a language code that may be null, and timed segments. When the normalizer returns no row, the API answers 404 not_found and does not charge. One call is 5 credits.

The plan's request rate was exceeded. The error code is rate_limited, and the response does not include a Retry-After header, so the client waits and retries on its own. The limits are 20 requests a minute on the free trial, 200 on the monthly plan, and 300 on the annual plan.

One video is 5 credits, about $0.03 on the monthly plan and $0.02 on the annual plan. Signup includes 25 free credits and no card. A cache hit costs the same 5 credits as a miss. A 404, a 401 or a 402 is not charged. The captions endpoint is 3 credits per video and the subtitles endpoint is 1 credit per video. Failed calls never move the balance.

Yes, when the row is a list of cues. Each segment has start and duration in seconds, plus the cue text. There is no end field; add duration to start if you need the other edge. When the row is flat text instead of cues, segments is null and only the joined text comes back. The captions endpoint is the one that returns start and end on every cue, and it does not include a language field. Code for a null segments array either way.

The call returns 404 not_found and is not charged. The normalizer returns no row when there are no cues and no flat text, and a missing row on this endpoint is that 404. You do not get an empty string with a 200. The 404 is not stored, so a later retry runs the call again at the same 5-credit price if a row comes back. This path reads caption cues. It does not run a separate speech-recognition step.

Transcript costs 5 credits and returns joined text, a language that may be null, and segments of start, duration and text. Captions costs 3 credits and returns cues with start and end, a cue count and the joined text, with no language field. Subtitles costs 1 credit and returns the track list only: language, name and a short-lived download link per track, plus translation languages, and no transcript text. Use transcript for the words, captions for subtitle files, and subtitles to see which tracks exist.

Next

Pairs well with

Platforms · OpenAPI · Quickstart
/v1/youtube/search
YouTube Search API Public YouTube videos for a keyword, sorted by relevance, one credit per result. 1 cr / result

Same data, other platforms

Transcript on other platforms

PlatformInputUnitCreditsTimestampsCache
YouTube url video 5 cr / video yes Immutable, 100-year TTL
Facebook url video 4 cr / video yes Immutable, 100-year TTL Instagram url reel 1 credit plus 20 per started minute no Immutable, 100-year TTL TikTok url video 2 cr / video yes Immutable, 100-year TTL X/Twitter url video 2 cr / video yes Immutable, 100-year TTL

More YouTube endpoints

/v1/youtube/search Public YouTube videos for a keyword, sorted by relevance, one credit per result. 1 credit / result

Try the YouTube Transcript endpoint free

25 trial credits on signup — no card, key on screen immediately.

1 Sign up free no card · 30 seconds
2 Copy your key sk_live_...
3 GET the endpoint /v1/youtube/transcript
Get your free API key