YouTube Transcript Scraper avatar

YouTube Transcript Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
YouTube Transcript Scraper

YouTube Transcript Scraper

Get the full timestamped transcript of any YouTube video plus the list of available caption languages. Paste video links and get clean JSON with per-segment start, duration and text.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Farhan Febrian Nauval

Farhan Febrian Nauval

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

14 days ago

Last modified

Categories

Features

Limited permissions

Share

Get the full timestamped transcript (subtitles/captions) of any YouTube video, plus the list of every language available for it, as clean JSON — no browser, no account, no API key.

Why use this actor

  • Full timestamped transcript — every line with its start time and duration, not just a wall of text
  • Works on both human-made captions and auto-generated (speech-to-text) captions
  • Returns the complete list of available caption languages for the video, even if you only need one
  • One request per video — paste a link, get a ready-to-use transcript record
  • Stable JSON output suitable for summarization pipelines, search indexing, or databases
  • No sign-in, cookies, or API key required

How it works

  1. You give the actor one or more YouTube video links (or bare video IDs).
  2. The actor reads the video's caption track list and picks the language you asked for (or the video's default language if you didn't specify one).
  3. It fetches that caption track and returns every line as a {start, dur, text} segment, plus a single joined fullText string.
  4. Results stream into your dataset, ready to download as JSON, CSV, or Excel.

You don't need to manage a browser, handle video playback, or know YouTube's internal language codes ahead of time — the actor lists them for you in every result.

Input

{
"videoUrls": [
"https://www.youtube.com/watch?v=8S0FDjFBj8o"
],
"videoIds": [],
"language": "en",
"includeAutoGenerated": true,
"maxConcurrency": 4
}
FieldTypeDescription
videoUrlsarrayYouTube video links — watch links, youtu.be short links, Shorts, or embed links.
videoIdsarrayOptional. Bare 11-character video IDs, if you already have IDs instead of full links.
languagestringOptional. Language code of the transcript you want (en, es, fr, pt-BR, ...). Leave empty to use the video's default caption language. A close match is used if the exact code isn't found (e.g. en matches en-US).
includeAutoGeneratedbooleanDefault true. When on, auto-generated (speech-to-text) captions are used if no human-made caption track exists. Turn off to only accept human-made captions.
maxConcurrencyintegerDefault 4. How many videos to fetch in parallel.
proxyConfigurationobjectOptional. Not needed for most runs — see Reliability note below for when to turn one on.

Output

One record per video. Real sample, captured live from an actual run on the Apify platform:

{
"_input": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"_source": "youtubei-android",
"_scrapedAt": "2026-08-06T04:56:04Z",
"videoId": "dQw4w9WgXcQ",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"author": "Rick Astley",
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
"lengthSeconds": 213,
"viewCount": 1801039951,
"language": "en",
"languageName": "English",
"isAutoGenerated": false,
"availableLanguages": [
{ "languageCode": "en", "name": "English", "kind": "manual" },
{ "languageCode": "en", "name": "English (auto-generated)", "kind": "asr" },
{ "languageCode": "de-DE", "name": "German (Germany)", "kind": "manual" },
{ "languageCode": "ja", "name": "Japanese", "kind": "manual" },
{ "languageCode": "pt-BR", "name": "Portuguese (Brazil)", "kind": "manual" },
{ "languageCode": "es-419", "name": "Spanish (Latin America)", "kind": "manual" }
],
"segmentCount": 61,
"transcript": [
{ "start": 1.36, "dur": 1.68, "text": "[♪♪♪]" },
{ "start": 18.64, "dur": 3.24, "text": "♪ We're no strangers to love ♪" },
{ "start": 22.64, "dur": 4.32, "text": "♪ You know the rules\nand so do I ♪" },
{ "start": 27.04, "dur": 4, "text": "♪ A full commitment's\nwhat I'm thinking of ♪" }
// ... 57 more
],
"fullText": "[♪♪♪] ♪ We're no strangers to love ♪ ♪ You know the rules and so do I ♪ ♪ A full commitment's what I'm thinking of ♪ ♪ You wouldn't get this from any other guy ♪ ♪ I just wanna tell you how I'm feeling ♪ ♪ Gotta make you understand ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never g..."
}
FieldTypeDescription
videoIdstringThe 11-character YouTube video ID.
videoUrlstringCanonical watch URL for the video.
title / author / channelIdstringVideo title, channel name, and channel ID.
lengthSecondsintegerVideo duration in seconds.
viewCountintegerView count at scrape time.
language / languageNamestringLanguage code and display name of the returned transcript.
isAutoGeneratedbooleantrue if the transcript is YouTube's auto-generated speech-to-text, false if it's a human-made caption track.
availableLanguagesarrayEvery caption language available for the video, each with languageCode, name, and kind (manual or asr).
segmentCountintegerNumber of transcript segments returned.
transcriptarrayTimestamped segments: start (seconds), dur (seconds), text.
fullTextstringAll segments joined into one plain-text string.

If a video has no captions at all, or the requested language isn't available, you get an error record instead (_error: no_captions, language_not_available, not_playable, etc.) with availableLanguages still included so you can retry with a language that exists.

Reliability note

Transcript fetches work great from a normal residential connection. Shared cloud IP ranges are sometimes asked by YouTube to confirm they're not a bot, which shows up as a not_playable error with detail LOGIN_REQUIRED. If you see this often, turn on the Proxy input with a residential-type proxy group — it resolves the issue for the vast majority of videos.


Other actors in this collection

See the rest of the social-media actors in this portfolio for TikTok, Instagram, X (Twitter), Reddit, and more.