YouTube Transcript Scraper: Videos, Channels and Playlists avatar

YouTube Transcript Scraper: Videos, Channels and Playlists

Pricing

from $2.91 / 1,000 transcripts

Go to Apify Store
YouTube Transcript Scraper: Videos, Channels and Playlists

YouTube Transcript Scraper: Videos, Channels and Playlists

Get YouTube transcripts in bulk from video links, Shorts, channels, playlists and search phrases: full text, timestamped segments and SRT, with title, channel, length and views. Choose languages, translation and human or auto captions. For AI and RAG datasets and content repurposing.

Pricing

from $2.91 / 1,000 transcripts

Rating

0.0

(0)

Developer

Oski

Oski

Maintained by Community

Actor stats

0

Bookmarked

18

Total users

1

Monthly active users

13 days ago

Last modified

Categories

Features

Limited permissions

Share

Get YouTube transcripts in bulk as clean text with timestamps. Paste video links, Shorts, a whole channel, a playlist or a search, and every video comes back with its full transcript, the caption language, whether the captions are human-written or automatic, and the video's title, channel, length and views. You are only charged when a transcript actually exists, so videos without captions, private or removed videos cost nothing.

Tired of a transcript scraper that takes one video per run, fails every few runs and charges you anyway? This one takes as many videos as you like in one run. It retries on a fresh IP when YouTube pushes back and switches to a residential IP automatically when YouTube asks for a bot check, at no extra cost. Every row tells you plainly why a video had no transcript.

Also from Oski: Telegram Channel Scraper for public channel posts, and Website Contact Finder for a creator's business email from their website.

What you can use it for

  • AI and RAG builders turning a channel or playlist into a text corpus for search, chatbots or fine-tuning.
  • Content repurposers turning videos into blog posts, newsletters, threads and show notes.
  • Researchers and journalists searching what was said across hundreds of videos, with timestamps to cite.
  • Marketers studying the scripts of competitors' and top creators' videos, hooks included.
  • Educators and students getting lecture and tutorial transcripts for notes and study.
  • Accessibility and localisation teams exporting ready-made SRT subtitle files.

How to use it

  1. Under YouTube videos, Shorts, channels or playlists, paste links one per line (or several on one line). Video IDs, youtu.be links and @handles work too.
  2. Optionally add Search phrases to get transcripts of the top videos for a topic.
  3. Set Max videos per channel, playlist or search (single videos always count as one) and your Preferred languages, then click Start.
  4. When it finishes, open the Output tab and download as CSV, Excel or JSON.

While it runs, the status line at the top of the run page shows progress (for example "Source 2 of 3: @veritasium. 48 transcripts so far."). When it finishes, the same line says what was found and explains anything that came back without a transcript, so you never have to read the log.

Run it on a schedule

The recurring job for this actor is keeping up with channels: read the newest videos of the channels you follow every morning, so each new video's transcript lands in your sheet, archive or vector database soon after it is posted.

Input for a daily run

{
"urls": [
"https://www.youtube.com/@3blue1brown"
],
"maxVideosPerSource": 10,
"languages": [
"en"
],
"includeTimestamps": false
}

Channels are read newest first, so this returns the channel's latest 10 videos. A run does not remember earlier runs: match on video_id and keep only the rows you have not seen before.

Set it up in three steps

  1. Open the actor, fill in the input above and click Save as a new task.
  2. Open Schedules in the Apify console, click Create new and pick how often. For every day at 07:00 UTC the cron line is 0 7 * * *.
  3. Add the saved task to the schedule and save.

A month costs about $0.96, assuming 30 runs that each return 10 transcripts (30 x ($0.002 + 10 x $0.003)). Each run reads the newest 10 again and charges for every transcript it returns, so lower the limit, or run weekly with 0 7 * * 1, for a channel that posts less often.

Or create the schedule over the API

curl -X POST "https://api.apify.com/v2/schedules" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "daily-youtube-transcripts",
"cronExpression": "0 7 * * *",
"timezone": "UTC",
"isEnabled": true,
"isExclusive": true,
"actions": [{
"type": "RUN_ACTOR",
"actorId": "oski~youtube-transcript-scraper",
"runInput": {
"body": "{\"urls\": [\"https://www.youtube.com/@3blue1brown\"], \"maxVideosPerSource\": 10, \"languages\": [\"en\"], \"includeTimestamps\": false}",
"contentType": "application/json; charset=utf-8"
}
}]
}'

