YouTube Transcript API & Scraper - Subtitles avatar

YouTube Transcript API & Scraper - Subtitles

Pricing

from $0.70 / 1,000 transcripts

Go to Apify Store
YouTube Transcript API & Scraper - Subtitles

YouTube Transcript API & Scraper - Subtitles

YouTube transcript API and YouTube to text: videos, channels and playlists. Per video: YouTube subtitles and captions (uploaded or auto), timestamped lines, full text, SRT or WebVTT included, 220 languages, all caption languages, title, channel, views, length, description. No captions, no charge.

Pricing

from $0.70 / 1,000 transcripts

Rating

0.0

(0)

Developer

Kaleidoscope Labs

Kaleidoscope Labs

Maintained by Community

Actor stats

2

Bookmarked

1

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Features

Limited permissions

Share

What can YouTube Transcript Scraper do?

Use it as a YouTube transcript API for videos, channels and playlists: every caption line with its start and duration, the whole text, in the languages you choose, as JSON, CSV or Excel, and as YouTube subtitles (SRT, WebVTT).

Give it links to videos, channels or playlists, or video IDs; it reads their YouTube captions, uploaded or automatic, and you get one record per video and language, with the video's title, channel, views and length. You pay $1.00 per 1,000 transcripts on Apify's free plan, less on paid plans, and nothing for a video without captions.

Use it from your AI agent: copy the MCP setup prompt

Caption lines of a NASA video on a time axis, English and German

  • 📝 Transcripts: every caption line with its start and duration, and the whole text in one field for a summary, a search index or an AI pipeline.
  • 📺 Channels and playlists: a channel's newest videos or a playlist in its order, up to a count, and only those published since a date or a span such as 30 days.
  • 🌍 Languages: each video's spoken language by default, the languages you choose from 220, or every language a video has.
  • 🎬 Subtitle files: each transcript as SRT or WebVTT text in its record, for many videos at once.
  • ✅ Videos without captions are free: stored with the reason and the languages they have.
  • 🧾 Runs that say how they ended: RUN_SUMMARY names what could not be read; a run that gets nothing from YouTube fails instead of succeeding empty.

Run it from Apify Console, through the API, on a schedule, or from an AI agent. The prefilled input reads one NASA video and NASA's 10 newest videos (on 2026-10-28, 10 transcripts in 20 seconds), so you can see the output before a larger run.

What data do you get from a YouTube video?

