YouTube Transcript Scraper: From $3.50 per 1,000
Pricing
from $3.50 / 1,000 transcripts
YouTube Transcript Scraper: From $3.50 per 1,000
Get the transcripts of YouTube videos, Shorts and a channel's latest videos, in the language you choose or the one spoken, with each line's timing. Videos without captions are free. From $3.50 per 1,000 transcripts.
YouTube Transcript Scraper
Get the transcripts of YouTube videos, Shorts and a channel's latest videos, with each video's title, channel, views and length.
Pick a language, or get each video in the language spoken in it. Every line comes with its start and duration. Videos without captions are free.
$4.50 per 1,000 transcripts on Apify's Starter plan, less on bigger plans.
What it's for
- AI agents and LLM pipelines: clean text to summarize, classify, embed or feed to RAG.
- Content research: hooks, scripts and talking points of the channels in your niche, as text you can search.
- Repurposing: turn your own videos into posts, newsletters, blog drafts or subtitles.
- Study and research: lectures, talks and interviews as text, with timestamps to cite.
Input
The input and the data field match the most used YouTube transcript actor's, so its users can switch without changing code. One difference: a video without captions in targetLanguage comes in the language spoken in it, not machine-translated.
| Field | What it does |
|---|---|
videoUrl | One video or Short link |
videoUrls | Video or Shorts URLs (youtube.com/watch, youtu.be, /shorts/, /live/) or video IDs, one per line |
channels | Channel URLs or @handles, one per line |
maxVideosPerChannel | Videos per channel, newest first (default 10) |
targetLanguage | A code like en, es or pt-BR. Videos without captions in it come in the language spoken in them |
A run needs at least one of videoUrl, videoUrls or channels:
{"videoUrl": "https://www.youtube.com/watch?v=arj7oStGLkU","targetLanguage": "en"}
Inputs saved for other YouTube transcript actors carry over: youtube_url, channel_url, max_videos, language, languages and startUrls work too.
Output
One row per video:
{"input": "https://www.youtube.com/watch?v=arj7oStGLkU","videoId": "arj7oStGLkU","url": "https://www.youtube.com/watch?v=arj7oStGLkU","title": "Inside the Mind of a Master Procrastinator | Tim Urban | TED","channelName": "TED","channelId": "UCAuUUnT6oDeKwE6v1NGQxug","channelUrl": "https://www.youtube.com/channel/UCAuUUnT6oDeKwE6v1NGQxug","duration": 844,"viewCount": 62109477,"description": "Tim Urban knows that procrastination doesn't make sense…","language": "en","autoGenerated": false,"transcript": "So in college, I was a government major, which means I had to write…","data": [{ "start": "12.645", "dur": "1.37", "text": "So in college," },{ "start": "15.349", "dur": "1.564", "text": "I was a government major," }]}
data has each line with its start and duration in seconds, as strings. autoGenerated is true for YouTube's automatic captions and false for captions written by people. A video without captions comes with an empty transcript, empty data and language set to null.
Videos and channels that can't be read get a row with the reason, free of charge:
{ "input": "https://www.youtube.com/watch?v=xxxxxxxxxxx", "error": "Private video" }
Price
Per 1,000, by your Apify plan:
| Free | Starter | Scale | Business | |
|---|---|---|---|---|
| Transcripts | $6.00 | $4.50 | $4.00 | $3.50 |
- Videos without captions: free
- Private, missing or invalid videos and channels: free
| Run, on Starter | Cost |
|---|---|
| 1,000 videos | $4.50 |
| A channel's 100 latest videos | $0.45 |
A run stops at the maximum cost you set for it. On Apify's free plan, a run reads up to 25 videos. The free plan includes 5 runs of this actor a month.
FAQ
Which videos have captions? Almost every video with someone talking: YouTube captions them automatically. Many also have captions written by people, which come first.
Which languages?
Any language a video has captions in. Leave targetLanguage empty to get the one spoken in each video. It doesn't translate: when a video has no captions in your language, you get the spoken one, and language says which. Captions made for a video's dubbed audio come only when you ask for their language.
How long can a video be? Any length. The transcript covers the whole video.
Shorts and live streams? Shorts work like any video. A live stream has a transcript once it has ended and YouTube has captioned it.
Does it work with private, members-only or age-restricted videos? No. Only public videos.
Is it legal? It reads only public videos. Names and voices are personal data under GDPR and similar laws: use them for a legitimate purpose and honor deletion requests.