YouTube Transcripts & Subtitles Scraper avatar

YouTube Transcripts & Subtitles Scraper

Pricing

from $1.50 / 1,000 results

Go to Apify Store
YouTube Transcripts & Subtitles Scraper

YouTube Transcripts & Subtitles Scraper

Fetch YouTube video transcripts, timestamped caption segments, SRT subtitles, and available languages from any video URL or ID cleanly for AI/RAG pipelines and content analysis.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

Willy Lengkong

Willy Lengkong

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

Extract clean YouTube transcripts, timestamped caption segments, ready-to-use SRT subtitles, and video metadata in a single fast run. Supports individual videos, Shorts, live streams, and full playlists without a browser or YouTube account.

Modes

ModeInputWhat you get
Single & Batch VideosvideoUrlsOrIds (watch?v=, youtu.be/, /shorts/, /live/, /embed/, or 11-char IDs)Full plain-text transcript, timestamped cues, SRT subtitles, available languages, and video metadata
Playlist ExpansionvideoUrlsOrIds (youtube.com/playlist?list=...) + maxVideosPerPlaylistTranscripts and metadata for up to maxVideosPerPlaylist videos in the playlist
Caption TranslationtranslateTo (target ISO language code)Server-translated transcript in your target language when native captions exist

Supported Coverage

  • Output Formats: Full plain-text transcriptText, timestamped segments[] (text, startSeconds, durationSeconds, endSeconds), and SubRip transcriptSrt, plus segmentCount, isAutoGenerated, isTranslated, and availableLanguages.
  • Supported Links: youtube.com/watch?v=..., youtu.be/..., youtube.com/shorts/..., youtube.com/live/..., youtube.com/embed/..., youtube.com/playlist?list=..., and bare 11-character video IDs.
  • Video Metadata: videoId, url, title, channelName, channelId, durationSeconds, viewCount, language, languageName, status, and error.

Output Options & Proxy Tips

  • Language & Track Priority: languages accepts an ordered list of preferred codes (e.g. ["en", "id"]); if none match, the first available caption track is used. Manual human captions are preferred over auto-generated captions by default (preferAutoGenerated: false).
  • Lean Output & Rate Limits: Disable includeTimestamps or includeSrt when you only need transcriptText for AI/RAG pipelines. Keep maxConcurrency moderate (default 4), especially when using translateTo, which is subject to YouTube rate limits.
  • Proxy Recommendations: Direct connections work well for small and medium batches. For bulk playlists, large video lists, or frequent translations, enable Apify Proxy (RESIDENTIAL default when enabled) via proxyConfiguration.

Use Cases

  1. AI & RAG Knowledge Ingestion: Feed clean, plain-text transcripts and video metadata from tutorials, talks, and playlists directly into vector databases and LLMs.
  2. Content Repurposing & Summaries: Turn long-form YouTube videos into blog posts, newsletters, show notes, and social threads using timestamped quotes.
  3. Subtitle Localization & Editing: Export ready-to-use transcriptSrt files or request translated caption tracks for editing workflows.
  4. Course & Lecture Indexing: Build searchable archives across entire YouTube playlists with exact startSeconds and endSeconds jump links.

Input Parameters

ParameterTypeDefaultDescription
videoUrlsOrIdsarray["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]YouTube watch URLs, Shorts URLs, youtu.be links, playlist URLs, or 11-character video IDs.
languagesarray["en"]Ordered list of preferred caption language codes; falls back to the first available track if none match.
preferAutoGeneratedbooleanfalsePrefer auto-generated captions over manual human captions when both exist for the same language.
includeTimestampsbooleantrueInclude per-cue timestamp segments (text, startSeconds, durationSeconds, endSeconds).
includeSrtbooleantrueInclude a formatted SRT subtitle string (transcriptSrt) in each output item.
translateTostring""Optional target ISO language code (e.g. "es", "id") to request caption translation.
maxVideosPerPlaylistinteger25Maximum number of videos to extract per playlist URL (1–200).
maxConcurrencyinteger4Maximum number of videos processed concurrently (1–15).
proxyConfigurationobject{"useApifyProxy": false}Apify Proxy configuration. Enable Apify Proxy (RESIDENTIAL default) for bulk runs or translations.

Sample Output

{
"videoId": "jNQXAC9IVRw",
"url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
"title": "Me at the zoo",
"channelName": "jawed",
"channelId": "UC4QobU6STFB0P71PMvOGN5A",
"durationSeconds": 19,
"viewCount": 448317182,
"language": "en",
"languageName": "English",
"isAutoGenerated": false,
"isTranslated": false,
"availableLanguages": [
"en",
"de"
],
"segmentCount": 6,
"transcriptText": "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",
"transcriptSrt": "1\n00:00:01,200 --> 00:00:03,360\nAll right, so here we are, in front of the elephants\n\n2\n00:00:05,318 --> 00:00:07,974\nthe cool thing about these guys is that they have really...\n\n3\n00:00:07,974 --> 00:00:12,616\nreally really long trunks\n\n4\n00:00:12,616 --> 00:00:14,367\nand that's cool\n\n5\n00:00:14,421 --> 00:00:15,733\n(baaaaaaaaaaahhh!!)\n\n6\n00:00:16,881 --> 00:00:18,881\nand that's pretty much all there is to say",
"segments": [
{
"text": "All right, so here we are, in front of the elephants",
"startSeconds": 1.2,
"durationSeconds": 2.16,
"endSeconds": 3.36
},
{
"text": "the cool thing about these guys is that they have really...",
"startSeconds": 5.318,
"durationSeconds": 2.656,
"endSeconds": 7.974
},
{
"text": "really really long trunks",
"startSeconds": 7.974,
"durationSeconds": 4.642,
"endSeconds": 12.616
},
{
"text": "and that's cool",
"startSeconds": 12.616,
"durationSeconds": 1.751,
"endSeconds": 14.367
},
{
"text": "(baaaaaaaaaaahhh!!)",
"startSeconds": 14.421,
"durationSeconds": 1.312,
"endSeconds": 15.733
},
{
"text": "and that's pretty much all there is to say",
"startSeconds": 16.881,
"durationSeconds": 2.0,
"endSeconds": 18.881
}
],
"status": "ok",
"error": "",
"scrapedAt": "2026-11-12T10:59:43.326071+00:00"
}