FieldWhat it holds
videoId, url, title, descriptionThe video's ID, page, title and description
channelName, channelId, channelUrlThe channel that published it
durationSeconds, viewCount, isLiveIts length, its views when read, and whether it is live now
publishedAt, categoryIts publish date and category, for videos read from a channel or a playlist
language, languageName, trackKind, requestedLanguageThe transcript's language, its name, whether the captions are uploaded (the channel's) or automatic (YouTube's), and the language you asked for
segmentsThe caption lines in order, each with start and duration in seconds and its text
textThe whole transcript: the lines joined by spaces
srt, vttThe transcript as an SRT or WebVTT file, when you ask for one
availableLanguages, availableLanguageNamesEvery caption track the video has, and their names as one text
unavailableReasonYouTube's own reason, for a video it does not play
source, sourceType, positionThe input line that led to the video, its kind, and the video's place in its channel or playlist
missingWhat the record lacks, and why

How to use YouTube Transcript Scraper

  1. Create a free Apify account and open YouTube Transcript Scraper in Apify Console.
  2. In YouTube video, channel or playlist URLs, enter one per line: a video's link or ID, a channel's link (such as https://www.youtube.com/@NASA) or a playlist's link.
  3. Choose Languages or Every language a video has, and Subtitle files if you want them.
  4. For channels and playlists, set Videos per channel or playlist and, if you want, Published since.
  5. Click Start, then download the results as JSON, CSV or Excel (the Transcripts view has the whole transcript in one cell), or read them through the API.

How much does it cost to get YouTube transcripts?

YouTube Transcript Scraper is priced per event, with no usage fees on top:

EventPriceWhen
Transcript$1.00 per 1,000each record stored with its transcript: one per video and language
  • Charged: each record stored with its transcript; the video's details and its SRT or WebVTT text come with it.
  • Not charged: a video without captions or without your language, private, removed or live now (stored with the reason); what the run could not read; a run that stops on an input mistake (only the platform's start fee); a transcript a restarted run had already stored.

The platform also charges $0.00005 when a run starts.

Transcripts storedCost
1$0.001
100$0.10
1,000$1.00
10,000$10.00

Prices shown are for Apify's free plan; on paid plans they are up to 30% lower.

  • A channel's last six months: 20 videos of Ahrefs' channel gave 20 transcripts: $0.02.
  • A video in four languages with SRT files: 4 transcripts, $0.004. Every language of the same NASA video: 20 transcripts, $0.02.
  • A daily run for one channel's new videos: DW News, published since 1 day: 8 videos on 2026-10-28, $0.008; a day without new videos costs only the run's start.

Apify's free plan credit of $5 a month covers about 5,000 transcripts. Set a maximum total charge in the run options to cap a run: the Actor stops before it.

Input recipes

Each recipe is a complete input: paste it into the JSON tab of the input form, or send it through the API. The results are from runs on 2026-10-28.

A video's transcript (one NASA video: 1 transcript, in 6 seconds):

{
"urls": ["https://www.youtube.com/watch?v=Zezt6EsG9WE"]
}

A channel's last six months, for research (Ahrefs: 20 transcripts, 7 uploaded and 13 automatic, in 32 seconds):

{
"urls": ["https://www.youtube.com/@AhrefsCom"],
"maxVideos": 20,
"dateFrom": "6 months"
}

Only new videos, every day (DW News; schedule it daily. On 2026-10-28: 8 videos in 89 seconds):

{
"urls": ["https://www.youtube.com/@dwnews"],
"maxVideos": 0,
"dateFrom": "1 day"
}

Lectures for a knowledge base (MIT OpenCourseWare's 18.06 Linear Algebra playlist, its first 5, all with uploaded captions, in 9 seconds):

{
"urls": ["https://www.youtube.com/playlist?list=PLE7DDD91010BC51F8"],
"maxVideos": 5
}

Subtitles in four languages (the NASA video in Spanish, French, German and Japanese, with SRT: 4 transcripts, in 4 seconds):

{
"urls": ["https://www.youtube.com/watch?v=Zezt6EsG9WE"],
"languages": ["es", "fr", "de", "ja"],
"subtitleFormats": ["srt"]
}

21 caption tracks on one NASA video, 1 uploaded

Every language a video has (the same video: 20 transcripts, 1 uploaded and 19 automatic, with WebVTT, in 5 seconds):

{
"urls": ["https://www.youtube.com/watch?v=Zezt6EsG9WE"],
"allLanguages": true,
"subtitleFormats": ["vtt"]
}

Calls that leave maxVideos out get up to 50 videos per channel or playlist; 0 reads every video. A call that leaves urls out reads the prefilled input and is charged as any run. Published since takes a date such as 2026-10-01 or a span such as 30 days.

Output example

One video as a record, timed line by line

A transcript from the prefilled input (shortened: the description and two of its lines, two of its 21 caption tracks). The video was given by its link, so its publish date is not read, and missing says so:

{
"videoId": "Zezt6EsG9WE",
"url": "https://www.youtube.com/watch?v=Zezt6EsG9WE",
"title": "NASA Moon Base: Rovers and Lunar Terrain Vehicles (October 2026 Update)",
"channelName": "NASA",
"channelId": "UCLA_DiR1FfKNvjuUpBHmylQ",
"channelUrl": "https://www.youtube.com/channel/UCLA_DiR1FfKNvjuUpBHmylQ",
"durationSeconds": 557,
"viewCount": 935631,
"description": "There's a lot of ground to cover when you're building a Moon Base.",
"isLive": false,
"language": "en",
"languageName": "English",
"trackKind": "uploaded",
"segments": [
{
"start": 2.135,
"duration": 0.934,
"text": "Think about"
},
{
"start": 3.069,
"duration": 3.337,
"text": "hundreds of square miles where we have different assets."
}
],
"text": "Think about hundreds of square miles where we have different assets. Multiple landers in different places of the Moon...",
"availableLanguages": [
{
"code": "en",
"name": "English",
"kind": "uploaded"
},
{
"code": "de",
"name": "German (auto-generated)",
"kind": "automatic"
}
],
"availableLanguageNames": "English, German (auto-generated)",
"source": "https://www.youtube.com/watch?v=Zezt6EsG9WE",
"sourceType": "video",
"missing": [
{
"group": "publishedAt",
"reason": "notRead"
}
]
}

The run's default key-value store also holds RUN_SUMMARY: what the run stored, the records without a transcript and why, what could not be read, how the run ended (ended), whether it did all it was asked (complete), and a Ref to quote if you report a problem. RUN_PROGRESS lists by ID what the run could not read.

YouTube subtitles: SRT and WebVTT

Turn on Subtitle files to get each transcript as an SRT or WebVTT file in its record, with one cue per caption line. Each cue ends when the next begins. Save the srt or vtt field as a file for a video player or an editor; the files cost nothing extra.

Every record holds the whole transcript in text, the caption lines joined by spaces, next to the timed segments. Use segments to link an answer to its moment: add &t= and the whole seconds of start to the video's url.

Integrations and API

  • Make, Zapier, n8n: start a run with a video or a channel and get the transcripts when it finishes.
  • Google Sheets, webhooks, the Apify API and clients for JavaScript and Python.
  • AI agents: an agent can call the Actor as a tool (below).

Run a recipe and get its records in one call (with your Apify API key in the APIFY_TOKEN variable):

curl -X POST "https://api.apify.com/v2/acts/kaleidoscopelabs~youtube-transcript-scraper/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"urls": ["https://www.youtube.com/watch?v=Zezt6EsG9WE"]}'

Building on this Actor

  • Output stability: fields are added, never renamed or removed without a new major version; every change is in the changelog with its date, and a breaking one is announced here and in the changelog before the build.
  • What a run's end means: every video read has a record, with missing naming what it lacks; what could not be read is named in RUN_PROGRESS.
  • Notice: price changes follow Apify's 14-day notice; retiring the Actor is announced here first.
missingMeaning
transcript: noCaptions, languageNotAvailable, notGiven, liveno captions; not in the language asked for; not readable; a stream live now
video and transcript: unavailable, private, ageRestricted, membersOnly, upcoming, unplayableYouTube does not play the video; unavailableReason says why
publishedAt: notRead, notGivena video given by its link or ID; a listed video without a date (Published since not applied)
srt or vtt: tooLargea subtitle file left out of a record too large to store

For AI agents

AI agents can call it through the Apify MCP server (setup prompt for your agent). Connect an MCP client to https://mcp.apify.com?tools=kaleidoscopelabs/youtube-transcript-scraper with your Apify API key, then ask, for example, "Summarise the transcript of https://www.youtube.com/watch?v=Zezt6EsG9WE" or "Get the transcripts of the videos DW News published yesterday."

  • Minimal input: {"urls": ["https://www.youtube.com/watch?v=Zezt6EsG9WE"]}: one record, in the video's spoken language.
  • Each language is a record; source gives the input line, so a run with many lines splits back by line.
  • An empty dataset: an input the Actor cannot read ends the run SUCCEEDED with nothing charged; RUN_SUMMARY then has inputError (noQuery, noReadableLine or invalidSetting) and message.

Tips

  • Try it cheap: the prefilled input reads about 10 videos in half a minute; raise the count once the output looks right.
  • Uploaded captions come first: the channel's own captions are taken before YouTube's automatic ones.
  • English means any English: en takes en, en-GB or en-US; a regional form such as pt-BR takes that form first.
  • A daily schedule with Published since 1 day can return a video in two runs: keep one record per videoId.

FAQ

The Actor reads captions that YouTube shows to every visitor of a public video, at a modest pace. YouTube's terms of service govern how its site is used, and how you use the transcripts is your responsibility: check the laws and terms that apply to you and the purpose you use them for.

Does it collect personal data?

The Actor reads public videos as a signed-out visitor sees them. Transcripts, titles, descriptions and channel names can contain names or other personal data said or written in a video. If you store or process such data, you are responsible for a lawful basis under the GDPR, KVKK or the laws that apply to you; ask a lawyer when in doubt.

Why does a video have no transcript?

The video has no captions, or none in the language you asked for. missing says which, availableLanguages lists what it has, and it is not charged.

Is there an official YouTube transcript API?

YouTube's Data API gives a video's captions only to someone with permission to edit that video. This Actor reads what YouTube shows on a public video's page.

Can it read every video of a large channel?

Yes, its Videos tab: set Videos per channel or playlist to 0. If a channel's first 20 videos have no transcript in your languages, the rest is not read, and the log says so.

Limits

  • Captions only: the Actor reads captions; it does not transcribe a video's audio or translate.
  • Channels: a channel's Videos tab, not its Shorts or live streams tabs; a Short or a past stream given by its link is read.
  • A playlist with Published since and a count: a playlist is not in date order, so it can give fewer videos than the count; set the count to 0 for every video in the period.
  • Very long videos with subtitle files: a record over about 9 MB leaves out its subtitle files and says so.

Other Actors

ActorUse it with this one to
Ads Transparency Center: Google Ads ScraperFind a company's YouTube video ads, then read what they say here
Meta Ad Library & Facebook Ad Library CheckerSee whether the brands behind the videos run Facebook and Instagram ads

Support and feedback

Open an issue on the Actor's Issues tab: we answer within 24 hours. If the Actor helps you, a review and a bookmark help others find it.

YouTube Transcript Scraper is an independent tool, not affiliated with, endorsed by or sponsored by Google LLC. YouTube is a trademark of Google LLC.