YouTube Transcripts Scraper avatar

YouTube Transcripts Scraper

Pricing

$3.00 / 1,000 transcript extracteds

Go to Apify Store
YouTube Transcripts Scraper

YouTube Transcripts Scraper

Get YouTube video transcripts and subtitles as clean text, timestamped segments, SRT or VTT. Videos, Shorts, playlists and channels. Manual and auto-generated captions, language fallback, no login. Pay only for transcripts found.

Pricing

$3.00 / 1,000 transcript extracteds

Rating

0.0

(0)

Developer

Wonderland Data

Wonderland Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Get YouTube video transcripts and subtitles as clean plain text, timestamped segments, SRT or WebVTT. Works with single videos, Shorts, playlists and whole channels. Human-made captions are preferred, with automatic (auto-generated) captions as a fallback, in the language you choose. Every item also includes the video title, channel, publish date, duration and view count. No YouTube account, no login, no API key, no browser.

You pay only for transcripts found: videos without captions are still listed (so you know why) but are not charged.

Built for AI and RAG pipelines (feed transcripts into LLMs, embeddings and vector databases), content repurposing (blog posts, newsletters, show notes, clips), SEO, research and media monitoring, translation and accessibility work, and any dataset that needs what was actually said in a video.

What you get

One dataset item per video.

FieldExampleNotes
videoId, urldQw4w9WgXcQ, https://www.youtube.com/watch?v=dQw4w9WgXcQCanonical watch URL, whatever URL form you gave
titleRick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)
channelName, channelId, channelUrlRick Astley, UCuAXFkgsw1L7xaCfnd5JJOw, https://www.youtube.com/@RickAstleyYT
publishDate2009-10-25T06:57:33.000ZAlways a full ISO 8601 UTC timestamp. When YouTube gives only a day, the time is T00:00:00.000Z
durationSeconds, viewCount213, 1839948740Numbers, not "3:33" or "1.8B views"
category, keywords, thumbnailUrlMusic, ["rick astley", ...]
isLive, wasLivefalse, falseisLive: the stream is live right now. wasLive: a recording of a past live stream
descriptionFull description, only with Include video description
transcriptAvailabletruefalse when the video has no usable captions
unavailableReasonNo captions available for this videoWhy there is no transcript (no captions, private, age-restricted, language not available...)
language, languageNameen, EnglishLanguage of the returned transcript
isAutoGeneratedfalsetrue = YouTube automatic speech recognition captions
availableLanguages[{"code":"en","name":"English","isAutoGenerated":false}, ...]All caption tracks of the video
transcriptWe're no strangers to love. You know the rules...Full plain text, line breaks inside captions removed. Japanese/Chinese lines are joined without inserting spaces
wordCount, characterCount, segmentCount487, 1893, 61Words are split on spaces; Japanese and Chinese text (no spaces) is split into words with a dictionary-based word segmenter. characterCount = characters without whitespace, the better length measure for CJK
segments[{"start":18.64,"duration":3.24,"text":"♪ We're no strangers to love ♪"}, ...]Seconds as numbers (ms precision). Optional
srt, vtt1\n00:00:18,640 --> 00:00:21,880\n...Ready-to-save subtitle files. Optional
playlistIdUUuAXFkgsw1L7xaCfnd5JJOwSet when the video came from a channel or playlist input
inputUrl, scrapedAtWhich input produced the item, ISO time of scraping
errortrueOnly on items that failed (see Reliability); absent otherwise

How to use

  1. Paste video links or IDs into Video URLs or IDs. Any form works: watch?v=, youtu.be/, /shorts/, /embed/, /live/, m.youtube.com, music.youtube.com or the bare 11-character ID.
  2. Optionally add channel or playlist URLs (/@handle, /channel/UC..., /c/..., /user/..., legacy youtube.com/name, playlist?list=...) and set Max videos per channel / playlist.
  3. Optionally set Preferred languages (e.g. en, es, pt-BR). Leave empty to get each video's default caption track (English when the uploader provided it, otherwise usually the original language); set e.g. es to get the Spanish track of a Spanish video.
  4. Choose the output formats (segments, SRT, VTT) and run. Download the results as JSON, CSV, Excel or via the API.

Example input

{
"videoUrls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"https://youtu.be/kJQP7kiw5Fk",
"https://www.youtube.com/shorts/C0DPdy98e4c"
],
"channelOrPlaylistUrls": ["https://www.youtube.com/@RickAstleyYT"],
"maxVideosPerChannel": 20,
"languages": ["en"],
"allowAutoGenerated": true,
"fallbackToAnyLanguage": true,
"includeSegments": true,
"includeSrt": true,
"proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}

Example item (shortened)

{
"videoId": "dQw4w9WgXcQ",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"channelName": "Rick Astley",
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
"channelUrl": "https://www.youtube.com/@RickAstleyYT",
"publishDate": "2009-10-25T06:57:33.000Z",
"durationSeconds": 213,
"viewCount": 1839948740,
"category": "Music",
"transcriptAvailable": true,
"unavailableReason": null,
"language": "en",
"languageName": "English",
"isAutoGenerated": false,
"availableLanguages": [
{ "code": "en", "name": "English", "isAutoGenerated": false },
{ "code": "en", "name": "English", "isAutoGenerated": true },
{ "code": "de-DE", "name": "German (Germany)", "isAutoGenerated": false }
],
"transcript": "[♪♪♪] ♪ We're no strangers to love ♪ ♪ You know the rules and so do I ♪ ...",
"wordCount": 487,
"segmentCount": 61,
"segments": [
{ "start": 1.36, "duration": 1.68, "text": "[♪♪♪]" },
{ "start": 18.64, "duration": 3.24, "text": "♪ We're no strangers to love ♪" }
],
"srt": "1\n00:00:01,360 --> 00:00:03,040\n[♪♪♪]\n\n2\n00:00:18,640 --> 00:00:21,880\n♪ We're no strangers to love ♪\n...",
"playlistId": null,
"inputUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"scrapedAt": "2026-11-22T19:54:04.263Z"
}