How much does it cost?

A $0.002 start fee per run, then $0.003 per transcript. Videos with no captions, only "[Music]" captions, or that are private, removed or age-restricted are returned for your records and not charged. Every row has a charged field so you can see exactly what you paid for.

TranscriptsMathsCost
1$0.002 + 1 x $0.003$0.005
100$0.002 + 100 x $0.003about $0.30
1,000$0.002 + 1,000 x $0.003about $3.00
10,000$0.002 + 10,000 x $0.003about $30.00

A whole channel of 1,000 videos costs about three dollars, so put everything into one run rather than paying a start fee per video.

What you get for each video

FieldExampleNotes
video_id, urlHOMYo539G7g, https://www.youtube.com/watch?v=HOMYo539G7g
status, messageok, nullmessage explains in plain words why a video has no transcript, or that you got another language than you asked for.
titleStop Wasting Money On Expensive Robot Vacuums 2026
channel_name, channel_id, channel_urlVacuum Nerds, UCXr7DUq4hhhh-R_NDifRemg, the channel link
duration_seconds, view_count563, 229252
language, language_nameen, English (auto-generated)The language of the transcript you received.
caption_typeautomanual for human captions, auto for YouTube's speech recognition.
translated_tonullFilled when YouTube translated the captions for you.
available_languages["en (auto)"]Every caption track the video has.
word_count, segment_count1833, 277
textYou might think you need to spend a lot of money...The whole transcript as one block of text.
segments[{"start": 0, "duration": 3.68, "text": "..."}]One entry per caption line, with times in seconds. On by default.
srtThe transcript as an SRT subtitle file, when you switch the option on.
descriptionIn this video we look at robots...The video's description. On by default.
sourcesearch "best robot vacuum"Which of your links or phrases the video came from.
chargedtrueTrue only for rows with a transcript.
proxy_tierdefaultWhich proxy the video was read through. You pay the same either way.
scraped_at2026-10-11T02:46:07Z

Input

FieldWhat it does
YouTube videos, Shorts, channels or playlistsAnything from YouTube: https://www.youtube.com/watch?v=..., youtu.be/..., /shorts/..., /live/..., a bare video ID, @handle, a channel link, a playlist link or a search results page.
Search phrasesTranscripts of the top videos YouTube shows for each phrase.
Max videos per channel, playlist or searchCap per source. Channels go newest first. Default 200.
Preferred languagesLanguage codes in order, such as en, es, pt-BR. Human captions beat auto captions in the same language. If none match, you get the video's own language and the message field says so.
Translate when my language is missingAsk YouTube for an automatic translation into your first language. YouTube sometimes refuses; those videos still come back in the original language, flagged.
Caption typeAny (human first), human only, or auto only.
Channel tabsVideos, Shorts and/or Live streams when you paste a channel.
Include timestamped segments / SRT / descriptionExtra fields for each video.
Advanced: max videos in total, videos at once, residential fallback, proxyBudget cap and speed. The defaults suit almost every run.

Already using another transcript actor through the API? Inputs with videoUrl, videoUrls, startUrls, youtube_url, channel_url, targetLanguage or language work here unchanged.

Example input

The smallest useful input is one video:

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

A fuller job: the newest 50 videos and Shorts of a channel, a playlist and a search, in English when the video has it and Spanish otherwise, with SRT files:

{
"urls": [
"https://www.youtube.com/@3blue1brown",
"https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab"
],
"searchQueries": ["sourdough starter"],
"maxVideosPerSource": 50,
"languages": ["en", "es"],
"translate": true,
"captionType": "any",
"channelTabs": ["videos", "shorts"],
"includeTimestamps": true,
"includeSrt": true,
"includeDescription": false
}

Over the API the field names are urls, searchQueries, maxVideosPerSource, languages, translate, captionType (any, manual or auto), channelTabs (any of videos, shorts, streams), includeTimestamps, includeSrt, includeDescription, maxVideos, concurrency (1 to 10) and residentialFallback.

Output sample

One video from a search for best robot vacuum, as the actor returned it. Three things were shortened to keep it readable: text (9,780 characters in the real row), description (1,139 characters) and segments (277 entries, the first four shown).

{
"video_id": "HOMYo539G7g",
"url": "https://www.youtube.com/watch?v=HOMYo539G7g",
"status": "ok",
"message": null,
"title": "Stop Wasting Money On Expensive Robot Vacuums 2026",
"channel_name": "Vacuum Nerds",
"channel_id": "UCXr7DUq4hhhh-R_NDifRemg",
"channel_url": "https://www.youtube.com/channel/UCXr7DUq4hhhh-R_NDifRemg",
"duration_seconds": 563,
"view_count": 229252,
"language": "en",
"language_name": "English (auto-generated)",
"caption_type": "auto",
"translated_to": null,
"available_languages": ["en (auto)"],
"word_count": 1833,
"segment_count": 277,
"text": "You might think you need to spend a lot of money on an expensive robot vacuum to get great performance, but you don't. >> You see, we've tested a ton of robot vacuums with similar performance to the best on the market, but for way less money. >> In this video, we are presenting lower cost alternatives from most expensive to least expensive. ...",
"source": "search \"best robot vacuum\"",
"proxy_tier": "default",
"scraped_at": "2026-10-11T02:46:07Z",
"description": "In this video we look at robots in different price categories and provide more affordable picks. ...",
"segments": [
{"start": 0, "duration": 3.68, "text": "You might think you need to spend a lot"},
{"start": 1.6, "duration": 4.84, "text": "of money on an expensive robot vacuum to"},
{"start": 3.68, "duration": 5.2, "text": "get great performance, but you don't."},
{"start": 6.44, "duration": 4.24, "text": ">> You see, we've tested a ton of robot"}
],
"charged": true
}

status is one of ok, no_transcript, music_only, no_matching_type, age_restricted, private, unavailable, live or blocked, and message explains it in plain words. Only ok rows are charged. Add srt with the SRT option.

If something looks wrong

The status line at the end of every run explains anything that came back without a transcript. The common messages:

MessageWhat to do
Input problem: ...Something in the input needs changing, and the message says what. The run stopped before anything was charged.
Channel ... was not foundCheck the handle (for example @mkbhd) or paste the channel link from your browser.
Searched YouTube for "..." because it is not a linkYou typed words into the links box. That's fine, but put phrases under Search phrases next time.
N videos had no captionsThe creator did not add captions and YouTube made no auto captions. Nothing to fetch, not charged.
N videos were age-restrictedYouTube only shows these to signed-in adults. Not charged.
N videos were refused by YouTubeRare: every IP we tried was turned away. Run those links again later. Not charged.
No en captions; this is the original ko transcriptThe video has no captions in your language. Turn on Translate to ask YouTube for a translation.

Still stuck? Open an issue on the actor page with the run link and it gets looked at quickly.

Tips for bigger runs

  • Put a whole channel in one run. Paste the @handle and set the per-source limit to the channel size; the start fee is paid once.
  • Pick the channel tabs you need. Channels list Videos, Shorts and Live streams separately; tick all three to get everything a channel posted.
  • Duplicates are removed automatically, so overlapping channels, playlists and searches cost nothing extra.
  • Schedule a channel daily with a small limit (say 10) to collect each new video's transcript as it appears.
  • Leave "Videos at once" at 5. Higher is faster on big channels but makes YouTube push back more often.

Scheduling and integrations

To run it every day or week, see Run it on a schedule; to send the transcripts to Google Sheets, a vector database or your own system, see Use it in n8n, Make or Zapier or Apify's own integrations and webhooks.

Use it in n8n, Make or Zapier

Any tool that can send an HTTP request can run this actor and get the rows back in the same call.

SettingValue
MethodPOST
URLhttps://api.apify.com/v2/acts/oski~youtube-transcript-scraper/run-sync-get-dataset-items
HeaderAuthorization: Bearer YOUR_TOKEN
Body typeJSON, with an input such as the one below
{
"urls": [
"https://www.youtube.com/@3blue1brown"
],
"maxVideosPerSource": 5,
"includeTimestamps": false
}

n8n: add an HTTP Request node with those settings after a Schedule Trigger. Each returned row becomes one n8n item, so the next node (Google Sheets, Slack, email) receives one row per video.

Make and Zapier: Make has an HTTP "Make a request" module; use the same four settings. Zapier has "Webhooks by Zapier" (Custom Request); use the same four settings there too.

This call waits for the run to finish and Apify ends it after 300 seconds, so keep Max videos per channel, playlist or search small on this route and use a schedule plus the dataset for large runs.

YouTube transcript API: call it from your code

