YouTube Transcript & Captions (any language, SRT/VTT) avatar

YouTube Transcript & Captions (any language, SRT/VTT)

Pricing

$2.50 / 1,000 transcript returneds

Go to Apify Store
YouTube Transcript & Captions (any language, SRT/VTT)

YouTube Transcript & Captions (any language, SRT/VTT)

Get the transcript or captions of YouTube videos: plain text, timestamped segments, SRT or VTT, in your preferred language, human-made captions first. Failed videos are free.

Pricing

$2.50 / 1,000 transcript returneds

Rating

0.0

(0)

Developer

Adam Rudd

Adam Rudd

Maintained by Community

Actor stats

1

Bookmarked

3

Total users

2

Monthly active users

a day ago

Last modified

Share

Get the transcript or captions of YouTube videos as plain text, timestamped segments, SRT or WebVTT, in the language you prefer. Human-made captions are returned before auto-generated ones when both exist, and every row says which you got.

  • Input: YouTube video links (watch, youtu.be, Shorts, embed, live) or 11-character video ids.
  • Output: one dataset row per video: text, language, isGenerated (auto-generated captions or not), languageFallback (your preferred language wasn't available, so the first available track was used), availableLanguages, durationSeconds, and segments / srt / vtt depending on the output format.
  • Failed videos are free: a video with captions disabled, no captions, or unavailable gives a row with
    status: failed
    and the reason, and is not charged.

Input

FieldDefaultNotes
videos(required)video links or ids
languages["en"]caption languages in order of preference (ISO codes)
preferManualtrueprefer human-made captions over auto-generated ones
outputFormatsegmentstext, segments, srt or vtt (plain text is always included)

Output example

{
"videoId": "gYskRI0ynAM",
"url": "https://www.youtube.com/watch?v=gYskRI0ynAM",
"status": "ok",
"language": "en",
"isGenerated": true,
"languageFallback": false,
"availableLanguages": ["en"],
"durationSeconds": 771.6,
"segmentCount": 412,
"text": "my name is Craig Wright I've been involved with cryptography ...",
"segments": [{"start": 0.0, "duration": 3.2, "text": "my name is Craig Wright"}]
}

Pricing

One price per video that returns a transcript (see the Pricing tab). Videos that fail are not charged.

What it does not do (yet)

It returns the captions YouTube has for a video. Videos with no captions at all come back as failed. For those, or for audio and video files outside YouTube, our Audio & Video Transcriber transcribes the speech itself with Whisper.

Responsible use

You are responsible for how you use the transcripts, including copyright and YouTube's terms.