YouTube Transcript Scraper
Pricing
$3.00 / 1,000 transcript founds
YouTube Transcript Scraper
Pulls the subtitle/transcript text of YouTube videos with timestamped segments: video title, channel, language, full text and available subtitle languages. No API key needed; a robots.txt-compliant metadata mode that only lists subtitle languages is also available.
Pricing
$3.00 / 1,000 transcript founds
Rating
0.0
(0)
Developer
Korhan Coşan Ergün
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
Share
Pulls the subtitle/transcript text of YouTube videos with timestamped segments. No API key required.
Output fields
| Field | Description |
|---|---|
video_id, title, link | Video id, title and link |
channel_name, channel_url, thumbnail_url | Channel and cover image (official oEmbed) |
language, language_name, is_generated | Transcript language and whether it was auto-generated |
transcript_text | The joined full text |
transcript_char_count, segment_count, transcript_duration_seconds | Volume/length metrics |
segments[] | {start, duration, text} — timestamped segments |
available_languages[] | All subtitle languages available on the video |
error | Error for this video (if any), otherwise null |
Input
{"videoUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],"mode": "transcript","acknowledgeUnofficialSource": true,"languages": ["en"],"includeSegments": true,"maxVideos": 25}
videoUrls accepts a full URL (watch / youtu.be / shorts / embed / live) or an
11-character video ID.
Two modes and WHY — do not skip this
According to
the documentation,
the captions.list / captions.download methods of YouTube Data API v3 require
OAuth 2.0 + ownership of the video; with an API key you cannot download a
third-party video's transcript through the official route (it is always 403). In
other words, there is no such option as "transcripts via the official API".
The only route that works is the youtube.com/api/timedtext endpoint used by the
YouTube player. However, https://www.youtube.com/robots.txt contains:
User-agent: *Disallow: /api/Disallow: /youtubei/
So the transcript download path is closed to generic bots by robots.txt, while
/watch is open. That is why the actor runs in two modes:
mode: "metadata"— fully compliant with robots.txt. It only lists the available subtitle languages and the video metadata from the/watchpage. It does not call/api/. It does not return the full text.mode: "transcript"(default) — full text + timestamped segments. It uses/api/timedtext. It does not run unlessacknowledgeUnofficialSource: trueis given: by ticking that box you declare (a) that the unofficial endpoint will be used, and (b) that you have the right to access the subtitles in question (your own channel, a licence, fair use/research).
Transcript fetching is done with the
youtube-transcript-api
library (MIT), which continuously patches these breakages — raw timedtext
calls now return an empty body.
Proxy — turn this on
YouTube frequently blocks the datacenter IPs that Apify also uses
(RequestBlocked). In a real platform test (10 November 2026), 1 of 2 videos
was blocked when running without a proxy. Therefore:
- Turn on Apify Proxy via
proxyConfiguration, preferably with theRESIDENTIALgroup. The actor requests a new IP (session) for every video and retries 3 times with a new IP when it is blocked. - Alternatively you can supply your own proxy with
proxyUrl; when filled in, it overrides the Apify Proxy setting.
Blocked videos are still written to the dataset (with the error field filled in
and transcript_text empty) and are not charged.
Pricing
Pay-per-event: transcript-found → $0.003. You are only charged when a
transcript or subtitle language is actually found; failed videos and videos
without subtitles are free.
Local test
bash ../_common/vendor_common.sh . # vendor apify_commonAPIFY_LOCAL=1 python3 main.py # check storage/local_run_summary.json
sample_output.json was produced from a real live run (10 November 2026).