YouTube Transcript Scraper: Subtitles, Captions & Timestamps avatar

YouTube Transcript Scraper: Subtitles, Captions & Timestamps

Pricing

from $15.00 / 1,000 results

Go to Apify Store
YouTube Transcript Scraper: Subtitles, Captions & Timestamps

YouTube Transcript Scraper: Subtitles, Captions & Timestamps

Get YouTube transcripts and subtitles with timestamps from video URLs, playlists, channels or search. Choose the language, prefer human or auto captions, translate, and export text, timed segments or SRT. Title, channel and duration included. Export to JSON, CSV or Excel.

Pricing

from $15.00 / 1,000 results

Rating

0.0

(0)

Developer

David Castro

David Castro

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

9 days ago

Last modified

Features

Limited permissions

Share

Get the transcript of any public YouTube video that has captions. Paste video links, a playlist, a channel or a search query, choose the language, and get one row per video with the full text, timed caption lines, and the video title, channel and duration. Human-made captions are used first when they exist, and auto-generated captions cover the rest. Transcripts can be translated into another language, and you can also get them as SRT subtitles.

What you get

FieldExample
titleSteve Jobs' 2005 Stanford Commencement Address
channelName, channelId, channelUrlStanford, UC-EnprmCZ3OXyAoG7vjVNCA, channel link
durationSeconds904
language, languageNameen, English
captionTypemanual or auto
isTranslated, originalLanguagefalse, en
availableLanguages["ar", "en (auto)", "en", "es", "ja", "pt-BR"]
transcriptthe full text as one paragraph, or one line per caption with [m:ss] timestamps
segments[{"start": 7.47, "end": 10.369, "duration": 2.899, "text": "..."}]
segmentCount, wordCount244, 2298
srta ready-to-save subtitle file, when requested
videoUrl, videoIdvideo link and ID
source, sourceInputwhich input produced the row

Inputs

  • Video or playlist URLs: watch links, youtu.be links, Shorts, live and embed links, bare video IDs, or playlist links.
  • Channels: a channel link or a handle such as @mkbhd. The latest uploads are transcribed.
  • Search queries: keywords, with sort order, upload date, duration and a "has subtitles" filter.
  • Language: a code such as en, es, pt-BR or ja. If a video lacks that language you can return the original captions, translate them into your language, or skip the video.
  • Always translate to: translate every transcript into one language.
  • Caption type: prefer human-made or auto-generated captions, or require one of them.
  • Output: timed segments, timestamps inside the text, and SRT subtitles.

Example input

{
"videoUrls": ["https://www.youtube.com/watch?v=UF8uR6Z6KLc"],
"channelUrls": ["@mkbhd"],
"searchQueries": ["how to make sourdough bread"],
"maxVideosPerSource": 10,
"language": "en",
"fallback": "translate",
"includeSrt": true
}

Example output

{
"videoId": "UF8uR6Z6KLc",
"videoUrl": "https://www.youtube.com/watch?v=UF8uR6Z6KLc",
"title": "Steve Jobs' 2005 Stanford Commencement Address",
"channelName": "Stanford",
"channelId": "UC-EnprmCZ3OXyAoG7vjVNCA",
"durationSeconds": 904,
"language": "en",
"languageName": "English",
"captionType": "manual",
"isTranslated": false,
"availableLanguages": ["ar", "en (auto)", "en", "it", "ja", "km", "pt-BR", "es", "es-ES"],
"segmentCount": 244,
"wordCount": 2298,
"transcript": "This program is brought to you by Stanford University. Please visit us at stanford.edu ...",
"segments": [{ "start": 7.47, "end": 10.369, "duration": 2.899, "text": "This program is brought to you by Stanford University." }]
}

Use cases

  • Feed video content into search, summaries, chatbots and AI knowledge bases.
  • Research what a channel or a topic says across many videos.
  • Quote videos with exact timestamps.
  • Make subtitles for re-uploads, translations and accessibility.
  • Repurpose talks, tutorials and podcasts into articles and notes.

Coverage

Any public video with captions or subtitles. Videos without any captions, private, members-only and age-restricted videos cannot be transcribed; they come back as a row with an error message and are not charged. Auto-generated captions follow the spoken language of the video and have no punctuation in some languages.

Pricing

You pay per transcript delivered. Videos without usable captions, failed inputs and error rows are never charged. The run stops when it reaches your maximum transcripts or your spend limit. Free Apify plans get up to 10 transcripts per run.

FAQ

Can I get transcripts in a language the video does not have? Yes. Set the fallback to "Translate into my language", or set "Always translate to". The translation is YouTube's own caption translation.

Does it return comments, likes or view counts? No. This actor returns transcripts plus the title, channel, duration and caption languages a transcript user needs.

How do I get SRT files? Turn on "Include SRT subtitles". The srt field holds the subtitle file as text.