Products/YouTube/Transcript

YouTube Transcript icon

YouTube Transcript REST API and Apify actor

YouTube transcripts for your LLM, without IP blocks.

Send video links, get clean text with timestamps. Up to 25 videos per API call, or a whole channel on Apify.

2 USD per 1,000 transcripts. 5 USD free credits, no card. Credit packs.

GET /v1/youtube/transcript
curl -G "https://api.vakitek.co.uk/v1/youtube/transcript" \
  -H "X-API-Key: $VAKITEK_API_KEY" \
  --data-urlencode "video=L_Guz73e6fw" \
  --data-urlencode "format=json"
data[0], one row per video200 OK
{
  "videoId": "L_Guz73e6fw",
  "title": "Sam Altman: OpenAI CEO on GPT-4, ChatGPT, and the Future of AI | Lex Fridman Podcast #367",
  "channelName": "Lex Fridman",
  "language": "en",
  "isAutoGenerated": false,
  "transcript": [
    {"start": 0.0, "dur": 1.8, "text": "- We have been a misunderstood"},
    {"start": 1.8, "dur": 2.28, "text": "and badly mocked org for a long time."},
    {"start": 4.08, "dur": 4.5, "text": "Like, when we started, we, like, announced the org"},
    ...
  ],
  "wordCount": 24224,
  ...
}
Real response, Lex Fridman Podcast #367 with Sam Altman, 27 Oct 2026. Trimmed.

What you get

Text and timestamps

transcript segments {start, dur, text}, plus the joined text and a wordCount. Or set format to srt, vtt or txt.

25 videos per call

Send ids or links in videos. On Apify, give a channel @handle or a playlist and set maxVideos, up to 5,000.

No proxy to manage

Direct request first, residential IPs when YouTube blocks it, up to 3 per video. Included in the price.

Clear failure rows

No captions returns NO_CAPTIONS, a missing language LANGUAGE_NOT_AVAILABLE. isAutoGenerated says which track you got.

Not included: speech-to-text for videos without captions, translation, private, members-only or age-restricted videos. Limits and error codes.

Pay per transcript returned

2 USD/ 1,000 transcripts

Videos without captions and error rows are free. Proxy traffic included. No monthly plan.

A RAG index of 3,000 videos6 USD
3,000 transcripts x 0.002 USD

One wallet for all 10 YouTube APIs. Credits never expire. Credit packs from 10 USD. Runs on Apify are billed by Apify.

Against the most used transcript scraper on Apify

CriterionVakitekpintostudio
Price per 1,000 transcripts2 USD$10.00
Videos per call or runUp to 25 per API call, a channel per Apify runOne video per run
FormatsJSON, SRT, VTT, TXTJSON segments
Success rate, last 30 days97.3% of 72 results82.0% of runs

Source: its Apify Store page and the public Apify API, 23 Oct 2026. Our rate counts results, theirs counts runs.

Questions

youtube-transcript-api is blocked on my cloud server. Will this work?

Yes. That block is YouTube refusing cloud IPs. We switch to residential IPs when it happens, at no extra cost. You replace the library call with one HTTP request.

Can I get every transcript of a channel?

Yes. On Apify, put the @handle in urls and set maxVideos. With the API, list the videos with YouTube Channel Scraper and send the ids here, 25 per call.

I use pintostudio's scraper on Apify. What do I change?

The actor id. We accept videoUrl and targetLanguage, and segments are {start, dur, text} like theirs.

Can I use the transcripts with GPT or a RAG index?

That is the main use. The words belong to the creators and YouTube's Terms restrict automated access, so check your use, especially model training, with your own counsel.

Do I need Apify?

No. The REST API is separate: sign up with your email, copy your key, call it. Apify is the no-code option, billed by Apify on your Apify account at the same unit price plus its 0.00005 USD start event per run.

Try it on the videos you care about.

API reference: endpoints, limits and error codes

Base URL https://api.vakitek.co.uk. Send your key in the X-API-Key header. Every response is JSON with data (one row per item), meta (request id, count, latency, paging cursor) and billing (what was charged).

POST /v1/youtube/transcript

Up to 25 videos per call. One row per video, in the order you sent them.

videosVideo ids or linksrequired, 1 to 25
formatjson, srt, vtt or txtdefault json
target_languageLanguage code, e.g. froptional
prefer_manualCreator captions before auto onesdefault true
list_languagesAdd availableLanguagesdefault false

GET /v1/youtube/transcript

One video. The same options as query parameters.

videoVideo id or linkrequired

Channels and playlists are not on the API. Use the Apify actor (urls + maxVideos), or list a channel with GET /v1/youtube/channel-videos and send the ids here, 25 per call.

Limits

Rate limit
120 requests per minute per API key (default). Over that you get 429. Need more? Write to support.
Batch
Transcript and Channel email take up to 25 videos or channels per POST. More returns 422.
Page size
Search up to 100 rows, Shorts and channel videos up to 200 rows per call, then follow meta.next_cursor.
Concurrency
No per-key cap. The service runs a limited number of scrapes at the same time and queues the rest, so very parallel clients wait longer. Start with 4 calls in flight.
Latency
1 to 9 seconds per call in our checks on 23 Oct 2026 (one call per endpoint). Set your client timeout to 120 seconds.
Wallet
Checked before each call. When it is empty you get 402 and nothing runs. Runs on Apify are billed by Apify, not from this wallet.
Data
We keep request metadata (route, status, counts, timing) for billing and support. We do not keep a copy of the rows we return.

HTTP status codes

StatusBodyMeaningWhat to do
200{data, meta, billing}Done. Some rows may carry an error code (free).Retry only rows whose code says retry later.
401UNAUTHORIZEDMissing or wrong X-API-Key.Fix the key. Do not retry.
402INSUFFICIENT_CREDITSYour wallet is empty.Buy a pack, then retry.
422INVALID_INPUTA parameter is wrong, or more than 25 items in a batch.Fix the request. Do not retry.
429RATE_LIMITEDOver 120 requests per minute.Wait, then retry with backoff: 1 s, 2 s, 4 s.
502UPSTREAM_ERRORYouTube or our service failed for the whole call. Not billed.Retry once after a few seconds.
Row codeWhat happenedRetryYou pay
transcriptA transcript came back. The only billed row.n/a2 USD / 1,000
NO_CAPTIONSThe video has no captions at allno retryfree
LANGUAGE_NOT_AVAILABLENo caption track in the language you asked forno retryfree
NOT_FOUNDThe video, channel or playlist was removed or never existedno retryfree
AGE_RESTRICTEDNeeds a signed-in accountno retryfree
PRIVATEThe video is privateno retryfree
MEMBERS_ONLYMembers-only video, nobody can fetch it without a membership, not chargedno retryfree
NO_RESULTSThe channel or playlist has no videosno retryfree
INVALID_URLThe line isn't a YouTube video, channel or playlistno retryfree
INVALID_INPUTAn option value is invalidno retryfree
PARSE_ERRORYouTube changed its page and we could not read it. We get alerted and fix itno retryfree
BLOCKEDYouTube refused us for now, even after trying every proxy tierretry laterfree
UPSTREAM_ERRORSomething went wrong on YouTube's side or oursretry laterfree
UPSTREAM_UNAVAILABLEOur API was unreachableretry laterfree
TIME_BUDGET_EXCEEDEDThe time budget ran out before this video, channel or playlist finishedretry laterfree
Get a free API key Pricing