YouTube Transcript Scraper
Pricing
from $7.00 / 1,000 results
Go to Apify Store
YouTube Transcript Scraper
Extract transcripts and subtitles from YouTube videos with timestamps. Supports all video formats including regular videos, shorts, and live streams.
Pricing
from $7.00 / 1,000 results
Rating
0.0
(0)
Developer
Admo Solutions
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Extract transcripts and subtitles from YouTube videos with timestamps. Supports regular videos, shorts, and live streams.
π° Pricing
This Actor uses the Pay Per Event pricing model:
| Event | Price |
|---|---|
| Actor run | $0.00005 |
| Per video transcript | $0.007 |
For example, extracting transcripts from 100 videos costs: $0.00005 + (100 Γ $0.007) = $0.70
π₯ Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
start_urls | array | β | β | List of YouTube video URLs to extract transcripts from |
language | string | β | "en" | Language code for subtitles (en, es, fr, de, pt, it, ja, ko, zh, ru, ar, hi) |
Example Input
{"start_urls": [{ "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" },{ "url": "https://www.youtube.com/shorts/abc123" }],"language": "en"}
π€ Output
| Field | Type | Description |
|---|---|---|
videoId | string | YouTube video ID |
url | string | Full video URL |
title | string | Video title |
transcript | array | Array of transcript segments with timestamps |
transcript[].start | string | Start time (MM:SS format) |
transcript[].startSeconds | number | Start time in seconds |
transcript[].text | string | Transcript text for this segment |
fullText | string | Complete transcript as single text block |
segmentsCount | number | Total number of transcript segments |
error | string | Error message if extraction failed |
Example Output
{"videoId": "dQw4w9WgXcQ","url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ","title": "Rick Astley - Never Gonna Give You Up","transcript": [{ "start": "00:00", "startSeconds": 0, "text": "We're no strangers to love" },{ "start": "00:03", "startSeconds": 3.5, "text": "You know the rules and so do I" }],"fullText": "We're no strangers to love You know the rules and so do I","segmentsCount": 2}
π§ How It Works
- Uses
yt-dlpto download YouTube subtitles (most reliable method) - Supports both manual and auto-generated subtitles
- Parses JSON3 subtitle format for accurate timestamps
- Falls back to auto-generated subtitles when manual ones aren't available
π Supported Languages
English, Spanish, French, German, Portuguese, Italian, Japanese, Korean, Chinese, Russian, Arabic, Hindi
π Integration
- Zapier: Use the "Run Actor" action with dataset polling
- Make.com: Use the HTTP module to call the Actor API
- n8n: Use the Apify node or HTTP Request node
- OpenAI MCP: Connect via the Apify MCP server
β οΈ Notes
- Videos must have subtitles or auto-generated captions enabled
- Some videos may not have subtitles available in the requested language
- Rate limiting may apply for large batches of videos