YouTube Video Transcript & Subtitles Extractor avatar

YouTube Video Transcript & Subtitles Extractor

Pricing

from $0.84 / 1,000 item scrapeds

Go to Apify Store
YouTube Video Transcript & Subtitles Extractor

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

LiteZero

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

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

FeatureGeneric Browser ScrapersOfficial APIsThis 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 & CaptchasN/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)

  1. Configure your inputs in the Apify Web Console.
  2. Click Start and download your structured dataset in CSV, Excel, or JSON.

Method 2: Python SDK

from apify_client import ApifyClient
client = 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

FieldTypeDescription
videoUrlsarrayList of YouTube video URLs, Shorts links, or Video IDs.
languagestringLanguage code (e.g. "en", "es", "de", "fr").
includeTimestampsbooleanWhether to return granular sentence start and duration times.

📤 Output Data Dictionary

FieldTypeDescription
videoIdstringYouTube 11-character video ID
videoUrlstringCanonical YouTube video URL
titlestringVideo title
channelstringChannel name
languagestringTranscript language code
totalLinesintegerTotal subtitle segments
fullTextstringComplete concatenated transcript text
transcriptarrayGranular sentence segments with timestamps
scrapedAtstringExtraction 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.