YouTube transcripts scraper
YouTube transcripts and subtitles as text, timestamped text, segments or SRT for videos, Shorts, channels, playlists and searches. $0.003 each, no-caption videos free. Drop-in for other transcript Actors: same startUrls/timestamps or videoUrl/targetLanguage input and output fields.
Run YouTube transcripts scraper on Apify
What it's for
- transcripts / captions / subtitles of YouTube videos as text, timestamped segments or SRT
- transcripts of every video in a channel, playlist or search
- replacement for youtube-transcript-api when it raises RequestBlocked / IpBlocked
- drop-in replacement for other Apify YouTube transcript/subtitle Actors: accepts startUrls + timestamps and videoUrl + targetLanguage, returns the same fields (videoUrl, videoId, videoTitle, channelName, views, language, text, data) at $0.003 per transcript
Price
- $0.003 per transcript
Call it with curl
curl -X POST "https://api.apify.com/v2/acts/wulfcare~youtube-transcript-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" -H "content-type: application/json" -d '{"urls":["https://www.youtube.com/watch?v=UF8uR6Z6KLc"],"languages":["en"]}'
Call it from Python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("wulfcare/youtube-transcript-scraper").call(run_input={'urls': ['https://www.youtube.com/watch?v=UF8uR6Z6KLc'],
'languages': ['en']})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)
Use it from an AI agent
Add this MCP server to Claude, Cursor or any MCP client: https://mcp.apify.com?tools=wulfcare/youtube-transcript-scraper
Related scrapers
Replace YOUR_APIFY_TOKEN with the token from your Apify account. Prices are for Apify's free plan and can change.