Use the actor as a YouTube transcript API: send videos, channels, playlists or search phrases, get transcripts back as JSON.

curl (waits for the run and returns the transcripts):

curl -X POST "https://api.apify.com/v2/acts/oski~youtube-transcript-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"urls": ["https://www.youtube.com/watch?v=aircAruvnKk", "@veritasium"], "maxVideosPerSource": 20}'

The sync endpoint waits up to 5 minutes. For big runs, start the run with /runs and read the dataset when it finishes, or use one of the clients below, which wait for you.

Python (pip install apify-client):

from apify_client import ApifyClient
client = ApifyClient("YOUR_TOKEN")
run = client.actor("oski/youtube-transcript-scraper").call(run_input={
"urls": ["https://www.youtube.com/@3blue1brown"],
"maxVideosPerSource": 50,
"languages": ["en"],
"includeTimestamps": False,
})
for video in client.dataset(run["defaultDatasetId"]).iterate_items():
if video["status"] == "ok":
print(video["title"], video["word_count"], video["text"][:80])

JavaScript (npm install apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('oski/youtube-transcript-scraper').call({
searchQueries: ['home workout for beginners'],
maxVideosPerSource: 20,
languages: ['en'],
includeSrt: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
const found = items.filter((v) => v.status === 'ok');
console.log(found.length, 'transcripts from', items.length, 'videos');

Use it with AI agents and LLM apps

  • Claude, Cursor and other MCP clients: connect Apify's MCP server and add this actor by its name, oski/youtube-transcript-scraper. The agent can then answer questions such as "what does this video say about battery life?" from the real transcript.
  • RAG and search: text is the whole transcript as one block for embedding, and segments carries a start time for every line, so an answer can link back to the exact second of the video. video_id is a stable key for a vector store.
  • Cheaper prompts: send includeTimestamps: false and includeDescription: false when the model only needs the words. Check status before you prompt: only ok rows have a transcript, and caption_type tells the model whether it is reading human captions or speech recognition.

The actor reads only captions that YouTube publishes to everyone, without logging in. The output carries channel names and whatever people say in the videos, which can include personal data, so you are responsible for having a lawful reason to store and use it. Transcripts belong to their creators, and you are also responsible for how you use them under copyright law and YouTube's terms. This is general information and not legal advice.

FAQ

Do I need a YouTube account or API key? No. It reads the same public captions YouTube shows under any video, with no login and no quota.

Which videos have transcripts? Most videos with speech have automatic captions in their spoken language. Many also have human captions, often in several languages. Music-only videos and very new uploads sometimes have none.

Is auto-caption text accurate? It is YouTube's speech recognition: good for search and summaries, with occasional misheard words and little punctuation. Choose "Human captions only" when accuracy matters more than coverage.

Can I get a language the video was not captioned in? Turn on Translate. YouTube's automatic translation is used when it agrees; when it refuses, you still get the original transcript, flagged in the message field.

Can I get the transcripts of a whole channel or playlist? Yes. Paste the channel link, @handle or playlist link and set Max videos per channel, playlist or search to the number you want, up to 20,000 per source. Channels are read newest first.

Can I get only the newest videos of a channel? Yes. Schedule the channel with a small per-source limit, for example 10. Channels are read newest first, so each run returns the latest uploads. A run does not remember earlier runs, so keep the rows whose video_id you have not seen before.

Does it work for Shorts and live streams? Yes. Paste a Shorts or /live/ link directly, or paste a channel and tick Shorts or Live streams under Channel tabs. A stream that is still live comes back with the status live and is not charged.

Can I export to Excel, Google Sheets or SRT files? Yes. Download the results as Excel, CSV or JSON from the Output tab, or use Apify's Google Sheets integration. Switch on Include SRT subtitles to get each transcript as a subtitle file in the srt field.

What if it breaks? Open an issue on the actor page and it gets fixed fast. Every row carries a status and a plain message, so a problem shows up in your data instead of as silently empty rows.

Changelog

  • 29 September 2026 (0.1.4): first public release, priced at $0.002 per run and $0.003 per transcript. Videos, Shorts, channels, playlists and searches in one run, language preference with optional translation, text, timestamped segments and SRT.
  • Accepts the input names used by other transcript actors (videoUrl, videoUrls, startUrls, youtube_url, channel_url, targetLanguage, language), so an existing API call works unchanged.

Other scrapers from Oski