YouTube Transcript Scraper — Subtitles, Shorts, Audio Fallback avatar

YouTube Transcript Scraper — Subtitles, Shorts, Audio Fallback

Pricing

from $1.00 / 1,000 transcript from captions

Go to Apify Store
YouTube Transcript Scraper — Subtitles, Shorts, Audio Fallback

YouTube Transcript Scraper — Subtitles, Shorts, Audio Fallback

Transcripts of YouTube videos and Shorts. Existing subtitles come back for $0.001 per video; a video without any gets real speech recognition at $0.006 per audio minute, up to 15 minutes. SRT and WebVTT included, no login.

Pricing

from $1.00 / 1,000 transcript from captions

Rating

0.0

(0)

Developer

⚡ Blitzdata

⚡ Blitzdata

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

YouTube Transcript Scraper

Paste a link, get the words. This Actor returns the transcript of a YouTube video or Short with timed segments and ready-made SRT and WebVTT subtitles.

Most transcript scrapers only read YouTube's existing captions, so a video without them comes back empty. This one reads the captions when they exist, at a tenth of a cent per video, and listens to the audio when they do not.

What you get

  • Captions first: existing subtitles are returned instantly, in the language you ask for when one exists
  • Audio fallback: a video without subtitles is transcribed from its sound, up to 15 minutes, so you never get a silent empty row
  • Channels and playlists: set a number of videos and a start date and walk a whole channel
  • Shorts and playlists are accepted as inputs; for a channel's whole Shorts tab or a bulk channel run there are dedicated Actors
  • Residential proxy included: YouTube refuses datacenter addresses, so downloads go through a pool at no extra charge

How to use YouTube Transcript Scraper

  1. Open YouTube Transcript Scraper on Apify and click Try for free.
  2. Fill in YouTube URLs.
  3. Adjust the optional settings you need: Posts per profile, Language, Use existing captions first, Published after, Output formats, Residential proxy, Proxy country.
  4. Click Start. One dataset row per item appears while the run progresses.
  5. Export the dataset as JSON, CSV or Excel, or read it through the API, the Python or JavaScript client, or the MCP server (see the API tab).

The same input works as a JSON body through the API:

{
"urls": [
"https://www.youtube.com/watch?v=jNQXAC9IVRw"
]
}

Input

FieldTypeDefaultMeaning
urlsarray—YouTube video, Shorts, playlist or channel links, one per line. Channels and playlists need 'Posts per profile' above 0. (required)
posts_per_profileinteger0When a link is a channel, playlist or profile, transcribe this many of its newest videos. 0 turns expansion off, so such a link yields one video. Instagram profiles cannot be listed; give the Reel links instead.
languagestring"auto"ISO code of the spoken language (en, nl, es, ...), or 'auto' to detect it. Giving the code is more accurate when you know it. The row reports which one was used in 'language_source'.
captions_firstbooleantrueWhen the video already has subtitles, return those and skip speech recognition. This is much cheaper and instant; videos without captions are transcribed from audio unless they are too long.
published_afterstring—Only videos published on or after this date, written as YYYY-MM-DD. Leave empty for no date filter. Applies to channels, playlists and feeds.
output_formatsarray—Which text formats to put in every row, one per line: text, segments, srt, vtt, markdown. Leave empty for all of them. Fewer formats make smaller rows.
use_proxystring"auto"YouTube refuses datacenter addresses, so 'auto' sends YouTube through a residential pool and retries any other refused download through it. 'always' and 'never' override. The proxy is included in the price.
proxy_regionstring—Two-letter country code for the residential exit (NL, US, ...). Leave empty for the default.

Output

One dataset row per item. A failed item gets a row with error set and is not charged; the rest of the run continues.

A YouTube video, shortened:

{
"url": "https://www.youtube.com/watch?v=aircAruvnKk",
"platform": "Youtube",
"video_id": "aircAruvnKk",
"title": "But what is a neural network? | Deep learning chapter 1",
"uploader": "3Blue1Brown",
"upload_date": "20171005",
"view_count": 24582536,
"like_count": 563796,
"text": "This is a 3. It's sloppily written and rendered at an extremely low resolution of 28x28 pixels, but your brain has no trouble recognizing it as a 3. ...",
"language": "en",
"language_source": "captions",
"transcript_source": "captions-manual",
"duration_seconds": 1120,
"segments": [
{ "start": 4.22, "end": 5.4, "text": "This is a 3." },
{ "start": 6.06, "end": 10.713, "text": "It's sloppily written and rendered at an extremely low resolution of 28x28 pixels," }
],
"srt": "1\n00:00:04,220 --> 00:00:05,400\nThis is a 3.\n\n2\n...",
"vtt": "WEBVTT\n\n00:00:04.220 --> 00:00:05.400\nThis is a 3.\n\n...",
"billed_videos": 1,
"error": null
}

transcript_source tells you where the text came from: captions-manual for human-written subtitles, captions-auto for the platform's own, and asr when there were none and this Actor transcribed the audio itself.

Pricing

EventPriceCharged when
Transcript from captions$0.001One video whose existing YouTube subtitles were returned. Failed videos are free.
Audio minute (no captions)$0.006Each started minute of a video that had no subtitles and was transcribed from its audio, up to 15 minutes per video.

Three videos with captions cost $0.003. A 12-minute video without captions costs $0.072.

Use cases

  • Research and summaries: feed a lecture or interview transcript to an LLM
  • SEO and content: turn your own videos into blog posts and chapter lists
  • Competitor monitoring: read what a rival channel announced this month
  • Accessibility: get an SRT file for a video that has no subtitles

FAQ

What if a video has no captions? It is transcribed from the audio when it is 15 minutes or shorter, at $0.006 per started minute. Longer videos without captions return an error row and cost nothing.

Which captions do I get, manual or automatic? Manual captions when the uploader added them, otherwise YouTube's automatic ones. The row says which in transcript_source.

Can I do a whole channel? Yes. Paste the channel's videos page, set 'Posts per profile' and optionally 'Published after'.

Why is a Short billed like a video? It is not special: a Short with captions costs $0.001, one without is billed by its length, almost always one minute.

This Actor reads publicly available media and turns speech into text. It does not bypass logins and does not access private content. The audio is deleted from our side after transcription and is not used by us for training. Speech recognition is done by Deepgram, a sub-processor: the audio is sent to Deepgram's API for processing under Deepgram's terms, with the Model Improvement Program opt-out set on every request, so Deepgram does not keep it for model training. You are responsible for using the output in line with the platforms' terms, copyright and the privacy law that applies to you, in particular when transcripts contain personal data.

Support

Something wrong, a platform that stopped working, a field you need? Open an issue on the Issues tab of this Actor and it will be looked at.