YouTube Transcript & Subtitles: Video, Channel, Playlist avatar

YouTube Transcript & Subtitles: Video, Channel, Playlist

Pricing

from $1.50 / 1,000 transcripts

Go to Apify Store
YouTube Transcript & Subtitles: Video, Channel, Playlist

YouTube Transcript & Subtitles: Video, Channel, Playlist

Download YouTube transcripts in bulk: any video or Shorts, a playlist, a whole channel or search results. Video to text with timestamps, subtitles as SRT or VTT, original language or translated. Videos without captions are free.

Pricing

from $1.50 / 1,000 transcripts

Rating

0.0

(0)

Developer

Data Robots

Data Robots

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

Get the transcript of any public YouTube video, or of a whole channel, playlist or search, in one run. Each video becomes one row with the full text, timed segments and, if you want, ready SRT or WebVTT subtitles, in the original language or another language the video has.

  • Any input: video, Shorts and live URLs, video IDs, playlists, channels (@handle, /channel/UC…, /c/…), YouTube search URLs or plain keywords.
  • Any format: plain text, timed segments, text with [1:15] timestamps, SRT, WebVTT.
  • Languages: the original language by default, or the languages you choose, including the AI translations YouTube has made for many videos.
  • Pay only for transcripts. Videos without captions, private or deleted videos and other problems are listed as free rows that say why.

What you get for every video

FieldWhat it is
textThe whole transcript as plain text
wordCountNumber of words
segmentsEvery caption line with start and duration in seconds (on by default)
timestampedTextOne line per caption, like [1:15] text (optional)
srt, vttReady subtitle files as text (optional)
language, languageNameLanguage of the returned text
isAutoGeneratedtrue for YouTube's automatic captions, false for subtitles made by people
isTranslated, translatedFromtrue when the text is a machine translation, and from which language
originalLanguageThe language spoken in the video, when YouTube says it
availableLanguagesAll caption languages of the video, e.g. en, en (auto), uk (auto-translated)
title, channelName, channelId, channelUrlVideo and channel
durationSeconds, viewCount, keywords, thumbnailUrlVideo details
descriptionVideo description (optional)
source, sourceTypeThe input line the video came from

Input example

{
"urls": [
"https://www.youtube.com/watch?v=arj7oStGLkU",
"https://www.youtube.com/@TED",
"https://www.youtube.com/playlist?list=PLBCF2DAC6FFB574DE"
],
"searchQueries": ["how to bake bread"],
"maxVideosPerSource": 10,
"language": "en"
}
  • Max videos per channel, playlist or search limits each of those sources. Channels are read newest first. Video URLs are always processed.
  • Channel content chooses the Videos tab (default), Shorts, past live streams or all uploads. A channel URL ending in /shorts or /streams overrides it.

Output example

{
"recordType": "transcript",
"videoId": "jNQXAC9IVRw",
"url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
"title": "Me at the zoo",
"channelName": "jawed",
"channelId": "UC4QobU6STFB0P71PMvOGN5A",
"language": "en",
"languageName": "English",
"isAutoGenerated": false,
"isTranslated": false,
"text": "All right, so here we are, in front of the elephants the cool thing about these guys is that they have really... really really long trunks and that's cool (baaaaaaaaaaahhh!!) and that's pretty much all there is to say",
"wordCount": 39,
"segments": [
{ "start": 1.2, "duration": 2.16, "text": "All right, so here we are, in front of the elephants" },
{ "start": 5.318, "duration": 2.656, "text": "the cool thing about these guys is that they have really..." }
],
"durationSeconds": 19,
"viewCount": 448000000,
"thumbnailUrl": "https://i.ytimg.com/vi/jNQXAC9IVRw/hqdefault.jpg",
"availableLanguages": ["en", "de"],
"source": "https://youtu.be/jNQXAC9IVRw",
"sourceType": "video"
}

Export the dataset as JSON, CSV, Excel or XML, or read it through the Apify API.

Languages and translation

  • Language empty (default): each video in its original language. Subtitles made by people are preferred over automatic captions; switch Prefer human-made subtitles off to get the automatic ones.
  • Language set, e.g. en or es, en: the first language the video has. es also matches regional captions such as es-419.
  • Machine translation decides what happens when a video has none of your languages:
    • YouTube AI translations when they exist (default): YouTube has made AI-translated captions for many videos. They are used and marked with isTranslated: true and translatedFrom.
    • Also translate on request: otherwise the Actor asks YouTube to translate. YouTube allows this only a few times per IP address, so expect many free rows with errorType: "translation-limited".
    • No machine translation: only captions that exist in your language.
  • A video without any of your languages comes back as a free row with errorType: "language-unavailable" and the list of its languages in availableLanguages.

Rows without a transcript (free)

Every video that did not return a transcript is still listed, with recordType: "error" and an errorType:

errorTypeMeaning
no-captionsThe video has no subtitles and no automatic captions
unavailablePrivate, deleted, age-restricted, members-only or not available in the region
language-unavailableNone of your languages and no usable translation; availableLanguages lists what the video has
translation-limitedYouTube refused a translation on request; see above
empty-captionsThe caption track exists but is empty
blockedYouTube refused the requests from this IP address after several retries
invalid-input, source-errorAn input line is not a YouTube URL, or a playlist, channel or search returned nothing

The run's SUMMARY record in the key-value store counts transcripts and errors per source.

Good to know

  • The Actor reads captions that YouTube already has. It does not transcribe audio, so a video without any captions gives no transcript.
  • Age-restricted, private and members-only videos need a signed-in account and are skipped. The Actor never logs in.
  • YouTube asks cloud servers to sign in, so the Actor uses Apify Proxy by default, and its cost is included in the price per transcript. If many rows say blocked, run them again with the Residential proxy group.
  • Transcripts belong to the video creators. Use them in line with YouTube's Terms of Service and copyright law, for example for research, accessibility, search or summaries, and ask the creator before republishing a full transcript.