YouTube Transcript Scraper · Subtitles, Captions & Whisper AI avatar

YouTube Transcript Scraper · Subtitles, Captions & Whisper AI

Pricing

from $1.80 / 1,000 transcripts

Go to Apify Store
YouTube Transcript Scraper · Subtitles, Captions & Whisper AI

YouTube Transcript Scraper · Subtitles, Captions & Whisper AI

YouTube transcripts, subtitles and captions from videos, Shorts, live replays, channels and playlists, as plain text, timestamped JSON, SRT and VTT in any language. AI speech-to-text covers videos with no captions. Callable from AI agents over MCP. Failed videos are never charged.

Pricing

from $1.80 / 1,000 transcripts

Rating

5.0

(3)

Developer

Muhamed Didovic

Muhamed Didovic

Maintained by Community

Actor stats

0

Bookmarked

54

Total users

5

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

Paste a YouTube link and get its transcript back in seconds: plain text for your LLM, timestamped segments for search and chapters, and ready-to-save SRT and VTT subtitle files, with the video's title, channel and views on the same row. Works on single videos, Shorts, live stream replays, whole channels and playlists, in any caption language. Videos that have no captions at all can still be transcribed by AI speech-to-text.

No YouTube API key, no login. Export as JSON, CSV, Excel, or call it from your code, n8n, Make, Zapier or an AI agent over MCP.

Why Use This Scraper?

  • Text even when a video has no captions. Switch on AI transcription and caption-less videos come back transcribed by Whisper speech-to-text instead of empty. It is billed only when it produces text.
  • Every format on one row. transcript_only_text for prompts and RAG, timestamped transcript segments, and complete transcript_srt / transcript_vtt files. No conversion step.
  • Any language. Ask for en, de, es, ja… and when the video has no track in that language, YouTube's translation into it is returned. Every row says the language it came back in, whether the captions were written by a person or auto-generated, and whether they were translated.
  • Whole channels and playlists. Paste a channel or playlist link and every video is transcribed, newest first, up to your cap.
  • Scheduled runs bill only new uploads. Give the run a watchlist name and switch on Only new videos: a daily run transcribes what the channel posted since yesterday and nothing else.
  • You pay for transcripts, not attempts. A video that cannot be transcribed writes no row and costs nothing. The run's ERRORS record names it with the reason and what to change.
  • Video metadata included. Title, channel and @handle, publish date, views, duration, keywords, description and thumbnails ride along on every transcript at no extra cost.
  • Live replays and Shorts. youtube.com/live/… and /shorts/… links work as pasted.

Overview

This actor is for anyone who needs what was said in YouTube videos as text: AI and LLM builders, content and SEO teams, researchers, subtitle and localisation teams, and media monitoring.

The dataset holds one row per video. Each row has the transcript three ways (plain text, timestamped segments, SRT and VTT), the track details (language, auto-generated or not, translated or not, every caption track the video offers), the video's metadata, and the first 3 seconds of speech. Videos that could not be transcribed are not rows; they are listed in the run's ERRORS key-value record with a reason.

Supported Inputs

URL types

InputExampleWhat you get
Videohttps://www.youtube.com/watch?v=dQw4w9WgXcQOne transcript row
Short linkhttps://youtu.be/dQw4w9WgXcQOne transcript row
Shortshttps://www.youtube.com/shorts/{id}One transcript row
Live stream replayhttps://www.youtube.com/live/{id}One transcript row once YouTube has published the captions
Bare video iddQw4w9WgXcQOne transcript row
Channelhttps://www.youtube.com/@handle (also /channel/…, /c/…, /user/…, the /videos or /streams tab)One row per video, newest first, up to Maximum results
Playlisthttps://www.youtube.com/playlist?list=PL…One row per playable video, in playlist order, up to Maximum results
Chained rundatasetId of a finished YouTube scraper runEvery video and channel link found in its rows
Pasted rowsdatasetItems: [{ "url": "https://youtu.be/…" }]Every video and channel link found in the rows

Copy-pasteable start URLs

{
"startUrls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"https://youtu.be/jNQXAC9IVRw",
"https://www.youtube.com/@mkbhd"
],
"maxItems": 20
}

