PackageTrack
Sign in Get early access

youtube_transcript_api

Fetch YouTube transcripts/subtitles without API keys. Supports auto-generated & manual transcripts, translations, multiple formats (JSON/VTT/SRT), proxy support, and CLI.

1.0.0 3.1K downloads/mo #4611 most downloaded on pub.dev pandaxbacon/youtube-transcript-dart

What this package is like to depend on

Last release 8 months ago

02 Dec 2025

Too new to tell

only 1 dated releases

Nearly every release is documented

notes for 1 of 1 stable releases

Nothing withdrawn

no release was ever pulled

8 months old

1 releases ยท first in 2025

1 release in the last 12 months

see the full history below

Release timeline

1 releases ยท Dec 2025 to Dec 2025
2026
Release Pre-release

Releases

latest 1
  1. 1.0.0 02 Dec 2025
    Release notes

    Complete Dart port of youtube-transcript-api

    • InnerTube API integration
    • Multi-language & translation support
    • 5 formatters (Text, JSON, VTT, SRT, CSV)
    • Proxy support
    • CLI tool
    • 32 tests passing
    Open source โ†’
    Release notes

    ๐ŸŽ‰ Initial Release

    A complete Dart port of the Python youtube-transcript-api library with enhanced features.

    Added

    Core Functionality

    • ๐ŸŽฏ Fetch YouTube transcripts for any video without API keys
    • ๐Ÿ“ Support for both manually created and auto-generated subtitles
    • ๐ŸŒ Multiple language support with intelligent fallback
    • ๐Ÿ”„ Translation support for available transcripts
    • ๐Ÿ” List all available transcripts for a video
    • ๐ŸŽญ Filter by manually created or auto-generated transcripts

    Output Formatters

    • ๐Ÿ“„ Plain text (with and without timestamps)
    • ๐Ÿ“Š JSON (simple and with full metadata)
    • ๐Ÿ“บ WebVTT (.vtt) - Standard web video format
    • ๐ŸŽฌ SubRip (.srt) - Universal subtitle format
    • ๐Ÿ“‹ CSV (.csv) - Spreadsheet-compatible format
    • ๐Ÿ”ง Extensible formatter system for custom formats

    Advanced Features

    • ๐Ÿ” InnerTube API Integration - Bypasses YouTube's PoToken protection
    • ๐Ÿค– Android client emulation for improved reliability
    • ๐ŸŒ Proxy support:
      • Generic HTTP/HTTPS proxy configuration
      • Webshare rotating residential proxy integration
      • Custom headers and timeout configuration
    • ๐Ÿ”„ Automatic retry logic for blocked requests
    • ๐Ÿšซ Comprehensive error handling with specific exceptions

    Developer Experience

    • ๐ŸŽจ Null-safe, modern Dart implementation
    • ๐Ÿ“ฆ Clean, type-safe API design
    • โšก Async/await throughout
    • ๐Ÿ” Iterator interface for FetchedTranscript
    • ๐Ÿ› ๏ธ Extensive documentation and examples
    • โœ… Comprehensive test suite (32 tests, 100% passing)
    • ๐Ÿ” Detailed error messages with context

    CLI Tool

    • ๐Ÿ’ป Full-featured command-line interface
    • ๐Ÿ“ฅ Multiple input/output formats
    • ๐Ÿ“ File export support
    • ๐Ÿ—‚๏ธ List available transcripts from terminal

    Platform Support

    • โœ… Dart CLI applications
    • โœ… Flutter mobile apps (iOS & Android)
    • โœ… Flutter web applications
    • โœ… Flutter desktop (Windows, macOS, Linux)

    Technical Highlights

    • ๐Ÿ—๏ธ Architecture: Clean separation of concerns with dedicated modules for HTTP, parsing, formatting, and models
    • ๐Ÿ”’ Security: Uses defusedxml principles for safe XML parsing
    • ๐ŸŽฏ Reliability: InnerTube API ensures consistent access even to protected videos
    • ๐Ÿ“ˆ Performance: Efficient parsing with minimal memory footprint
    • ๐Ÿงช Quality: 100% of core functionality covered by tests

    Compatibility

    • Dart SDK: >=3.0.0 <4.0.0
    • Python Library Compatibility: Feature parity with youtube-transcript-api v1.2.3
    • YouTube API: Uses official InnerTube API (same as YouTube mobile apps)
    Open source โ†’

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive