YouTube Transcript Scraper: Channels & Playlists avatar

YouTube Transcript Scraper: Channels & Playlists

Pricing

from $3.00 / 1,000 successful transcripts

Go to Apify Store
YouTube Transcript Scraper: Channels & Playlists

YouTube Transcript Scraper: Channels & Playlists

Extract YouTube transcripts and subtitles from videos, channels and playlists. Get full text, timestamps and TXT/SRT/VTT downloads. Choose languages, request YouTube caption translation and export JSON or CSV. Existing manual and auto-generated captions only; no audio transcription.

Pricing

from $3.00 / 1,000 successful transcripts

Rating

0.0

(0)

Developer

Sinan Dogan

Sinan Dogan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

What does YouTube Transcript API do?

Get YouTube transcripts and subtitles from videos, creator channels and playlists in one structured dataset. Return full text, timestamped segments and downloadable TXT, SRT and WebVTT files for search, research, content workflows and AI applications.

It retrieves manual and automatically generated captions already available on YouTube. It does not download audio or run speech recognition. A video without accessible captions produces an explicit error.

Why use this YouTube transcript API?

Feed timestamped text into search indexes, content analysis, accessibility workflows and retrieval pipelines. Process several videos in one request, export subtitle files, select languages in priority order, request YouTube's caption translation and choose manual or generated caption tracks. Duplicate video IDs are processed once, including when supplied as different URL formats.

Apify provides scheduling, datasets and API access. Apify residential proxy is enabled by default and included in the transcript price. Custom proxy configuration is also supported. Every attempt asks the configured proxy provider for a new URL; actual IP rotation depends on that provider. Proxies do not guarantee successful access.

Captions are fetched fresh on every run, without serving a persistent transcript cache. Requested export formats are retained. Eligible transient failures use the configured retry budget; per-video errors remain visible in the dataset.

How to extract YouTube transcripts

  1. Enter video IDs, YouTube video URLs, channel URLs such as https://www.youtube.com/@creator, or playlist URLs such as https://www.youtube.com/playlist?list=PLAYLIST_ID.
  2. Choose preferred language codes, for example en then fr.
  3. Keep the included residential proxy enabled, start a small batch and inspect the dataset's status and errorCode columns. You can also supply your own proxy configuration.
  4. Download captions through each row's files links.

See the Input tab for the full configuration. Videos are capped by maxVideos; network concurrency and retries are bounded. Invalid videos and unavailable tracks do not prevent other videos from completing. A run fails if no transcript could be retrieved; partial batches keep all successful results and per-video errors.

Input example

{
"videos": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"],
"languages": ["en", "fr"],
"transcriptType": "any",
"exportFormats": ["txt", "srt", "vtt"],
"maxVideos": 10,
"maxConcurrency": 2,
"maxRetries": 2,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

Channels, creators and playlists

Use the existing videos input for a mixture of individual videos, channels and playlists. Channel roots (/@handle, /channel/ID, /c/name, /user/name) select the Videos tab. Pass an explicit /shorts or /streams tab to include that tab instead. The root does not automatically combine uploads, Shorts and live streams. Playlist URLs must use /playlist?list=...; a watch URL containing both v and list continues to select only that video.

Collection discovery lists video IDs without downloading media. Discovered videos are processed by the same caption extractor used for individual links. Duplicate IDs across all inputs are extracted once. Collections are examined in input order, using YouTube's returned order; maxVideos is a global upper limit on queued videos and input errors. Each collection examines at most the remaining number of entries, so duplicates, unavailable entries and empty collections may yield fewer videos than the limit. The first collection can fill the global limit before later sources are examined.

Collection access errors return a DiscoveryFailed dataset row when space remains and are always listed in SUMMARY.discoveryErrors. Already discovered videos are retained if a later listing page fails. Private or removed entries may fail caption extraction; no sign-in or access-restriction bypass is implemented. An empty collection produces no transcript rows. Channel and playlist network requests add cost beyond individual-video extraction.

{
"videos": [
"https://www.youtube.com/@creator/videos",
"https://www.youtube.com/playlist?list=PLAYLIST_ID"
],
"maxVideos": 100
}

translateTo optionally requests a target language such as fr. Translation requires an existing translatable caption track. It does not create captions for videos without subtitles. requestTimeoutSecs limits each HTTP request, not the duration of a whole video extraction.

What data does the Actor return?

FieldTypeMeaning
videoId / videoUrlstringNormalized video identity
statusstringsuccess or error
textstringFull transcript
segmentsarrayCaption text, start and duration in seconds
language / languageCodestringReturned caption language
isGeneratedbooleanWhether captions were generated automatically
translatedTostring or nullRequested translation target
filesobjectDownload links for selected formats
errorCode / errorMessagestring or nullSafe per-video error details

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel. Subtitle files are separate key-value store records. SUMMARY contains success and failure counts; STATE records processing progress and is also saved when aborted. State is diagnostic and does not implement automatic resume.

Abbreviated output example (illustrative, not a transcript from a real video):

[
{
"videoId": "AbCdEfGhI12",
"status": "success",
"languageCode": "en",
"text": "Example caption text.",
"segments": [
{"text": "Example caption text.", "start": 0.0, "duration": 2.5}
]
},
{
"videoId": "BcDeFgHiJ23",
"status": "error",
"text": null,
"segments": [],
"errorCode": "TranscriptsDisabled"
}
]

API access

Use the API tab for the actual Actor ID and generated client examples. The standard asynchronous Apify flow is:

  1. POST /v2/actors/{actorId}/runs with the input JSON body and an Authorization: Bearer header.
  2. Poll GET /v2/actor-runs/{runId} until a terminal status, with a fixed time limit.
  3. Retrieve GET /v2/datasets/{defaultDatasetId}/items.

Set a run budget using the platform's maxTotalChargeUsd option and an execution timeout. Never put your Apify token in the Actor input. Do not automatically retry a run-start POST after an ambiguous network failure.

Pricing and resource usage

$3 per 1,000 successful transcripts ($0.003 each), plus $0.00005 per Actor start at the supported memory sizes. One successful video is one transcript event, regardless of length, segment count or export formats. Duplicate videos within a run are processed once.

The price includes the run's compute, residential proxy, collection discovery and selected TXT/SRT/VTT exports. Failed videos and discovery-error rows do not trigger a transcript charge. The start fee still applies when a run returns no transcripts. No separate platform-usage surcharge is enabled for this Actor.

Use maxVideos to bound the batch and Apify's maximum charge per run to limit event spending. The Actor stops when the remaining spending limit cannot cover another transcript. Skipped videos then produce no result row; check SUMMARY.chargeLimitReached. Choose enough memory for large batches (256 MB default, up to 1 GB). Retaining or downloading stored results later may consume your account's storage or transfer allowance.

FAQ and support

Does this transcribe audio when subtitles do not exist?

No. This version retrieves caption tracks already available on YouTube. Automatically generated captions come from YouTube, not a speech-recognition model run by this Actor.

Does this support Shorts and live-video URLs?

Yes, when accessible caption tracks exist. This is not real-time transcription of a currently running broadcast.

Why does YouTube block a request?

The upstream project documents cloud IP blocking. Try a suitable configured proxy and low concurrency. Videos may also be unavailable, age restricted, have disabled captions or lack your requested language. Error messages distinguish these cases where upstream provides a specific exception.

Does this extract private videos or bypass sign-in?

No. Authenticated and age-restricted extraction is not implemented. Supply video URLs you are authorized to process and handle any personal data in the captions appropriately. Use the Issues tab to report a reproducible video, selected language and error code without including credentials.