๐ฌ YouTube Transcript Scraper
Pricing
from $3.50 / 1,000 results
๐ฌ YouTube Transcript Scraper
Turn any YouTube video, playlist or channel into clean, structured text. Bulk-extract transcripts and captions in 75 languages, plus views, likes, comments, keywords and thumbnails. Text array, plain text, WebVTT or SRT โ ready for AI training data, RAG pipelines, summarisation and SEO.
Pricing
from $3.50 / 1,000 results
Rating
0.0
(0)
Developer
Data Minds
Maintained by CommunityActor stats
0
Bookmarked
4
Total users
1
Monthly active users
11 hours ago
Last modified
Features
Share
๐ What is YouTube Transcript Scraper?
โก Fast start ยท ๐ Timestamped transcripts ยท ๐ฌ SRT and WebVTT files ยท ๐ค Works with AI agents
YouTube Transcript Scraper turns YouTube videos, Shorts, playlists, channels and search results into clean transcript data, one row per video. Paste your links or type a search phrase, press Start, and you get the full text with timestamps, the transcript language, chapters and basic video facts. It suits researchers, marketers, creators and AI builders who want spoken content as text without writing code.
- ๐ค Feed your AI: get the YouTube transcript word count, reading time and clean text for summaries and search. The text is ready for an LLM or a RAG pipeline.
- โจ Repurpose videos: turn talks and tutorials into blog posts, newsletters and social posts. Clean text and ready SRT or WebVTT files give you a head start.
- ๐ Research a channel or topic: read every video of a channel or playlist, or the top results of a search, then compare topics over time.
- ๐ Get the language you need: pick one or more languages in priority order, or keep the video's original language.
- ๐ฏ Choose the caption type: accept any captions, only creator captions, or only auto-generated ones.
- ๐ Keep it fresh: schedule runs and send the transcripts to your sheet, your app or your AI agent.
๐ฆ What data can YouTube Transcript Scraper extract?
Every row in the results table is one video. The fields are grouped below; the main ones are described in the Output section.
| Data | Fields |
|---|---|
| ๐ Video basics | id, url, title, description, thumbnail_url, source_url |
| ๐ค Channel | channel_name, channel_id, channel_url |
| ๐ Engagement | view_count, like_count, comment_count |
| ๐ Dates and length | published_at, published_date_text, published_relative, duration_seconds, duration_human, scraped_at |
| ๐ Category and tags | category, keywords, hashtags, is_short, is_unlisted, is_livestream |
| ๐ Transcript | transcript_only_text, transcript, transcript_language, transcript_language_name, transcript_type, is_generated, is_translatable, word_count, reading_time_minutes, snippet_count |
| ๐ Languages | available_languages, translation_languages |
| ๐งพ Captions and subtitle files | captions, transcript_srt, transcript_vtt |
| ๐ Chapters | chapters |
| โ Status | status, error_type, error, warning |
| ๐งฉ Short aliases for other tools | video_id, language_code, tags, categories, upload_date, total_seconds, was_live, success, error_message, availability |
โ Note: Likes, publish date, category, flags, comment count and chapters need the Video details and chapters option, which is on by default. Not every video has captions: videos without a transcript still get a row with a status and a reason.
โ What can't YouTube Transcript Scraper extract?
- โ Transcripts of videos that have no captions at all, neither creator-supplied nor auto-generated.
- โ Transcripts of private, age-restricted or removed videos, and of live streams that are still live.
- โ Comment texts. You get the comment count only.
For the comments themselves, try YouTube Comments Scraper.
๐ How to scrape YouTube transcripts
YouTube Transcript Scraper is designed for an easy start, even if you have never extracted data from the web before.
- ๐ Create a free Apify account using your email.
- ๐ Open YouTube Transcript Scraper and go to the Input tab.
- ๐ฅ Paste video, Shorts, playlist or channel links, one per line, or type search keywords.
- ๐ Pick your transcript languages and, if you like, the caption type and format.
- ๐ Click Start and wait for the run to finish.
- ๐ค Open the Output tab to view the transcripts as a table, or download them as JSON, CSV, Excel, XML or HTML.
๐ Quick start: a good first run is one video link and
maxItemsset to a small number.
{"urls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],"languages": ["en"]}
๐ฐ How much does it cost to scrape YouTube transcripts?
YouTube Transcript Scraper uses a pay per event model, with prices from $0.005 per transcript ($5.00 per 1,000 transcripts) on the Gold plan. You pay for each video row with a transcript that is saved. Rows for videos without a transcript, unavailable videos, live streams and links that could not be read are not charged. Apify platform usage is billed in addition.
| Apify plan | Price per transcript | Price per 1,000 transcripts |
|---|---|---|
| ๐ Free | $0.007 | $7.00 |
| ๐ฅ Bronze | $0.0063 | $6.30 |
| ๐ฅ Silver | $0.0056 | $5.60 |
| ๐ฅ Gold | $0.005 | $5.00 |
Each run also has one start event of $0.00005, which covers the default 1 GB of memory.
โ Good to know: a row is charged only when a transcript was returned. The Only list caption languages mode also returns one charged row per video.
What a run costs (transcript price only, start event not included):
| Transcripts | Free | Bronze | Silver | Gold |
|---|---|---|---|---|
| 100 | 100 x $0.007 = $0.70 | 100 x $0.0063 = $0.63 | 100 x $0.0056 = $0.56 | 100 x $0.005 = $0.50 |
| 1,000 | 1,000 x $0.007 = $7.00 | 1,000 x $0.0063 = $6.30 | 1,000 x $0.0056 = $5.60 | 1,000 x $0.005 = $5.00 |
| 10,000 | 10,000 x $0.007 = $70.00 | 10,000 x $0.0063 = $63.00 | 10,000 x $0.0056 = $56.00 | 10,000 x $0.005 = $50.00 |
๐ Is scraping YouTube transcripts free?
You can start for free. The Apify Free plan includes $5 of monthly credit. At the Free price of $0.007 per transcript, $5 / $0.007 = about 714 transcripts before platform usage. Paid plans lower the price per transcript, as the table shows.
๐ง Input
Add the videos, playlists, channels or search phrases you want to read, then choose languages and the output shape. Set the input in the Input tab or send it as JSON through the API. You need at least one link or one search keyword.
| Field | Type | Default | What it does |
|---|---|---|---|
urls | array of strings | none | Video, Shorts or youtu.be links, playlist links, or channel links (@handle or /channel/..., optionally ending in /videos, /shorts or /streams). One per line. Leave empty when you only use search keywords. |
searchKeywords | array of strings | none | Each phrase runs a YouTube video search and returns the transcripts of the matching videos, up to maxItems per phrase. Works together with urls. |
maxItems | integer | 10 | How many videos to read for each channel, playlist or search keyword, from 1 to 10000. A direct video link always gives its one video. |
languages | array of strings | ["auto"] | Transcript languages in priority order. auto uses the video's original language. Creator captions win over auto-generated ones. 39 languages are available. |
transcriptType | string | any | Which captions to accept: any (creator captions first), manual (creator captions only) or auto (auto-generated only). Videos without the chosen kind get a row that says so. |
scrapeShorts | boolean | false | Include Shorts found inside channels and playlists. A Shorts link you paste directly is always read. |
searchSubtitlesOnly | boolean | true | For search keywords only: keep results that YouTube marks as having subtitles, so fewer rows come back empty. |
outputFormat | string | captions | Shape of the captions field: captions, textWithTimestamps, singleStringText, srt, vtt, xmlWithoutTimestamps or xmlWithTimestamps. Timed segments and plain text are always in their own fields. |
includeDetails | boolean | true | Add likes, publish date, category, Short and unlisted flags, comment count and chapters with their transcript text. Turn it off if you only need the transcript. |
includeSrt | boolean | false | Add a ready-to-use SRT subtitle file as text for every video. |
includeVtt | boolean | false | Add a ready-to-use WebVTT subtitle file as text for every video. |
listOnly | boolean | false | Skip the transcript and return only the caption and translation languages each video offers. |
proxyConfiguration | object | none | Optional network settings for the run. The default works for most runs. |
Minimal input:
{"urls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]}
Advanced input: the 25 newest videos of a channel and the top results of a search, with English creator captions, SRT files and no Shorts:
{"urls": ["https://www.youtube.com/@lexfridman/videos"],"searchKeywords": ["machine learning explained"],"maxItems": 25,"languages": ["en"],"transcriptType": "manual","scrapeShorts": false,"outputFormat": "singleStringText","includeDetails": true,"includeSrt": true}
The limit counts per source: three channel links with maxItems 20 give up to 60 rows. Languages are language codes such as en or zh-Hans, not names. If a language is not offered, YouTube's own translation is tried, and if that is not available either, the original transcript is returned and the warning field says so. See the input tab for the full schema.
๐ก Tip: Start with a low
maxItemsto check the sample, then raise it for the full run.
๐ค Output
Results are stored in a dataset, which you can open in the Output or Storage tab. View them as a table or JSON, pick only the fields you need, and download them as JSON, CSV, Excel, XML or HTML. Your YouTube transcript export is one click away from the same page. The table has three ready-made views: Videos (status and key facts), Transcripts (text, segments, captions and subtitle files) and Video details (channel, engagement, chapters and keywords).
Through the API, read the rows from this URL pattern:
https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json
Add &view=overview, &view=transcript or &view=details to get one of the views.
The main fields of each video row:
| Field | Type | Description |
|---|---|---|
id | string | YouTube video ID. |
url | string | Link to the video. |
title | string | Video title. |
channel_name | string | Name of the channel. |
duration_seconds | integer | Length of the video in seconds. |
view_count | integer | Views. |
like_count | integer | Likes (needs Video details and chapters). |
published_at | string | Publish date and time (needs Video details and chapters). |
transcript_language | string | Language code of the returned transcript. |
transcript_language_name | string | Language name of the returned transcript. |
transcript_type | string | Where the text comes from, for example manual (creator captions), auto or translated. |
word_count | integer | Number of words in the transcript. |
reading_time_minutes | number | Reading time, calculated as words divided by 200 per minute. |
transcript_only_text | string | The transcript as plain text. |
transcript | array | Timed segments with text, startMs, endMs and startTimeText. |
captions | array or string | The transcript in the shape chosen with outputFormat. |
transcript_srt | string | SRT subtitle file as text (only with includeSrt). |
transcript_vtt | string | WebVTT subtitle file as text (only with includeVtt). |
available_languages | array | Caption languages the video offers. |
chapters | array | Chapters with title, start time and transcript text (needs Video details and chapters). |
status | string | ok when a transcript was returned. Other values explain why not, for example no_transcript, live or unavailable. |
error | string | Plain-language reason when no transcript was returned. |
warning | string | A note, for example when the original language was returned instead of the one you asked for. |
source_url | string | The link or keyword the row came from. |
scraped_at | string | When the row was collected (ISO 8601). |
An abridged example row:
{"id": "jNQXAC9IVRw","url": "https://www.youtube.com/watch?v=jNQXAC9IVRw","title": "Me at the zoo","channel_name": "jawed","duration_seconds": 19,"view_count": 448943165,"like_count": 20142662,"published_at": "2005-04-23T20:31:52-07:00","transcript_language": "de","transcript_language_name": "German","transcript_type": "manual","word_count": 33,"reading_time_minutes": 0.2,"transcript_only_text": "Also hier sind wir vor den Elefanten.\nDas Coole an den Typen ...","transcript": [{ "text": "Also hier sind wir vor den Elefanten.", "startMs": "0", "endMs": "5067", "startTimeText": "0:00" }],"status": "ok","error": null,"scraped_at": "2026-11-20T14:30:39+00:00"}
A second record, RUN_SUMMARY, is saved in the run's key-value store and gives the counts of the run:
| Field | Type | Description |
|---|---|---|
inputs | integer | Links and keywords you gave. |
rows | integer | Transcript rows saved. |
ok | integer | Videos read successfully. |
skipped | integer | Videos with no transcript, live or unavailable videos, or videos skipped at the spend limit. |
failed | integer | Videos or links that could not be read. |
seconds | number | Run time in seconds. |
spendLimitReached | boolean | True when the run stopped at your spend limit. |
message | string | The final status message of the run. |
๐ก Tips and advanced usage
โก How to get faster or cheaper results
- โก Set a low Max videos per channel, playlist or keyword and raise it once the sample looks right.
- โก Switch Video details and chapters off when you only need the transcript text.
- โก Keep Search: only videos with subtitles on, so fewer search results come back without a transcript.
- โก Set a spend limit on the run if you want a hard cost ceiling.
๐ฅ How to download a YouTube transcript as SRT or WebVTT
Turn on SRT subtitles or WebVTT subtitles. Every row then gets the subtitle file as text in transcript_srt or transcript_vtt. Save the text with the file ending .srt or .vtt and upload it wherever you need subtitles. The same run can cover many videos at once.
๐ฅ How to download auto-generated YouTube captions
Set Transcript type to auto-generated only. Videos that have only creator captions then get a row that says so, and the rest return the auto-generated text.
๐ How to get a transcript in another language
Put the language code in Transcript languages, for example ["de"], or list several in priority order such as ["es", "en"]. When a video does not offer your language, YouTube's own translation is tried, and the warning field tells you what you received.
๐ How to check which videos have captions first
Switch on Only list caption languages to get the caption and translation languages of each video without the transcript text. Use it on a large channel to see which videos have captions before you run the full export.
๐งฉ How to scrape many channels at once
Add all your links and keywords to one run. Each channel, playlist and keyword is read separately up to Max videos per channel, playlist or keyword, and every row shows its origin in source_url.
๐ Why did I get fewer transcripts than my limit?
The channel may have fewer public videos, some videos may have no captions, or Shorts may be skipped because Include Shorts is off. Check the status and error fields of the rows, remove the caption type filter if it is strict, and run a small test again.
โ Known issues
- โ Videos without captions, live streams and private videos return a status row instead of a transcript.
- โ YouTube sometimes limits translations. The original transcript is then returned with a note in
warning. - โ If YouTube rate limits a run, it can stop early. The run message says so, and you can run again later for the rest.
๐ Integrations and API
๐ Can I use YouTube Transcript Scraper as an API?
Yes. Start runs, read results and schedule jobs through the Apify API. Use your token from Settings > API & Integrations. Use the YouTube transcript API from Python or JavaScript with the Apify client, or call the endpoints directly.
| Action | Method and URL |
|---|---|
| ๐ Start a run | POST https://api.apify.com/v2/actors/data_minds~youtube-transcript-scraper/runs |
| โก Run and get the results in one call | POST https://api.apify.com/v2/actors/data_minds~youtube-transcript-scraper/run-sync-get-dataset-items |
| ๐ฅ Read results of a run | GET https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json |
| ๐ OpenAPI definition | GET https://api.apify.com/v2/actors/data_minds~youtube-transcript-scraper/builds/default/openapi.json |
curl
curl -X POST "https://api.apify.com/v2/actors/data_minds~youtube-transcript-scraper/run-sync-get-dataset-items" \-H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \-H "Content-Type: application/json" \-d '{"urls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"], "languages": ["en"]}'
Python
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("data_minds/youtube-transcript-scraper").call(run_input={"urls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"], "languages": ["en"]})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item["title"], item["word_count"])
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('data_minds/youtube-transcript-scraper').call({urls: ['https://www.youtube.com/watch?v=dQw4w9WgXcQ'],languages: ['en'],});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
CLI
$echo '{"urls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"], "languages": ["en"]}' | apify call data_minds/youtube-transcript-scraper --silent --output-dataset
The one-call endpoint suits runs that finish in about five minutes. Use the start-a-run endpoint for longer jobs. More code is on the API tab.
๐งฉ Can I connect YouTube Transcript Scraper to other apps?
Yes. Send YouTube transcript data to n8n, Make, Zapier, Slack, Google Sheets, Google Drive, Airbyte or GitHub through Apify integrations. Use a YouTube transcript webhook, set up with webhooks, to notify your team whenever a run finishes. Use schedules to run the scraper every day or week.
๐ค Can I use YouTube Transcript Scraper with AI agents (MCP server)?
Yes. AI agents can call it directly through the hosted Apify MCP server. The Server tab of this Actor shows the same connection settings.
{"mcpServers": {"apify": {"type": "http","url": "https://mcp.apify.com?tools=data_minds/youtube-transcript-scraper"}}}
The hosted server signs you in with OAuth the first time you connect, so no API token belongs in this configuration. If your client cannot use OAuth, send the header Authorization: Bearer <YOUR_APIFY_TOKEN>.
๐ Other YouTube scrapers
| Scraper | What it does |
|---|---|
| ๐ Best YouTube Transcripts Scraper | Gets the transcript of any YouTube video, Short, playlist or channel with timestamped captions, SRT and WebVTT, chapters and language choice. |
| ๐ Fast YouTube Channel Scraper | Scrapes YouTube channels: videos, Shorts and live streams with views, likes, comments, tags, transcripts and channel details. |
| ๐ YouTube Comments Scraper | Collects comments and replies from any YouTube video: author, text, likes, replies, creator heart, pinned status and publish date. |
| ๐ YouTube Scraper | Scrapes YouTube videos, Shorts, live streams, playlists, hashtags, search results and channels. |
| ๐ YouTube Transcript & Subtitles Scraper API | Gets transcripts of videos, Shorts, playlists, channels or searches as timestamped captions, SRT, WebVTT and TXT, with chapters and caption-type choice. |
โ FAQ
๐ก Is it legal to scrape YouTube transcripts?
Web scraping is generally legal if you extract publicly available data. However, you should respect personal data, for example under GDPR, and intellectual property regulations, only collect personal data with a legitimate reason, and take YouTube's Terms of Service into account. Transcripts can contain copyrighted text, so check how you may reuse them.
๐ง How does YouTube Transcript Scraper work?
You add YouTube video, Shorts, playlist or channel links or search keywords, choose your languages and press Start. The Actor reads the public captions of each video and returns one row with the transcript, timestamps, chapters and video facts. Videos without a transcript get a status row with a reason.
๐ฏ Do I need a YouTube API key to get transcripts?
No. This Actor has no field for a key or a Google project. You give links or search keywords and get rows with transcripts, timestamps, subtitle files and video details. You can filter by language and caption type, schedule runs, and download the data in common formats.
๐ Can I use YouTube Transcript Scraper as an API?
Yes. Start a run with the Apify API, pass your links as JSON, and read the dataset items when it finishes. A one-call endpoint returns results directly for short runs, and an OpenAPI definition is available. Ready-made curl, Python, JavaScript and CLI examples are in the Integrations and API section above.
๐ค Can I use YouTube Transcript Scraper with AI agents (MCP server)?
Yes. Add the hosted Apify MCP server URL with the tools parameter set to data_minds/youtube-transcript-scraper, and your AI assistant can run the Actor and read the transcripts. The first connection signs you in with OAuth. The Server tab of the Actor shows the same connection settings.
๐งฉ Can I connect YouTube Transcript Scraper to Google Sheets, Make or Zapier?
Yes. Apify integrations connect the Actor with Google Sheets, Make, Zapier, n8n, Slack and many other tools. Schedule a run, then use a webhook or an integration to send each new batch of transcripts to your sheet, chat or workflow automatically when the run finishes.
๐ Why did I get fewer transcripts than my limit?
The channel may have fewer public videos, some videos may have no captions, or Shorts may be skipped. Check the status and error fields of the rows to see why a video returned no transcript. Remove a strict caption type filter, turn on Include Shorts if you need them, and run a small test again.
๐ Why does the transcript differ from what I see on YouTube?
Creator captions are used first and auto-generated captions only when nothing else exists, so wording can differ from what you see in the player. If your language was not available, you may have received a YouTube translation or the original language. The type, language and warning fields show exactly what you got.
โ Why does a video return no transcript, or the Actor is not working?
The video may have no captions, may be private, removed, age restricted or still live. The status and error fields of the row give the reason. If the video shows captions in a private browser window and the row still fails, report it on the Issues tab.
๐ฌ Support and feedback
Found a bug or have a feature request? Please create an issue on the Issues tab.
Need a custom solution or more data? Contact us at hello.dataminds@gmail.com.
Built and maintained by data_minds. This Actor is an independent tool and is not affiliated with, endorsed by or sponsored by YouTube or Google.