YouTube Transcript, Subtitles & Captions Scraper
Pricing
from $4.00 / 1,000 transcript delivereds
YouTube Transcript, Subtitles & Captions Scraper
YouTube transcript, subtitles and captions for videos, Shorts, channels, playlists or search. Get each video transcript in any language, with timestamps, SRT/VTT, chapters, RAG-ready chunks or translation. You pay only for transcripts delivered. Videos with no captions, and failed videos, are free.
Pricing
from $4.00 / 1,000 transcript delivereds
Rating
0.0
(0)
Developer
Verbatim Labs
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
9 days ago
Last modified
Categories
Features
Share
Get the YouTube transcript, subtitles and captions of any video as clean text or timestamps: one video transcript row per video, $4.00/1k, failed videos free. In: YouTube video/Shorts/live URLs or IDs, channels, playlists, searches, or a dataset. Out: one row per video: transcript text, optional timestamped segments, SRT/VTT, chapters, RAG chunks, translation, metadata, and a status/errorCode saying why a row is empty.
Pricing: one transcript event per delivered transcript: $4.00/1k on every plan. Plus $0.00005 per run (start fee, dry runs too). Add-on: translateTo costs $0.002 per translated video. Free: every row not status: "ok", same-language/failed translations, date/onlyNew-skipped videos, and dryRun preview rows. With allLanguages, each extra language delivered is one more transcript.
Quick start (input -> output)
- One video:
{"urls": ["https://www.youtube.com/watch?v=t4wsYSDeZC4"]}->{"videoId": "t4wsYSDeZC4", "status": "ok", "language": "en", "captionType": "auto", "text": "...", "wordCount": 912, "charged": true} - Channel, newest 50, RAG chunks:
{"urls": ["@veritasium"], "maxVideosPerSource": 50, "chunkWords": 500}-> each row"chunks": [{"index": 0, "start": 0.0, "end": 181.2, "text": "..."}] - Spanish, else English, with SRT:
{"urls": ["dQw4w9WgXcQ"], "languages": ["es", "en"], "subtitleFormat": "srt", "includeSegments": true}->{"language": "es", "isPreferredLanguage": true, "srt": "1\n00:00:00,000 --> ...", "segments": [{"start": 0.0, "end": 2.4, "text": "..."}]} - Translate to English:
{"urls": ["https://youtu.be/VIDEO_ID"], "translateTo": "en"}->{"language": "de", "text": "...", "translationStatus": "ok", "translatedLanguage": "en", "translatedText": "..."} - Cost preview ($0.00005):
{"urls": ["@mkbhd"], "maxVideosPerSource": 200, "dryRun": true}-> rows withstatus: "preview"(metadata +availableLanguages, no text);OUTPUT.estimate.estimatedUsd
Input (need urls, searchQueries, datasetId or items)
| Field | Default | Meaning |
|---|---|---|
urls | Videos, Shorts, IDs, channels (@x, /channel/UC.., /c/, /user/), playlists | |
searchQueries | YouTube searches; top maxVideosPerSource each | |
maxVideosPerSource | 25 | Cap per channel/playlist/search (1-20000) |
channelContent | videos | videos, shorts (latest 100), streams, all |
newerThan / olderThan | YYYY-MM-DD window; outside it = skipped, free | |
languages | ["en"] | Ordered preference; []/"original" = spoken language |
fallbackToOriginalLanguage | true | No match -> spoken language (isPreferredLanguage: false); off -> free NO_CAPTIONS_IN_LANGUAGE |
preferManualCaptions | true | Human before auto captions |
allLanguages / maxLanguages | false / 30 | Every other language in otherLanguages (each billed) |
translateTo | Target code (en, pt-BR...); +$0.002/video | |
includeSegments | false | segments: [{start, end, text}] |
subtitleFormat | none | srt, vtt, both |
includeDescription | true | description, keywords |
includeChapters | true | chapters: [{start, end, title, text}] |
includeMostReplayed | false | mostReplayed: YouTube's Most replayed graph with the transcript text of each peak (no extra charge) |
chunkWords | 0 | chunks of ~N words (300-800 for RAG) |
onlyNew / historyKey | false / default | Skip already-delivered videos (per history) |
maxVideos | 0 | Run cap (0 = none); date-filtered videos don't count; max charge also respected |
dryRun | false | Preview + cost estimate ($0.00005 run start only) |
datasetId / items / datasetField | Rows from a dataset or inline; URL in url/videoUrl/inputUrl/link/videoId/id or datasetField; echoed as inputItem |
Other actors' field names (videoUrls, startUrls, maxItems, publishedAfter...) also work.
Output essentials
Row keys: videoId, url, status, errorCode, retryable, charged, chargedUsd, title, channelName, publishDate, durationSec, language, captionType, isPreferredLanguage, availableLanguages, text, wordCount, optional fields above, translatedText/translationStatus.
Branch on status + errorCode, not error text. Only ok is charged.
ok;preview(dry run)- Not retryable:
no_captions(NO_CAPTIONS,NO_CAPTIONS_IN_LANGUAGE),unavailable(NOT_FOUND,PRIVATE,AGE_RESTRICTED,MEMBERS_ONLY,LOGIN_REQUIRED), source rowsCHANNEL_NOT_FOUND,PLAYLIST_NOT_FOUND - Retryable (
retryable: true):unavailable(LIVE_NOW,UPCOMING,REGION_BLOCKED),blocked(RATE_LIMITED; run rowFALLBACK_LIMIT_REACHED),error(EMPTY_CAPTIONS,UPSTREAM_ERROR,INTERNAL,MAX_CHARGE_REACHED,BILLING_UNAVAILABLE), sourceLIST_FAILED
Key-value store: OUTPUT = run summary (byStatus, byErrorCode, byLanguage, chargedUsd (per result), startFeeUsd, totalChargedUsd, notStarted, dry-run estimate (estimatedUsd incl. run start), tip + tipLevel: one sentence of advice when anything wasn't delivered).
Why this one
| Typical transcript scraper | This actor | |
|---|---|---|
| Run says "succeeded" but rows are empty | Happens, and you still pay | Every row has status + errorCode; anything not ok is free |
| Knowing what you were billed | Per-result pricing you have to decode | charged and chargedUsd on every row |
| Inputs | One video URL | Videos, Shorts, live, IDs, channels (@handle, UC…, /c/, /user/), playlists, searches, another actor's dataset |
| Languages | One code, often ignored | Ordered preference list, falling back to the spoken language, or every language in one row |
| Chapters | No | chapters with the transcript split per chapter |
| Most replayed moments | No | mostReplayed: YouTube's Most replayed graph, its peaks with the words spoken in each, and the least replayed stretches |
| LLM / RAG | One big string | text, timestamped segments, or chunks of N words with timestamps |
| Try before you pay | No | dryRun: preview of metadata, caption languages and a cost estimate for just the $0.00005 run start |
| Monitoring a channel | Re-fetches and re-bills everything | onlyNew skips videos you already got; newerThan / olderThan date window |
| Switching from another actor | Rewrite your input | Your old input field names work as they are (see below) |
Input in detail
| Input | Example |
|---|---|
| Video, Shorts or live URL, or a bare ID | https://youtu.be/dQw4w9WgXcQ, youtube.com/shorts/…, dQw4w9WgXcQ |
| Channel (newest first) | @mkbhd, youtube.com/@mkbhd/shorts, /channel/UC…, /c/…, /user/… |
| Playlist | youtube.com/playlist?list=PL… |
| Search | searchQueries: ["how do index funds work"] |
| Another actor's dataset | datasetId, or rows inline in items (Make, n8n, agents). Every row comes back as inputItem so you can join on your own IDs |
maxVideosPerSourcecaps each channel, playlist or search, andmaxVideoscaps the whole run.channelContentpicks Videos, Shorts, past live streams or everything. A tab in the URL (/shorts,/streams) overrides it.- A video that appears in several sources is fetched and charged once.
newerThandrops older videos before their captions are fetched, so they cost nothing and are not output.olderThandoes the same for newer videos.
{"urls": ["@veritasium", "https://www.youtube.com/watch?v=t4wsYSDeZC4"],"maxVideosPerSource": 50,"languages": ["en"],"includeSegments": true,"chunkWords": 500}
Coming from another YouTube transcript actor?
Paste your existing input. These field names are accepted as they are. If both your old name and ours are set, ours wins.
| Your field | Means here |
|---|---|
videoUrls, videoUrl, startUrls, youtube_url, video_ids, channelUrls, channel_url, channel, playlistUrls | urls |
searchKeywords | searchQueries |
language, lang, targetLanguage | languages |
maxItems, max_videos, maxResults | maxVideos |
maxVideosPerChannel, maxVideosPerPlaylist | maxVideosPerSource |
publishedAfter, startDate, start_date / publishedBefore, endDate, end_date | newerThan / olderThan |
skipAlreadyScraped | onlyNew |
list_only | dryRun |
includeSrt, includeVtt | subtitleFormat |
timestamps, includeTimestampedText | includeSegments |
preferAutoGenerated, fallbackToAnyLanguage, chunkSize | preferManualCaptions (inverted), fallbackToOriginalLanguage, chunkWords |
Languages
languages is an ordered preference list, for example ["es", "en"]. For each video you get the first of those languages that exists, with human captions chosen before auto-generated ones (change this with preferManualCaptions). en also matches en-US/en-GB.
If none of your languages exist, you get the video's original spoken language with isPreferredLanguage: false. Turn off fallbackToOriginalLanguage to get a free no_captions row instead. Pass [] or "original" to always take the spoken language.
availableLanguages lists every caption track on the video.
allLanguages: true also returns every other caption language in otherLanguages, one entry per language with its own text (up to maxLanguages, max 30). Each extra language delivered counts as one more transcript, and a language that fails is free.
translateTo: "en" (or es, de, pt-BR, ja...) translates every transcript into one language. The original stays in text; the translation goes in translatedText, plus translatedSegments / translatedSrt / translatedVtt with the original timings if you asked for segments or subtitles. translationStatus says what happened (ok, same_language, skipped, failed). It costs $0.002 per translated transcript. Videos already in that language come back with translationStatus: "same_language" and are not charged, and a failed or skipped translation is free. With allLanguages, only the main transcript is translated.
Full output example (one row per video)
{"videoId": "t4wsYSDeZC4", "url": "https://www.youtube.com/watch?v=t4wsYSDeZC4","inputUrl": "https://youtu.be/t4wsYSDeZC4", "source": "video","status": "ok", "errorCode": null, "retryable": false, "charged": true, "chargedUsd": 0.004,"title": "Learn how the Federal Reserve works", "channelName": "…", "channelId": "UC…","channelUrl": "https://www.youtube.com/channel/UC…","publishDate": "2019-03-15T11:53:16-07:00", "durationSec": 300, "viewCount": 123456, "category": "News & Politics","language": "en", "languageName": "English (auto-generated)", "captionType": "auto", "isPreferredLanguage": true,"availableLanguages": [{"language": "en", "name": "English (auto-generated)", "autoGenerated": true}],"text": "…", "wordCount": 912,"chapters": [{"start": 0, "end": 95, "title": "Intro", "text": "…"}],"segments": [{"start": 0.0, "end": 2.4, "text": "…"}],"chunks": [{"index": 0, "start": 0.0, "end": 181.2, "text": "…"}],"mostReplayed": {"segments": [{"start": 0.0, "end": 3.0, "score": 0.42}],"peaks": [{"start": 162.0, "end": 174.0, "score": 1.0, "text": "…", "chapter": "How rates move","youtubeLabel": "Most replayed"}],"lowPoints": [{"start": 96.0, "end": 108.0, "score": 0.08, "text": "…", "chapter": "Intro"}],"youtubeMarker": {"start": 162.0, "end": 174.0, "time": 168.0}},"mostReplayedStatus": "ok","srt": "1\n00:00:00,000 --> …","translatedLanguage": "es", "translatedLanguageName": "Spanish", "translationStatus": "ok", "translatedText": "…","chargedTranslation": true}
Optional fields:
chapters(on by default) appears when the video defines chapters in its description.segments(includeSegments),chunks(chunkWords),srt/vtt(subtitleFormat)description/keywords(includeDescription)otherLanguages(allLanguages), withchargedTranscriptswhen extra languages were billed, andotherLanguagesStatus: "skipped_on_fallback_exit"when they were skipped (see FAQ)translated*,translationStatus,translationError,chargedTranslation(translateTo)inputItem(datasetId/items)mostReplayed+mostReplayedStatus(includeMostReplayed, off by default, no extra charge): see below
Status and error codes
| status | errorCode | retryable |
|---|---|---|
no_captions | NO_CAPTIONS (none at all), NO_CAPTIONS_IN_LANGUAGE (fallback off) | no |
unavailable | NOT_FOUND, PRIVATE, AGE_RESTRICTED, MEMBERS_ONLY, LOGIN_REQUIRED | no |
unavailable | LIVE_NOW (captions appear after the stream ends), UPCOMING, REGION_BLOCKED | yes |
blocked | RATE_LIMITED | yes |
blocked (run row, source: "run") | FALLBACK_LIMIT_REACHED: N videos not started because the run hit its share (or the shared daily budget) of the free fallback exit (one row, not one per video; not counted against maxVideos). | yes |
error | EMPTY_CAPTIONS, UPSTREAM_ERROR, INTERNAL | yes |
error | MAX_CHARGE_REACHED (held back by your run's max charge limit; free, content withheld) | yes |
error | BILLING_UNAVAILABLE (the platform couldn't bill this run right now; free, content withheld, rerun later) | yes |
preview | (dryRun only) metadata and languages, no text | free |
| (source row) | CHANNEL_NOT_FOUND, PLAYLIST_NOT_FOUND, LIST_FAILED | LIST_FAILED only |
| (run fails) | DRY_RUN_LIMIT in OUTPUT: the 11th dry run of the day | tomorrow |
The run's OUTPUT record summarizes counts by status, error code and language, video counts per source, the total charged and a one-line tip (with tipLevel when something wasn't delivered) for AI agents.
Most replayed moments (includeMostReplayed)
Turn on includeMostReplayed to get YouTube's own "Most replayed" graph (the bumpy line above the player's progress bar), lined up with the transcript:
segments: the whole graph, about 100 slices of{start, end, score}.scoreis YouTube's replay intensity relative to this video (1 = its most replayed moment).peaks: the 3 to 5 most replayed moments, highest first. Each one carries thetextspoken in that window, thechapterit falls in (when the video has chapters), andyoutubeLabel: "Most replayed"on the peak YouTube itself labels.lowPoints: the least replayed stretches (the very first and last slices are left out). YouTube doesn't publish skip data, so read these as "low replay", not "skipped".- Times are in seconds, on the same clock as
segments,chunksandchapters, so you can jump straight from a peak to its words.
It's free: the row costs the same with it on or off. It adds one request per delivered video, so the run takes a little longer, and nothing changes when it's off. mostReplayedStatus is "ok" when the graph is attached. Otherwise mostReplayed is null and the status says why:
"not_available": YouTube shows no graph for this video (new or low-view videos, most Shorts and live replays)."temporarily_unavailable": the graph couldn't be read this time. Rerun later."skipped_on_fallback_exit": the run was on the free fallback exit (see FAQ), so only the transcript was fetched. Rerun later to get the graph.
None of these ever fails or changes the transcript row or its charge. Peak text is in the transcript's own language, even with translateTo.
Preview (dryRun)
dryRun: true lists every video with title, date, duration, views and caption languages, and puts a cost estimate in OUTPUT.estimate. No transcript is fetched and no transcript event is charged: a dry run bills only the $0.00005 run start (OUTPUT.startFeeUsd). OUTPUT.estimate.estimatedUsd is what the full run costs, its own $0.00005 run start included (1 video: $0.00405). It covers up to 500 videos per run, and each user gets 10 dry runs per day (resets at 00:00 UTC; the 11th fails with DRY_RUN_LIMIT). Use it to size a channel before committing.
Free metadata is deliberate: preview rows, and rows without a transcript (no_captions, unavailable, blocked, error), carry the video's public metadata when YouTube returned it (title, channel, publish date, duration, views, category, description, keywords, chapters, caption languages), so you can see what you'd be paying for. They never carry transcript text, segments, subtitles, chunks or translations. Rows withheld by your max charge keep only the title, channel, publish date and duration.
Monitoring a channel
Set onlyNew: true (with a historyKey per project) and schedule the run. Videos you already received are skipped and never charged twice. Free failures that can be retried are tried again next time. Add newerThan so older uploads are dropped before anything is fetched.
Integrations
API (any language) returns the dataset items in one call:
curl -X POST "https://api.apify.com/v2/acts/verbatim-labs~youtube-transcript/run-sync-get-dataset-items?token=$APIFY_TOKEN&fields=url,status,language,text" \-H 'Content-Type: application/json' -d '{"urls": ["https://youtu.be/t4wsYSDeZC4"]}'
Python
from apify_client import ApifyClientrun = ApifyClient(TOKEN).actor("verbatim-labs/youtube-transcript").call(run_input={"urls": ["@veritasium"], "maxVideosPerSource": 20})for row in ApifyClient(TOKEN).dataset(run["defaultDatasetId"]).iterate_items():if row["status"] == "ok":print(row["title"], row["wordCount"])
LangChain
from langchain_apify import ApifyDatasetLoader # or langchain_community.utilities.ApifyWrapperfrom langchain_core.documents import Documentloader = ApifyDatasetLoader(dataset_id=run["defaultDatasetId"],dataset_mapping_function=lambda r: Document(page_content=r["text"], metadata={"source": r["url"], "title": r["title"]}))
To embed per chunk instead of per video, set chunkWords: 500 and map each chunks[] entry to its own Document.
n8n / Make / Zapier: use the Apify node or app with action "Run actor and get dataset items". Rows from a previous step can go into items, and their extra fields come back in inputItem.
AI agents (MCP): add https://mcp.apify.com/?actors=verbatim-labs/youtube-transcript to Claude, Cursor or any MCP client. Rows are compact by default (no segments), and OUTPUT.tip explains every failure in one sentence.
Cost and limits
- $4.00 per 1,000 delivered transcripts ($0.004 each) at any length, the same on every plan.
- Translation (
translateTo): $0.002 per translated transcript. Same-language and failed translations are free. - Run start: $0.00005 per run (every run, dry runs too), billed once when the run starts (memory is fixed at 256 MB, so it is one charge).
OUTPUT.startFeeUsdshows it andOUTPUT.totalChargedUsdis the run's full bill. - These are the only charges. A
dryRunbills just the run start; its estimate includes translation and the full run's run start. - Your run's max charge limit is respected, and
maxVideosis a hard cap as well (date-filtered videos don't count toward it). - Runs in 256 MB (fixed).
- If our transcript service is briefly unavailable, the run stops within about a minute and every video comes back as a free
UPSTREAM_ERRORrow (retryable): rerun in a few minutes. Nothing but the run start is charged. - Channel Shorts listing returns the latest 100, a YouTube limit for logged-out access. Use
channelContent: "all"for more. - Captions only: a video with no caption track at all (manual or auto) returns
NO_CAPTIONSfor free. There is no speech-to-text yet. - Chapters come from the video description. YouTube's auto-generated chapters aren't included.
Ready-made examples
Each link opens a pre-filled task with a sample run you can copy and edit:
- Get a YouTube channel's transcripts for RAG: Download every recent video transcript from a YouTube channel, chunked with timestamps for RAG, embeddings and LLM pipelines.
- Transcribe YouTube podcast episodes: Full-text transcripts of YouTube podcast episodes with chapter splits. Paste any podcast channel or playlist; no captions = free.
- Search YouTube and get the transcripts: Search YouTube by keyword and get full transcripts, titles and channels for the top videos. Topic research and LLM datasets.
- Download YouTube subtitles as SRT: Get SRT subtitle files and timestamped captions for any YouTube video, in your preferred language. Paste URLs or video IDs.
- Get transcripts of a channel's YouTube Shorts: Get the transcript of every recent YouTube Short from a channel. Study hooks and scripts for short-form content research.
More from Verbatim Labs
- TikTok Transcript Scraper: Captions & Subtitles: TikTok video to text, with speech-to-text for videos without captions; single videos or whole profiles
- Instagram Reels Transcript: Instagram Video to Text: Instagram reel video to text, with hooks, subtitles and viral scores; by URL, profile, sound or topic
- Similarweb Traffic Scraper - Website Traffic Checker: monthly visits, global rank, traffic sources and top countries for any website, in bulk
FAQ
Does "$0.004 per transcript" mean per video? Yes: one video, one transcript, any length. With allLanguages, each extra language delivered is one more.
Am I charged for videos without captions? No. Only rows with status: "ok" are charged, and charged on each row shows it.
What if YouTube blocks the run? The actor switches to another network exit automatically. Videos it still can't get come back as RATE_LIMITED (free, retryable: true); rerun just those. The last exit is a free fallback with a per-run share (about 200 videos / 400 caption requests / 20 listing pages) and a daily budget shared by all users; listing past it goes direct. On it, allLanguages returns the main transcript only (extra languages skipped, not charged, otherLanguagesStatus: "skipped_on_fallback_exit"). When the share is used up, the run stops starting videos and adds one free FALLBACK_LIMIT_REACHED row with the count (OUTPUT.notStarted, stoppedBy: "fallbackCap"); a listing that hits it is retried direct, and only what still can't be listed gets a free LIST_FAILED row. Rerun later for the rest.
Am I charged for videos outside my date window? No. With newerThan, older videos are filtered out before their captions are fetched; they are neither output nor charged.