YouTube Transcript & Subtitles Scraper + AI Fallback
Pricing
from $1.60 / 1,000 transcript from captions
YouTube Transcript & Subtitles Scraper + AI Fallback
Get YouTube transcripts and subtitles in bulk. Videos with no captions are transcribed with AI automatically. Returns the spoken language, plain text, timestamped segments and optional video details (title, channel, views). Ready for n8n, Make, LLMs and RAG.
Pricing
from $1.60 / 1,000 transcript from captions
Rating
0.0
(0)
Developer
yTranscript API
Maintained by CommunityActor stats
0
Bookmarked
8
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
Get transcripts of YouTube videos in bulk, including videos that have no captions. Paste video links or IDs, or whole channels and playlists, and get back clean text plus timestamped segments in the language actually spoken. Optionally add each video's title, channel, views and other details at no extra charge.
Why this scraper
- Works on videos without captions. When a video has no captions, it's transcribed with AI speech-to-text automatically, in the same run. Most transcript scrapers return nothing for these videos.
- Correct language. You get the language actually spoken by default, including on YouTube's auto-dubbed videos, which list a dozen or more dubbed caption tracks. Nothing is silently translated. Set a language to fetch a specific caption track instead.
- Reliable. Requests go through the yTranscript API, which handles YouTube's bot detection and IP blocking with multiple fallback routes, and alerts the developer within seconds when a request fails on our side.
- A row for every video, never an empty run. Each video you enter comes back as a row with
statussuccessorerror, and the run's status line counts both, so you always know what happened to each video. - Whole channels and playlists. Enter an @handle, channel or playlist and get the transcripts of its newest videos, or of every video since a date. Turn on Only new videos and schedule the run to get each new upload once, as it comes out. Listing is free; you pay only for transcripts.
- Video details included. Turn on one option to get the title, channel, publish date, duration, views, likes, tags, chapters and description in the same row. No second scraper, no extra charge.
- SRT and VTT subtitle files. Pick a format and every video also comes with a ready-to-use subtitle file, timed from its captions or AI transcript, as text in the row and as a download link. No extra charge.
- Failed videos cost nothing. Private, removed, or invalid videos come back as clearly labeled error rows, and you're never charged for them.
Input
| Field | Description |
|---|---|
| YouTube videos | Video URLs (watch, youtu.be, shorts, embed, youtube-nocookie.com, live) or 11-character video IDs. Duplicates are removed automatically. To use only channels and playlists, remove the example video. |
| Channels and playlists (optional) | An @handle, channel URL, channel ID (UC...), playlist URL or playlist ID. Their videos are added to the run, newest first for channels, without repeating any video. |
| Max videos per channel or playlist | How many videos to take from each, from 1 to 5,000. Default 50. |
| Published after (optional) | Only take channel and playlist videos published on or after this date. YouTube shows exact dates only for a channel's newest 15 videos, so a few videos from just before the date can be included; none after it are missed. |
| Skip Shorts and live streams | For channels, take regular videos only. |
| Only new videos | Skip channel and playlist videos that an earlier run with this option already transcribed. They're remembered in a key-value store named ytranscript-seen-videos on your account; delete it to start over. Videos that failed for a temporary reason are tried again; videos with no transcript at all (no speech, private) are not. |
| Language (optional) | Caption language code such as en or es. Leave empty to get each video's original language. A video with no captions in that language is transcribed with AI in the language actually spoken (charged as AI; see lang). |
| Include timestamped segments | Adds a segments array with start time, duration, and text. On by default. |
| Include video details | Adds the title, channel, publish date, duration, views, likes, tags, category, chapters, thumbnail and description to each row. Off by default. No extra charge. |
| Subtitle file | None, SRT or WebVTT. Adds the subtitle file's text as subtitles and a download link as subtitlesUrl. Off by default. No extra charge. |
| Max concurrency | How many videos to fetch at once, from 1 to 5. |
Output
One row per video:
{"videoId": "L9R64Q2E2lQ","url": "https://www.youtube.com/watch?v=L9R64Q2E2lQ","status": "success","language": "en","source": "captions","text": "hi there it has been a very very long time since I released the pattern...","characterCount": 86900,"segments": [{ "start": 2.76, "duration": 4.679, "text": "hi there it has been a very very long" }]}
source is captions when the text came from YouTube's captions, or ai-transcription when the video had none and was transcribed with AI.
With Subtitle file set to SRT, each row also has:
{"subtitles": "1\n00:00:02,760 --> 00:00:07,439\nhi there it has been a very very long\n\n2\n...","subtitlesUrl": "https://api.apify.com/v2/key-value-stores/<store id>/records/L9R64Q2E2lQ.srt?signature=..."}
The link works without an Apify token, so you can open it in a browser or hand it to another tool. The files are also in the run's key-value store (Storage tab), named by video ID. When auto captions overlap, each cue ends where the next one starts, so players never show two stacked lines.
A row has a notice only when its transcript isn't in the language you chose: the video has no captions in that language and AI transcription couldn't run, so these are the video's default captions, and notice says why.
With Include video details on, each row also has:
{"title": "Design Patterns Revisited","channelName": "Example Channel","channelHandle": "@examplechannel","channelUrl": "https://www.youtube.com/@examplechannel","channelId": "UCxxxxxxxxxxxxxxxxxxxxxx","channelSubscribers": 125000,"publishedAt": "2024-05-01T10:00:00-07:00","durationSeconds": 5400,"viewCount": 482113,"likeCount": 9120,"category": "Education","tags": ["design patterns", "software"],"chapters": [{ "start": 0, "title": "Intro" }, { "start": 90, "title": "Why patterns" }],"thumbnailUrl": "https://i.ytimg.com/vi/L9R64Q2E2lQ/maxresdefault.jpg","description": "In this talk..."}
Subscriber and like counts are rounded the way YouTube shows them. When YouTube limits what it shows for a video, durationSeconds, tags and category can be null; the transcript is not affected.
Failed videos look like this:
{ "videoId": "abc123xyz00", "status": "error", "errorCode": "no_transcript", "error": "No transcript available for this video." }
With Include video details on, failed rows also have the video's details when they can be read (and null columns when they can't), so you still get the title and stats of a video without a transcript, and every row has the same columns in CSV and Excel.
Rows for videos from a channel or playlist also have listedFrom, the channel or playlist they came from. A channel or playlist that can't be read gets one error row with not_found (it doesn't exist or is private) and costs nothing.
Error codes: invalid_input, no_transcript (private, removed, age-restricted, or no speech), temporarily_unavailable (YouTube was blocking us; the actor already retried for several minutes, so run the video again later), fetch_failed.
Pricing
You pay per successful transcript:
- Transcript from captions: a flat price per video, shown on the Pricing tab
- AI transcription (videos without captions): a price per minute of audio, rounded up to the next minute, shown on the Pricing tab. A 10-minute video is charged 10 minutes.
Listing channels and playlists, video details and subtitle files are included in the price of the transcript. Failed and invalid videos are free. If you set a maximum cost for a run, the scraper stops cleanly when it's reached and doesn't charge anything past it. An AI transcript that wouldn't fit in what's left of the budget isn't delivered or charged.
Use cases
- Feeding video content to ChatGPT, Claude, or your own LLM pipeline
- Research and content analysis across many videos
- Subtitles for video editing, re-uploads and accessibility (SRT and VTT)
- Following channels: a scheduled run with Only new videos delivers each new upload's transcript
- Search and content indexing
- Repurposing videos into blog posts, notes, and summaries
Integrations
Export results as JSON, CSV, or Excel, or connect them to Make, Zapier, n8n, Google Sheets, and webhooks through Apify integrations.
Large batches from n8n, Make or Zapier: a "run Actor and wait for results" step usually gives up after about 5 minutes, which a big batch (or several AI transcriptions) can take longer than. Start the run without waiting, then fetch the dataset when it finishes: in n8n, the Apify node's "Run an Actor" followed by "Get dataset items", or an Apify webhook on run success. For direct API access from your own code or from AI tools like Claude and Cursor, see ytranscript.com/developers.
Feedback
Found a video that didn't work, or want a field added? Open an issue on the Issues tab and it usually gets fixed within days. If the scraper saved you time, a review on its Store page helps other people find it.