YouTube Transcript & Subtitles Scraper API
Pricing
from $2.00 / 1,000 results
YouTube Transcript & Subtitles Scraper API
Get full YouTube transcripts with timestamps and chapters, plus SRT, VTT and TXT subtitle files. Works for videos, Shorts, playlists, channels and search phrases. Language choice, no login or cookies. Bulk input, auto proxy. Export JSON, CSV or Excel.
Pricing
from $2.00 / 1,000 results
Rating
0.0
(0)
Developer
Data Minds
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
Share
๐ What is YouTube Transcript & Subtitles Scraper API?
โก Fast start ยท ๐ Timestamped transcripts ยท ๐ฆ Export to JSON, CSV or Excel ยท ๐ค Works with AI agents
YouTube Transcript & Subtitles Scraper API is a YouTube transcript API that turns videos, Shorts, playlists, channels and search phrases into one clean row per video, with the full transcript, timestamps, chapters and video details. Paste your links, @handles or search phrases, press Start, and add optional SRT, WebVTT and plain text files for every video. It is made for researchers, creators, marketers and AI builders who want spoken content as text, without writing code.
- ๐ค Feed your AI: give an LLM or an AI agent the YouTube transcript text, with word counts and reading time, for summaries, search and a RAG pipeline.
- ๐ Repurpose videos: turn videos into blog posts, newsletters and social posts, and keep the subtitle files ready to upload.
- ๐ Research what is said: read the latest videos of a channel, a playlist or a search and compare what creators talk about.
- ๐ Pick the language: choose one language or several in priority order, or only list the caption languages a video offers.
- ๐ Get chapters with their text: every chapter comes with the part of the transcript that belongs to it.
- ๐ฏ Choose the caption type: take creator captions, auto-generated captions, or whichever exists.
- ๐ Keep it running: schedule runs and send the results to your sheet, your app or your AI agent.
๐ฆ What data can YouTube Transcript & Subtitles Scraper API 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 link and ID | url, video_id |
| ๐ Title and description | title, description |
| ๐ Transcript text and timed lines | timestamped, non_timestamped, snippet_count |
| ๐ Transcript language and type | language, language_code, is_generated, language_matched, transcript_source |
| ๐ Caption languages of the video | available_tracks |
| ๐ฌ Subtitle files (optional) | srt, vtt, txt |
| ๐ Reading stats | word_count, reading_time_min, speaking_rate_wpm |
| ๐ Chapters with their transcript text | chapters |
| ๐ค Channel | channel_name, channel_id, channel_url, channel_subscribers |
| ๐ Engagement | view_count, like_count, comment_count |
| ๐ Dates and category | upload_date, published_at, category |
| ๐ Duration | duration_seconds, duration_human |
| ๐ Tags and links | tags, hashtags, links |
| ๐ท Thumbnail and flags | thumbnail_url, is_live, is_family_safe |
| ๐ Origin of each row | source, source_input, position |
| โ Status | success, error_type, error_message, metadata_error, scraped_at |
โ Note: Likes, comments, subscribers, upload date, category, tags, links, description and chapters need the Video details and chapters option, which is on by default. Videos without a transcript, private or removed videos, and inputs that cannot be read still get a row with an error type and a plain reason.
โ What can't YouTube Transcript & Subtitles Scraper API extract?
- โ Transcripts of videos that have no captions at all, neither from the creator nor auto-generated.
- โ Transcripts of private or removed videos, and age-restricted videos that need a sign-in.
- โ Automatic translation into a language the video does not offer. Pick one of the caption languages the video lists instead.
For search results with views, likes and channel details but no transcript, try YouTube Search API.
๐ How to scrape YouTube transcripts
YouTube Transcript & Subtitles Scraper API 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 & Subtitles Scraper API and go to the Input tab.
- ๐ฅ Add video links, Shorts links, playlist links, channel links or @handles, or plain search phrases, one per line.
- ๐ฏ Set Max videos per input, your Transcript languages and, if you like, the subtitle files you want.
- ๐ Click Start and wait for the run to finish.
- ๐ค Open the Output tab to read 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, one channel and a small limit.
{"urls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ", "@3blue1brown"],"maxItems": 5,"languages": ["en"]}
๐ฐ How much does it cost to scrape YouTube transcripts?
YouTube Transcript & Subtitles Scraper API uses a pay per event model, with prices from $0.002 per transcript ($2.00 per 1,000 transcripts) on the Gold plan. You pay for every video whose transcript, or caption language list, is returned in the result event. Apify platform usage is billed in addition.
| Apify plan | Price per transcript | Price per 1,000 transcripts |
|---|---|---|
| ๐ Free | $0.0025 | $2.50 |
| ๐ฅ Bronze | $0.00225 | $2.25 |
| ๐ฅ Silver | $0.00215 | $2.15 |
| ๐ฅ Gold | $0.002 | $2.00 |
Each run also has one start event of $0.00005, which covers the default 1 GB of memory.
โ Good to know: rows for videos that have no transcript, are private or removed, or could not be read are saved with an error type and are not charged.
What a run costs (transcript price only, start event not included):
| Transcripts | Free | Bronze | Silver | Gold |
|---|---|---|---|---|
| 100 | 100 x $0.0025 = $0.25 | 100 x $0.00225 = $0.225 | 100 x $0.00215 = $0.215 | 100 x $0.002 = $0.20 |
| 1,000 | 1,000 x $0.0025 = $2.50 | 1,000 x $0.00225 = $2.25 | 1,000 x $0.00215 = $2.15 | 1,000 x $0.002 = $2.00 |
| 10,000 | 10,000 x $0.0025 = $25.00 | 10,000 x $0.00225 = $22.50 | 10,000 x $0.00215 = $21.50 | 10,000 x $0.002 = $20.00 |
๐ฐ Is the YouTube transcript API free to try?
You can start for free. The Apify Free plan includes $5 of monthly credit. At the Free price of $0.0025 per transcript, $5 / $0.0025 = about 2,000 transcripts before platform usage. Paid plans lower the price per transcript, as the table shows.
๐ง Input
Add the videos, channels, playlists or search phrases you want to read, then choose the language and the files you need. Set the input in the Input tab or send it as JSON through the API. Only urls is required.
| Field | Type | Default | What it does |
|---|---|---|---|
urls | array of strings | none (required) | Video, Shorts or youtu.be links, playlist links, channel links or @handles, video IDs, or plain search phrases. You can mix them freely and add many at once. |
maxItems | integer | 10 | How many videos to read for each channel, playlist or search phrase, from 1 to 10000. A direct video link always gives its one video. |
languages | array of strings | ["en"] | Language codes in priority order, for example ["es", "en"]. Creator captions win over auto-generated ones. If none is offered you still get the best available track and language_matched is false. |
transcriptType | string | any | Which captions to accept: any (creator captions first), manual (creator captions only) or generated (auto-generated only). |
listOnly | boolean | false | Skip the transcript and return only the caption languages each video offers. A quick check. |
includeMetadata | boolean | true | Add likes, comments, subscribers, upload date, category, tags, links, description and chapters with their transcript text. Makes each video a little slower to read. |
includeSrt | boolean | false | Add a ready-to-use SRT file as text for every video. |
includeVtt | boolean | false | Add a ready-to-use WebVTT file as text for every video. |
includeTxt | boolean | false | Add the transcript as a plain text file, one caption per line, for every video. |
proxyConfiguration | object | none | Optional network settings for the run. The defaults work for most runs. |
Minimal input:
{"urls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]}
Advanced input: the 25 newest videos of a channel and a search, in Spanish first and English second, creator captions only, with all three subtitle files:
{"urls": ["@3blue1brown", "python tutorial"],"maxItems": 25,"languages": ["es", "en"],"transcriptType": "manual","includeMetadata": true,"includeSrt": true,"includeVtt": true,"includeTxt": true}
The limit counts per input: 3 channels with maxItems 20 give up to 60 rows. See the input tab for the full schema.
โ Note: Write languages as codes such as
enorde, not as names such asEnglish.
๐ก 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. The table has ready-made views for videos, transcripts, caption languages, video details and status. A run summary with the counts and the final message is saved as RUN_SUMMARY in the key-value store.
Through the API, read the rows from this URL pattern:
https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json
Add &view=overview (or transcript, tracks, details, status) to get one of the views.
The main fields of each video row:
| Field | Type | Description |
|---|---|---|
url | string | Link to the video. |
video_id | string | YouTube ID of the video. |
title | string | Title of the video. |
channel_name | string | Name of the channel. |
channel_subscribers | number | Subscribers of the channel (needs video details). |
view_count | number | Views of the video. |
comment_count | number | Comments on the video (needs video details). |
like_count | number | Likes of the video (needs video details). |
published_at | string | When the video was published (needs video details). |
category | string | YouTube category of the video (needs video details). |
duration_seconds | number | Length of the video in seconds. |
transcript_source | string | Where the transcript text came from, for example captions. |
language | string | Language of the returned transcript. |
language_code | string | Language code of the returned transcript, for example en. |
is_generated | boolean | True when the captions are auto-generated. |
language_matched | boolean | True when the transcript is in one of your languages. |
available_tracks | array | Every caption language the video offers, with its code and whether it is auto-generated. |
snippet_count | number | Number of timed caption lines. |
word_count | number | Word count of the YouTube transcript. |
reading_time_min | number | Reading time in minutes. |
speaking_rate_wpm | number | Words per minute. |
chapters | array | Chapters with title, start, end and transcript text (needs video details). Empty when the video has no chapters. |
timestamped | array | Caption lines with text, start and duration in seconds. |
non_timestamped | string | The whole transcript as one text. |
srt, vtt, txt | string | Subtitle files as text, only when you switch them on. |
source | string | What the input was: video, channel, playlist or search. |
source_input | string | The link or phrase you gave. |
success | boolean | True when the transcript, or the caption language list, was returned. |
error_type | string | Short reason code when there is no transcript, for example TranscriptsDisabled. |
error_message | string | Plain-language reason. |
scraped_at | string | When the row was collected (ISO 8601, UTC). |
An abridged example row (illustrative values, shortened):
{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ","video_id": "dQw4w9WgXcQ","title": "Example video title","channel_name": "Example channel","channel_subscribers": 100000,"view_count": 25000,"like_count": 1200,"comment_count": 85,"published_at": "2025-01-15T10:00:00-08:00","category": "Education","duration_seconds": 212,"transcript_source": "captions","language": "English","language_code": "en","is_generated": false,"language_matched": true,"available_tracks": [{ "language": "English", "language_code": "en", "is_generated": false, "is_translatable": true }],"snippet_count": 3,"word_count": 24,"reading_time_min": 0.1,"speaking_rate_wpm": 120,"chapters": [{ "title": "Intro", "start": 0.0, "end": 30.0, "text": "Welcome to the video ..." }],"timestamped": [{ "text": "Welcome to the video", "start": 1.2, "duration": 2.0 }],"non_timestamped": "Welcome to the video ...","source": "video","source_input": "https://www.youtube.com/watch?v=dQw4w9WgXcQ","position": 1,"success": true,"error_type": null,"error_message": null,"scraped_at": "2026-11-22T10:00:00Z"}
Videos that cannot be read stay in the same table, so you can see what happened to every input. The Status view shows these fields:
| Field | Type | Description |
|---|---|---|
video_id | string | YouTube ID of the video, when the input was a video. |
source | string | Type of the input. |
source_input | string | The link or phrase you gave. |
position | number | Order in which the video was queued in the run. |
success | boolean | False when there is no transcript. |
error_type | string | Reason code such as TranscriptsDisabled, NoTranscriptOfType, VideoPrivate, AgeRestricted, VideoUnavailable, NoVideos, NotFound, InvalidInput, NetworkError or CaptionDownloadFailed. |
error_message | string | Plain-language reason. |
metadata_error | string | Short note shown when the video details could not be read. |
scraped_at | string | When the row was collected (ISO 8601, UTC). |
๐ก Tips and advanced usage
โก How to get faster or cheaper results
- โก Switch Video details and chapters off when you only need the transcript text.
- ๐ Turn on Only list caption languages to see which videos have captions before you download them.
- ๐ฏ Keep Max videos per input small while you test.
- ๐ฆ Switch on only the subtitle files you need, because every file adds text to each row.
๐ฅ Single videos and whole channels
Paste one video link for a single transcript, or a channel link or @handle for the newest videos of that channel. Set Max videos per input to decide how many videos each channel gives.
๐ฌ How to scrape YouTube subtitles as SRT, WebVTT or text
Turn on SRT subtitle file, WebVTT subtitle file or Plain text file. Each row then carries the file as text in srt, vtt or txt, ready to save for a YouTube transcript download or to upload as subtitles. Timed lines and the plain transcript are always included, so you can build other formats yourself.
๐งฉ How to download YouTube transcripts in bulk
Add all your links, channels and search phrases to one run and mix them freely. Each channel, playlist or search gets its own video limit, and the Status view shows the result for every input.
๐ฆ How to export YouTube transcripts to CSV
Open the Output tab of the finished run, choose Export, select CSV and pick the fields you need. The same menu offers JSON, Excel, XML and HTML, so a YouTube video transcript export or a YouTube subtitles export to Excel is one click away. For scheduled exports, use the API or an integration instead.
๐ Why did I get fewer videos than my limit?
The channel, playlist or search may have fewer public videos than your limit, and maxItems counts per input. Videos without captions come back as rows with an error type and are not charged. Check the success, error_type and error_message fields.
โ Known issues
- โ Videos without any captions, and private or removed videos, return an error row instead of a transcript.
- โ If rows show
IpBlockedorClientsRejected, YouTube did not return those videos at that moment. Run again later. - โ If none of your languages is offered, you get the best available track and
language_matchedisfalse.
๐ Integrations and API
๐ Can I use it as a YouTube transcript API?
Yes. Start runs, read results and schedule jobs through the Apify API. Use your token from Settings > API & Integrations.
| Action | Method and URL |
|---|---|
| ๐ Start a run | POST https://api.apify.com/v2/actors/data_minds~youtube-transcript-subtitles-scraper-api/runs |
| โก Run and get the results in one call | POST https://api.apify.com/v2/actors/data_minds~youtube-transcript-subtitles-scraper-api/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-subtitles-scraper-api/builds/default/openapi.json |
curl
curl -X POST "https://api.apify.com/v2/actors/data_minds~youtube-transcript-subtitles-scraper-api/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 (YouTube transcript API example)
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("data_minds/youtube-transcript-subtitles-scraper-api").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 (YouTube transcript API example)
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('data_minds/youtube-transcript-subtitles-scraper-api').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-subtitles-scraper-api --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 it to other apps?
Yes. Connect it with Make, Zapier, n8n, Slack, Google Sheets, Google Drive, Airbyte, GitHub and more through Apify integrations. Use webhooks to send each new YouTube transcript to n8n, Zapier or Google Sheets whenever a run finishes. Use schedules to read new videos of a channel every day or week.
๐ค Can I use it 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-subtitles-scraper-api"}}}
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 |
|---|---|
| ๐ Website Content Crawler | Crawls websites and turns every page into clean text, Markdown and metadata for AI, search and analysis. |
| ๐ YouTube Search API | Searches YouTube by keyword and returns videos, Shorts, channels or playlists with views, likes, comments, description, hashtags, channel subscribers, country and contact links. |
| ๐ YouTube Transcript Scraper | Gets the transcript of any YouTube video, Short, playlist, channel or search: timestamped captions, SRT and WebVTT, chapters, language choice, video and channel details. |
โ 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 the YouTube transcript API work?
You give video links, playlist links, channel links, @handles or search phrases, choose your languages and a limit per input, and press Start. The Actor returns one row per video with the transcript, timed lines, chapters and details. Videos without a transcript get a row that explains why.
๐ Do I need a YouTube transcript API key?
No. You do not need a YouTube API key or a Google project. You give links or search phrases and use your Apify account, and every run returns rows with transcripts, timestamps, chapters, video details and optional subtitle files. You can filter by language and by creator or auto-generated captions.
๐ Can I use it 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 it with AI agents (MCP server)?
Yes. Add the hosted Apify MCP server URL with the tools parameter set to data_minds/youtube-transcript-subtitles-scraper-api, 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 it 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, playlist or search may have fewer public videos, and videos without captions return an error row instead of a transcript. Check the success, error_type and error_message fields. The limit counts per input, so remove filters, run a small test and compare the counts.
๐ Why do the numbers differ from what YouTube shows?
Views, likes, comments and subscribers are a snapshot taken when the row was collected, which the scraped_at field shows, and they keep changing afterwards. Video details such as likes and subscribers are only added while the Video details and chapters option is on.
โ Why does a video show an error, or the Actor is not working?
The video may have no captions, may be private, removed or age-restricted, or YouTube may not have returned it at that moment. Read error_type and error_message, and run again later. If a public video with captions 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.