How the language is chosen

For each language in Preferred languages, in order (the first language that has any usable track wins):

  1. human-made captions in exactly that code (pt-BR);
  2. human-made captions in the same base language (en also matches en-US, en-GB);
  3. auto-generated captions in exactly that code (only if Allow auto-generated captions is on);
  4. auto-generated captions in the same base language (same condition).

So human-made captions always beat auto-generated ones within a language: with tracks en (auto-generated) and en-US (human-made), asking for en returns en-US.

If nothing matches (or Preferred languages is empty) and Fall back to any language is on, you get the caption track YouTube turns on by default for an English-language viewer (English when the uploader provided English captions, otherwise usually the original language), replaced by a human-made track in the same language when the default one is auto-generated. If Fall back to any language is off, the item has transcriptAvailable: false and unavailableReason lists the languages the video does have. With Allow auto-generated captions off, auto-generated tracks are never returned, not even as a fallback.

Pricing: pay only for transcripts

This Actor charges a custom event transcript, once per video for which a transcript was actually returned. Videos without captions, private or deleted videos, unavailable languages and failed videos are saved with transcriptAvailable: false free of charge (turn on Skip videos without transcript to leave them out completely). Channel and playlist expansion is not charged. If you set a maximum cost for a run, the Actor stops when the limit is reached; a transcript that no longer fits in the limit is not saved and not charged.

Tips

  • Bulk runs: put hundreds or thousands of video URLs into one run; the Actor processes 5 videos in parallel by default (maxConcurrency, up to 20). Duplicate URLs, and the same channel given twice in different forms, are processed once.
  • Channels: a channel input expands to all its uploads, newest first, including Shorts and past live streams. Use a playlist URL if you need a specific selection.
  • LLM / RAG: use transcript for plain text, or segments to keep timestamps so you can link back to url&t=<start>s.
  • Subtitles: turn on SRT or VTT and save the string as a .srt / .vtt file.
  • Smaller output: turn off Include timestamped segments if you only need the text.
  • Live streams: a stream that is currently live, or whose recording is not available, has no transcript; it is reported with the reason.

Cost and proxy

The Actor uses plain HTTP requests to YouTube's own JSON endpoints (no browser), so it is fast (about 0.3 s per video) and light: about 45 KB of proxy traffic per video (about 4.5 MB per 100 videos, measured), plus about 70 KB per 100 videos listed from a channel or playlist.

Residential proxy is the default and is recommended. YouTube often answers datacenter IPs with "Sign in to confirm you're not a bot". When that happens the Actor saves nothing for that video yet, switches to a fresh IP and retries, so no video is duplicated or silently dropped. A video that still fails after 5 retries is saved with transcriptAvailable: false and the error, free of charge.

Reliability

YouTube periodically changes which app versions it accepts. The Actor tries several client identities in turn for each video (Android, iOS, Android VR), so one breaking does not stop your run, and every video ends with either a transcript or a clear reason. Errors are classified: IP blocks (HTTP 429, YouTube's "Sorry" page, "confirm you're not a bot") are retried with a fresh IP, network errors and HTTP 5xx are retried, and permanent outcomes (private, removed or unplayable videos, no captions, caption links YouTube will not serve to any client) are saved right away without retries, so they do not waste proxy traffic. Such failed items have error: true. If 30 videos in a row fail with a permanent error, the Actor stops and reports that YouTube has probably changed its API. Channels and playlists are listed one page (100 videos) per request, so a retry repeats only the failed page, and large channels (thousands of videos) are listed reliably. Run statistics (videos with/without transcript, failed, blocks, which client worked, listed pages, traffic) are saved in the RUN_STATS record of the run's key-value store.

FAQ

Do I need a YouTube account, cookies or an API key? No. Only public data is read, without logging in.

Can it get transcripts of private, members-only or age-restricted videos? No. These are reported with transcriptAvailable: false and the reason given by YouTube. The Actor does not log in or bypass any restriction.

Does it translate transcripts? Not at the moment. YouTube's machine translation of captions is not available without a signed-in browser session, so the Actor returns the original caption tracks only. You get every available language in availableLanguages and can request any of them in Preferred languages.

Why do some videos have no transcript? The uploader did not add captions and YouTube did not generate automatic ones (common for music-only videos, very short videos, some Shorts and new uploads, and some languages).

Are auto-generated captions accurate? They are YouTube's speech recognition output: good for search, summarization and RAG, but without punctuation guarantees. isAutoGenerated tells you which kind you got; human-made captions are always preferred when they exist in your language.

What timing format do segments use? start and duration are seconds as numbers with millisecond precision. SRT and VTT end times are trimmed so auto-generated lines do not overlap.

Is it legal? The Actor reads publicly available data. Transcripts can be copyrighted by their creators; make sure your use complies with copyright law and YouTube's terms in your jurisdiction.