YouTube Transcript Scraper: Videos, Channels & Playlists avatar

YouTube Transcript Scraper: Videos, Channels & Playlists

Pricing

from $1.60 / 1,000 transcripts

Go to Apify Store
YouTube Transcript Scraper: Videos, Channels & Playlists

YouTube Transcript Scraper: Videos, Channels & Playlists

Get transcripts of YouTube videos, whole channels and playlists (up to 5,000 videos each) in one run. Plain text, Markdown, SRT, VTT or timed segments, with optional word timestamps. You pay only for videos that return a transcript.

Pricing

from $1.60 / 1,000 transcripts

Rating

0.0

(0)

Developer

YTAPI

YTAPI

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

6 days ago

Last modified

Categories

Features

Limited permissions

Share

Get the transcripts (captions) of YouTube videos, including a whole channel or playlist in one run: up to 5,000 videos per channel or playlist. Paste video links, channels or playlists, and the Actor returns one dataset item per video with the transcript as plain text, Markdown, SRT, WebVTT or timed segments, with optional word-level timestamps.

You are charged only for videos that come back with a transcript. Videos without captions, unavailable videos and failed fetches are listed in the dataset for free.

What it does

  • Accepts video URLs (watch, youtu.be, Shorts, live, embed) and 11-character video IDs.
  • Accepts channels as URLs, @handles or channel IDs (UC...), and lists their newest uploads. Choose regular videos or Shorts.
  • Accepts playlists as URLs or playlist IDs (PL...), in playlist order.
  • Takes up to Max videos per channel or playlist from each channel or playlist.
  • Processes each video once, even if it appears in several inputs.
  • Uses the creator's captions when they exist and YouTube's auto-generated captions otherwise.
  • Lets you set preferred languages, for example en,* (English if available, otherwise the video's own language).

Input

FieldDescriptionDefault
startUrlsVideos, channels or playlists, one per line. Required.
maxVideosPerSourceVideos to take from each channel or playlist (1 to 5,000).100
channelTabvideos or shorts. A channel URL ending in /videos or /shorts overrides it for that channel.videos
formattext, markdown, srt, vtt or segments.text
languagesComma-separated language codes in order of preference. * means the language spoken in the video.video's own language
wordTimestampsAdds each word's start time to every segment. Needs format: segments. Only YouTube's auto-generated captions have word timings; hasWordLevel tells you which videos got them.false

Example input:

{
"startUrls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"https://www.youtube.com/@TED",
"https://www.youtube.com/playlist?list=PLOGi5-fAu8bEGMnNkrJooL04E5zlkvDjc"
],
"maxVideosPerSource": 20,
"format": "text",
"languages": "en,*"
}

Legacy channel URLs (/c/name, /user/name) are not accepted; use the channel's @handle or its /channel/UC... URL. A watch link that also carries a playlist (&list=...) is treated as that one video; to get the whole playlist, use its playlist?list=... URL.

Output

One item per video. Example from a test run with format: "markdown" (transcript shortened):

{
"videoId": "4qxROUatTzk",
"url": "https://www.youtube.com/watch?v=4qxROUatTzk",
"title": "The Science of Learning New Things | Tania Lombrozo | TED",
"source": "https://www.youtube.com/@TED",
"status": "ok",
"errorCode": null,
"errorMessage": null,
"language": "en",
"trackKind": "manual",
"durationSeconds": 938,
"transcript": "# Transcript: 4qxROUatTzk\n\n### [0:00]\nSoftware engineers have a delightful\npractice called rubber ducking. When they run into a problem\nwith their code, they'll…",
"segments": null,
"fetchedAt": "2026-11-16T07:47:08.979Z"
}

With format: "segments", transcript is null and segments holds the timed lines:

"segments": [
{ "text": "What you're doing,", "start": 1.579, "end": 3.329, "duration": 1.75 }
]

Fields:

  • status: ok (transcript delivered), no_captions (no captions, or none in the requested languages), unavailable (for example deleted, private, members-only or region-blocked), failed (could not be fetched after several retries; running it again later may work).
  • errorCode and errorMessage: why a video has no transcript.
  • language: language code of the captions returned.
  • trackKind: manual (uploaded by the creator) or asr (auto-generated by YouTube).
  • title: filled for videos that came from a channel or playlist; null for single video links.
  • durationSeconds: video length from the channel or playlist listing, or the caption length for the segments format; null when unknown.

You can download the dataset as JSON, CSV, Excel or HTML from the run's Storage tab.

Pricing

This Actor uses pay-per-event pricing. You pay a fixed price for each transcript delivered (each item with status: "ok"). Items with no_captions, unavailable or failed cost nothing. Listing channels and playlists costs nothing either.

If you set a maximum cost for the run, the Actor stops when the next transcript would go over it.

Free plan limit

On the Apify free plan, a run delivers at most 100 transcripts. When the limit is reached the run stops, the log and status message say so, and the remaining videos are not processed. Paid Apify plans have no such limit.

Limits

  • Only videos that have captions on YouTube (creator-uploaded or auto-generated) get a transcript. The Actor does not transcribe audio, so videos without captions return no_captions.
  • Age-restricted, members-only, private and deleted videos have no transcript. They are listed with status unavailable (or failed) and are not charged.
  • Captions are returned in the languages YouTube has for the video. The Actor does not translate.
  • Live streams that are still running have no transcript yet.
  • Channels list public uploads only; Shorts listings have no duration.