Unsupported inputs

  • Private, members-only and age-restricted videos.
  • A stream that is still live, or ended so recently that YouTube has not published captions yet. It is reported as live_not_ready and not charged; captions usually appear a few hours after the stream ends.
  • Keyword search. Run a YouTube search scraper first and pass its dataset ID in datasetId.
  • A watch link carrying &list= is read as one video. Use the playlist?list= link for the whole playlist.

Use Cases

WhoWhat they do with it
AI and LLM buildersFeed plain-text transcripts to RAG pipelines, summarisers and agents; cite with timestamps
Content and SEO teamsTurn videos into articles, show notes and quotes; study what competitor channels talk about
Researchers and analystsBuild searchable text corpora from talks, interviews, lectures and news
Subtitle and localisation teamsDownload SRT and VTT files, including YouTube's translated tracks
Creators and agenciesCompare video openers with hook3s, archive a channel's back catalogue as text
Media monitoringTrack what is said about brands, products and people across channels on a schedule

How It Works

How the YouTube Transcript Scraper works

  1. You paste video, Shorts, live, channel or playlist links (or chain a dataset from another run).
  2. Channels and playlists are expanded into their videos, up to your Maximum results.
  3. For each video the caption track in your language is found, or YouTube's translation into it.
  4. When a video has no captions and AI transcription is on, its audio is transcribed with Whisper speech-to-text.
  5. One row per video lands in the dataset: transcript as text, segments, SRT and VTT, plus metadata. Anything not delivered is listed in ERRORS, unbilled.

Input Configuration

Input fields

FieldTypeDefaultWhat it does
startUrlsarray—Video, Shorts, live, channel or playlist URLs, or bare video ids. One row per video
languagestringdefaultCaption language code (en, de, es…). default = the video's original track. Translated when the exact track is missing
whisperFallbackbooleanfalseAI speech-to-text for videos with no captions, up to 30 minutes long. Premium event, charged only when it produces text
maxItemsinteger100Most transcript rows the run writes, across all URLs. Your spend cap
datasetIdstring—Dataset of a finished YouTube scraper run; every video and channel link in its rows is transcribed
datasetItemsarray—Rows pasted from a scraper instead of a dataset ID
watchlistIdstring—Name of a memory of transcribed videos, for scheduled runs
newItemsOnlybooleanfalseSkip videos already stored under watchlistId. Needs watchlistId
maxConcurrencyinteger10Most videos fetched at the same time
minConcurrencyinteger1Fewest videos fetched at the same time
maxRequestRetriesinteger3Retries per video after a temporary error before it is skipped (and not billed)
proxyobjectautomaticNothing to configure. Switch off Apify Proxy and add your own proxy URLs to use them

Also accepted in JSON input, not shown in the form: videoUrl (one URL as a string), urls (a list of { "url": … } objects) and targetLanguage (same as language). An input written for another transcript actor in those shapes runs unchanged.

Common scenarios

One video, in Spanish:

{ "startUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"], "language": "es" }

A channel's last 50 videos, with AI transcription for any that have no captions:

{ "startUrls": ["https://www.youtube.com/@mkbhd"], "maxItems": 50, "whisperFallback": true }

A daily schedule that transcribes only new uploads:

{ "startUrls": ["https://www.youtube.com/@mkbhd/videos"], "maxItems": 30, "watchlistId": "mkbhd-daily", "newItemsOnly": true }

Call it from code, n8n or an AI agent

