YouTube Video Transcript & Subtitles Extractor
Pricing
from $0.84 / 1,000 item scrapeds
Go to Apify Store

YouTube Video Transcript & Subtitles Extractor
Extract full timestamped transcripts, closed captions, and subtitles from YouTube videos in any language. Fast and lightweight without browser overhead.
Pricing
from $0.84 / 1,000 item scrapeds
Rating
0.0
(0)
Developer
LiteZero
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
9 days ago
Last modified
Categories
Share
🚀 YouTube Transcript & Subtitle Extractor
Extract complete YouTube subtitles, timestamps, duration, and clean text transcripts across any public video or Shorts without video downloading overhead.
🥊 Why This Actor Beats the Competition
| Feature | Generic Browser Scrapers | Official APIs | This Actor |
|---|---|---|---|
| Speed | 🐌 3–5 seconds / record (Heavy Puppeteer) | 🔒 Requires OAuth / Enterprise Key | ⚡ Up to 100+ records / second |
| Cost | 💸 High compute hours ($0.05+/run) | 💸 High per-seat API fees | 💰 $1.20 per 1,000 items (PPR) |
| Anti-Bot Resistance | ❌ Blocked by Cloudflare & Captchas | N/A | ✅ Direct Stream + Resilient Fallbacks |
| Setup Friction | ⏳ Complex CSS selectors & logins | ⏳ Complex developer approval | 🚀 Zero auth. Plug & Play |
🛠️ Step-by-Step: How to Use
Method 1: Apify Console (No-Code GUI)
- Configure your inputs in the Apify Web Console.
- Click Start and download your structured dataset in CSV, Excel, or JSON.
Method 2: Python SDK
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("litezero/youtube-transcript-scraper").call(run_input=["https://www.youtube.com/watch?v=dQw4w9WgXcQ"])for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
Method 3: Node.js SDK
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('litezero/youtube-transcript-scraper').call();const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(`Extracted ${items.length} items!`);
Method 4: REST API / cURL
curl -X POST "https://api.apify.com/v2/acts/litezero~youtube-transcript-scraper/runs?token=YOUR_TOKEN" \-H "Content-Type: application/json"
📥 Input Parameters
| Field | Type | Description |
|---|---|---|
videoUrls | array | List of YouTube video URLs, Shorts links, or Video IDs. |
language | string | Language code (e.g. "en", "es", "de", "fr"). |
includeTimestamps | boolean | Whether to return granular sentence start and duration times. |
📤 Output Data Dictionary
| Field | Type | Description |
|---|---|---|
videoId | string | YouTube 11-character video ID |
videoUrl | string | Canonical YouTube video URL |
title | string | Video title |
channel | string | Channel name |
language | string | Transcript language code |
totalLines | integer | Total subtitle segments |
fullText | string | Complete concatenated transcript text |
transcript | array | Granular sentence segments with timestamps |
scrapedAt | string | Extraction timestamp |
💡 Top Use Cases & Commercial Value
- Market & Competitor Intelligence: Automate real-time monitoring feeds without infrastructure maintenance.
- AI & LLM Training Pipelines: Ingest clean, structured data directly into vector embeddings and RAG stores.
- Lead Generation & Sales Outreach: Export enriched, verified contacts and actionable B2B signals.