YouTube Transcriber avatar

YouTube Transcriber

Under maintenance

Pricing

from $0.003 / transcription completed

Go to Apify Store
YouTube Transcriber

YouTube Transcriber

Under maintenance

Extracts transcripts from YouTube videos. First tries to get available captions, then falls back to downloading audio and transcribing via OpenRouter's Whisper model. Extraia transcrição de videos do youtube.

Pricing

from $0.003 / transcription completed

Rating

0.0

(0)

Developer

Luan Longen

Luan Longen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

2

Monthly active users

14 days ago

Last modified

Share

Extracts transcripts from YouTube videos with intelligent fallback. First attempts to get available YouTube captions, then falls back to downloading audio and using OpenRouter's Whisper model for transcription.

Features

  • Smart Caption Detection: Tries to extract available YouTube captions first (fast, free)
  • Audio Fallback: Downloads audio and transcribes via OpenRouter's Whisper model
  • Multi-language Support: Portuguese, English, and more (configurable via 'language' field)
  • Optional Residential Proxy: Bypass YouTube anti-bot on datacenter IPs (Apify residential proxy)
  • Audio Chunking: Splits long videos into N-minute segments via ffmpeg for reliable Whisper transcription

Input

{
"youtubeUrl": "https://www.youtube.com/watch?v=zw_e_vVTq4Y",
"openRouterApiKey": "sk-xxx",
"openRouterModel": "openai/whisper-large-v3",
"language": "pt",
"segmentMinutes": 5,
"useProxy": false
}

Input Fields

  • youtubeUrl (string, required): Full YouTube URL or short link
  • openRouterApiKey (string, optional): Your OpenRouter API key. Required if video has no captions.
  • openRouterModel (string, optional): Whisper model. Default: openai/whisper-large-v3
  • language (string, optional): Language code for captions and Whisper. Default: pt
  • segmentMinutes (integer, optional): Audio segment length for Whisper. Smaller = more reliable. Default: 5
  • useProxy (boolean, optional): Use Apify residential proxy for captions fetch (bypasses YouTube anti-bot on datacenter IPs). Incurs proxy traffic charges. Default: false

Output

Success case (youtube-transcript):

{
"success": true,
"youtubeUrl": "...",
"videoId": "...",
"transcript": "...",
"provider": "youtube-transcript",
"language": "pt",
"generatedAt": "..."
}

Success case (openrouter):

{
"success": true,
"youtubeUrl": "...",
"videoId": "...",
"transcript": "...",
"provider": "openrouter",
"usage": { "input_tokens": 1234, "output_tokens": 567 },
"generatedAt": "..."
}

Error case:

{
"success": false,
"youtubeUrl": "...",
"error": "...",
"details": "...",
"generatedAt": "..."
}

Notes

  • Audio download NEVER uses proxy (CDN tolerates datacenter IPs, residential proxy per GB is expensive for audio)
  • Self-host outside Apify (AWS EC2/Lightsail) requires your own proxy solution (BrightData, Smartproxy, Oxylabs) or fallback to Whisper when captions fail

License

ISC