Every Apify actor is an API. From Python, with the apify-client package:

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("memo23/youtube-transcript-scraper").call(
run_input={"startUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]}
)
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
print(row["title"], row["transcript_only_text"][:200])

One HTTP call that waits for the run and returns the rows:

curl -X POST "https://api.apify.com/v2/acts/memo23~youtube-transcript-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"startUrls": ["https://youtu.be/dQw4w9WgXcQ"]}'
  • AI agents (Claude, Cursor, VS Code, ChatGPT): add the Apify MCP server at https://mcp.apify.com/?tools=memo23/youtube-transcript-scraper with your Apify token, and the agent gets a tool that takes YouTube links and returns transcripts.
  • n8n, Make, Zapier: use the Apify node or app, pick this actor, and map transcript_only_text into your next step.

Output Overview

One row per transcribed video. The transcript appears as transcript_only_text (one plain string), transcript (timestamped segments), data (the same segments as start / dur / text in seconds) and transcript_srt / transcript_vtt (whole subtitle files as strings). Next to it: which language and track it came from, every caption track the video offers, the video's metadata, and its spoken opening.

Every video the run set out to transcribe ends either as a row or as an entry in the run's ERRORS record (default key-value store), never neither. The record is written on every run, with an empty items list when everything was delivered, so an integration can read it without checking first. Each entry has a reason, a plain-language detail and a retryable flag:

reasonWhat happenedRe-run as-is?
no_captionsNo caption track, and AI transcription is offSwitch on whisperFallback
no_speechNo captions, and the audio is only music, silence or noiseNo
too_longNo captions, and the video is over the 30-minute AI transcription limitNo
live_not_readyStill live, not started, or ended before YouTube published captionsLater
unavailablePrivate, removed, members-only or age-restrictedNo
login_requiredYouTube asked for a sign-in on this videoYes
rate_limitedYouTube refused the request for a whileYes, in a few minutes
fetch_failedAnother temporary errorYes

The run's status line adds it up, for example "Delivered 48 of 50 videos. 2 not delivered and not charged: 2 no captions and no Whisper fallback — see the ERRORS record."

Output Samples

A video URL start, trimmed (real row from a run):

{
"videoId": "dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"author": "Rick Astley",
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
"lengthSeconds": "213",
"viewCount": "1699540216",
"transcript": [
{ "text": "[♪♪♪]", "startMs": "1360", "endMs": "3040", "startTimeText": "0:01" },
{ "text": "♪ We're no strangers to love ♪", "startMs": "18800", "endMs": "22140", "startTimeText": "0:18" }
],
"transcript_only_text": "[♪♪♪] ♪ We're no strangers to love ♪ ♪ You know the rules and so do I ♪ …",
"transcript_srt": "1\n00:00:01,360 --> 00:00:03,040\n[♪♪♪]\n…",
"transcript_vtt": "WEBVTT\n\n00:00:01.360 --> 00:00:03.040\n[♪♪♪]\n…",
"data": [{ "start": "1.36", "dur": "1.68", "text": "[♪♪♪]" }, { "start": "18.64", "dur": "3.24", "text": "♪ We're no strangers to love ♪" }],
"transcriptSource": "timedtext",
"transcriptLanguage": "en",
"isAutoGenerated": false,
"isTranslated": false,
"keywords": ["rick astley", "Never Gonna Give You Up", "nggyu"],
"thumbnail": { "thumbnails": [{ "url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/…", "width": 168, "height": 94 }] }
}

Key Output Fields

Transcript

FieldMeaning
transcript_only_textThe whole transcript as one plain string
transcript[]Timestamped segments: text, startMs, endMs, startTimeText
data[]The same segments as start, dur, text, in seconds (strings)
transcript_srt / transcript_vttComplete subtitle files as strings, ready to save

Track details

FieldMeaning
transcriptLanguageLanguage code of the text you got; null when the source did not say
isAutoGeneratedtrue for YouTube's automatic captions, false for a person's, null when it cannot be told
isTranslatedtrue when the text was translated into the language you asked for
transcriptSourceWhere the text came from: a caption track, or whisper when the audio was transcribed by AI
availableCaptionTracks[]Every caption track on the video: languageCode, name, kind (manual or auto-generated), isTranslatable

Video

FieldMeaning
videoId, title, author, channelId, channelHandleVideo and channel identity
publishDate / uploadDateWhen the video was published
viewCount, lengthSeconds, keywords, shortDescription, thumbnailVideo metadata, included free
liveBroadcastDetailsStart and end time when the video was a live stream

Opening

FieldMeaning
hook3sThe first 3 seconds of speech; a music-only opening reads as the caption marker, for example [♪♪♪]
hookStartSecondsWhen the speaking starts

FAQ

What happens with videos that have no captions?

With AI transcription off they write no row and cost nothing; the ERRORS record lists them as no_captions. With whisperFallback: true the audio is transcribed by Whisper speech-to-text, charged as a premium event only when it returns text. A result made only of filler that speech-to-text produces over music or silence ("Thank you.", "♪") counts as no transcript: the video is listed as no_speech and nothing is charged. Videos up to 30 minutes long.

Which languages are supported?

Any language YouTube has a caption track for, plus YouTube's translations. Set language to a code like de or pt; the row's transcriptLanguage, isAutoGenerated and isTranslated say exactly what you got. availableCaptionTracks lists every track if you want to choose yourself.

Can I transcribe a whole channel or playlist?

Yes. A channel link is walked newest first and a playlist link in playlist order, both up to maxItems. On a schedule, add watchlistId with newItemsOnly: true so only new uploads are transcribed and billed.

Can my AI agent call it?

Yes. Connect the Apify MCP server (https://mcp.apify.com/?tools=memo23/youtube-transcript-scraper) to Claude, Cursor, VS Code or ChatGPT and ask for the transcript of a link. The agent reads transcript_only_text; a video it could not get is in ERRORS with a reason.

How much does a run cost?

From $1.80 to $2.50 per 1,000 delivered transcripts, depending on your Apify plan ($2.50 Free, $2.25 Bronze, $2.00 Silver, $1.80 Gold and above), plus a start fee of $0.00005 per GB of memory. AI transcription adds $0.20 per caption-less video it transcribes. Set maxItems to cap a run.

Do failed videos cost anything?

No. A video without a transcript writes no row, so nothing is billed for it. AI transcription is charged only when it returns text.

My integration starts runs with a short timeout. What happens to a long run?

About 45 seconds before the run's timeout the actor stops taking new videos, finishes the ones in progress and ends normally. Delivered rows stay in the dataset, the status line says the run stopped early, and unfinished videos are not charged.

Do I need to set up proxies?

No. The default works at any volume. To use your own proxies, switch off "Use Apify Proxy" in the proxy input and add your proxy URLs.

Support

Found a bug or missing a field? Open an issue on the actor's Issues tab in Apify Console. Issues are answered within 1–2 business days.

Additional Services

Need scheduled transcript archives, one feed that merges YouTube, TikTok, Instagram and Loom transcripts, or delivery straight into your database? Custom builds and SLAs are available; get in touch through the actor page.

Explore More Scrapers

🤖 For AI Agents & LLM Apps

Quick reference for agents calling this actor through the Apify MCP server or the Apify API (actor: memo23/youtube-transcript-scraper).

Purpose: YouTube transcripts from video, Shorts, live replay, channel or playlist links, with optional AI speech-to-text for videos that have no captions.

Minimal input:

{ "startUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"], "maxItems": 10 }

Output: one dataset row per video: videoId, title, author, channelHandle, publishDate, lengthSeconds, viewCount, transcript_only_text, transcript [{text, startMs, endMs, startTimeText}], data [{start, dur, text}], transcript_srt, transcript_vtt, transcriptLanguage, isAutoGenerated, isTranslated, transcriptSource, availableCaptionTracks, hook3s.

Behaviors an agent should know:

  • Always set maxItems when passing a channel or playlist; it defaults to 100 rows.
  • Read transcript_only_text for the text. Videos not delivered are in the run's ERRORS key-value record with reason and retryable.
  • language takes a code (en, de…); default returns the original track.
  • whisperFallback: true transcribes caption-less videos up to 30 minutes, at $0.20 each, charged only on success.
  • Billing: $0.0018 to $0.0025 per delivered row depending on the Apify plan; failed and skipped videos are free.
  • Private, members-only and age-restricted videos are not supported.

⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Google LLC, YouTube or any of their subsidiaries. All trademarks mentioned are the property of their respective owners.

The scraper reads only publicly available video pages and captions: no login, and no private, members-only or age-restricted content. Users are responsible for making sure their use complies with YouTube's Terms of Service, copyright law as it applies to transcript content, applicable data-protection law (GDPR, CCPA, etc.), and any contractual obligations of their own organisation.


SEO Keywords

youtube transcript scraper, youtube transcript api, youtube transcript downloader, youtube subtitles downloader, youtube captions scraper, extract youtube transcript, youtube video to text, youtube srt download, youtube vtt subtitles, youtube shorts transcript, youtube channel transcripts, youtube playlist transcript, transcribe youtube without captions, whisper youtube transcription, youtube transcript for llm, youtube rag pipeline, youtube transcript mcp, bulk youtube transcripts, video to text api, Apify youtube transcript