YouTube Transcript and Subtitle Data Scraper avatar

YouTube Transcript and Subtitle Data Scraper

Pricing

from $4.50 / 1,000 transcript extracteds

Go to Apify Store
YouTube Transcript and Subtitle Data Scraper

YouTube Transcript and Subtitle Data Scraper

Extract YouTube transcripts from video URLs, playlists, channels or search queries. Get timestamped segments, text, SRT and VTT subtitles, video details and LLM-ready context. Videos without captions are never charged.

Pricing

from $4.50 / 1,000 transcript extracteds

Rating

0.0

(0)

Developer

Khadin Akbar

Khadin Akbar

Maintained by Community

Actor stats

0

Bookmarked

49

Total users

2

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

What is YouTube Transcript and Subtitle Data Scraper?

Get the spoken text of public YouTube videos as clean data: timestamped segments, plain text, SRT and VTT subtitles, video details and an LLM-ready context field. Give it video links, a playlist, a channel or a search query.

You are only charged for videos that return real transcript text. Videos without captions, and videos we could not reach, are saved as free rows with the reason.

You getDetails
TranscripttranscriptSegments (text, start, duration), transcriptText, transcriptSrt, transcriptVtt
Video detailstitle, channel, publish date, duration, views, likes, comments, tags, thumbnail
AI-readyllmContext, tokenEstimate, wordCount, language used, auto-generated flag, available languages
Statussuccess, no_transcript (no captions, free) or error (could not be reached, free)

What's new in 1.2

  • Failed and caption-less videos are never charged.
  • Several videos are processed at the same time, so long lists finish much faster.
  • New playlistUrl input and WebVTT (vtt) output.
  • Clear run result in OUTPUT: COMPLETE, PARTIAL, VALID_EMPTY or FAILED, plus an agentSummary sentence for AI agents.
  • Free plan runs are limited to 25 videos.

Input modes

The Actor selects a workflow from the supplied input:

InputWorkflow
videoUrlsExtracts transcripts from individual or bulk YouTube URLs.
playlistUrlReads the first videos of a playlist (up to maxResults), then extracts transcripts.
channelUrlDiscovers videos from a channel or handle, then extracts transcripts.
searchQueryDiscovers videos for a topic, then extracts transcripts.

Quick start

Extract a video transcript

{
"videoUrls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ"
],
"language": "en",
"outputFormat": "all",
"includeMetadata": true
}

Research a channel

{
"channelUrl": "https://www.youtube.com/@mkbhd",
"maxResults": 20,
"language": "en",
"outputFormat": "plain_text"
}

Discover transcripts by topic

{
"searchQuery": "how to use AI for customer research",
"maxResults": 10,
"language": "en",
"outputFormat": "all"
}

Input reference

FieldPurpose
videoUrlsYouTube watch, short, embed, or shortened URLs.
playlistUrlA YouTube playlist link (youtube.com/playlist?list=...).
channelUrlChannel URL, channel ID URL, custom channel URL, or handle.
searchQueryTopic used to discover YouTube videos.
maxResultsUpper bound for videos processed (1 to 500). Free plan: 25.
languagePreferred transcript language code.
includeMetadataAdds video and channel metadata.
outputFormatSelects all fields, segments, plain text, SRT or VTT.
customProxyUrlOptional private proxy URL supplied through the input surface.
proxyConfigurationControls Apify residential routing.

Output data

Each video record can include:

  • videoId, videoUrl, title, channelName, channelId, and channelUrl
  • publishedAt, durationSeconds, view, like, and comment counts
  • thumbnail, description, and tags
  • transcriptSegments, transcriptText, transcriptSrt, and transcriptVtt
  • llmContext, tokenEstimate, and wordCount
  • languageUsed, availableLanguages, and isAutoGenerated
  • inputMode, status, scrapedAt, and sourceUrl
{
"videoId": "dQw4w9WgXcQ",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"title": "Example video",
"channelName": "Example channel",
"transcriptText": "Transcript text appears here.",
"transcriptSegments": [
{
"text": "Transcript text appears here.",
"start": 0,
"duration": 3.5
}
],
"languageUsed": "en",
"status": "success"
}

AI agent workflows

The Actor works as a focused transcript tool through Apify MCP and the Apify API. llmContext packages title, channel, publication context, video metrics, and transcript text into a convenient downstream string, while the raw transcript fields remain available for precise processing.

Example agent request:

Find YouTube videos about customer research, extract English transcripts, return titles, channels, token estimates, and timestamped segments, then summarize recurring methods with source video IDs.

Useful routing guidance:

  • Use videoUrls when the agent already has specific sources.
  • Use channelUrl for creator or publisher research.
  • Use searchQuery for topic discovery.
  • Choose plain_text for compact semantic processing.
  • Choose segments or all when timestamp citations matter.
  • Preserve videoId, languageUsed, and status in downstream evidence.

Run through the API

curl -X POST "https://api.apify.com/v2/acts/khadinakbar~youtube-transcript-extractor/runs" \
-H "Authorization: Bearer YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"searchQuery": "how to use AI for customer research",
"maxResults": 10,
"language": "en",
"outputFormat": "all"
}'

The Apify token stays in the Authorization header. Results are available from the run's default dataset in JSON, CSV, Excel, and other supported formats.

How transcripts are found

Each video is tried through several independent routes and stops at the first one that returns text. If a route tells us the video has no captions, we stop right away and do not retry. If every route fails to reach the video, the row is marked error and is free.

Pricing

Pay per event: one event per transcript delivered, plus the usual small start event. Videos with no captions and videos we could not reach are free. Platform usage is passed through. The Pricing tab always shows the current prices.

FAQ

Am I charged for videos without captions? No. Only rows with status: success are charged.

What if some videos fail? The run ends PARTIAL; failed rows are free and say why. If every video fails on every route, the run ends FAILED and nothing is charged.

Can I get subtitles for a video that has none? No. This Actor reads existing captions (including automatic ones); it does not transcribe audio.

How many videos can I run? Up to 500 per run (25 on the free plan). Playlists return their first videos.

Best results

  • Supply direct video URLs for the most focused transcript workflow.
  • Use channel or search discovery with a practical result cap before expanding a research batch.
  • Set the preferred language and inspect languageUsed in every returned record.
  • Choose timestamped segments for evidence citation and plain text for compact analysis.
  • Keep metadata enabled when channel, publication, and engagement context matter.
  • Start with YouTube Search Scraper when discovery needs richer video, channel, and playlist filters, then pass selected video URLs here.
  • Pair transcripts with YouTube Comments Scraper when the workflow combines spoken content with audience reactions.

Responsible use

This Actor collects publicly available YouTube transcript and video information. Use the results for legitimate research and content workflows in line with applicable laws, source terms, copyright requirements, and your organization's data-governance policies.