jdepoix/youtube-transcript-api
This is a python API which allows you to get the transcript/subtitles for a given YouTube video. It also works for automatically generated subtitles and it does not require an API key nor a headless browser, like other selenium based solutions do! observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 83
- Release rhythm 68
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 17
- age_days: 3057
- days_rel: 216
- days_push: 106
- n_releases_24m: 12
Adoption not part of the score
8116 stars · 820 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Python library and CLI that retrieves transcripts and subtitles for YouTube videos, including auto-generated captions, with subtitle translation support. It requires no API key and no headless browser, unlike selenium-based alternatives.
Use cases
- get the transcript of a youtube video in python
- download subtitles for a youtube video without an api key
- fetch auto-generated captions from youtube
- translate youtube subtitles to another language
- scrape youtube transcripts for text analysis
- extract captions from youtube videos for a dataset
When to choose
- you need YouTube transcripts programmatically without an API key or headless browser
- you want a lightweight Python library or CLI for captions including auto-generated ones
- you need subtitle translation support
When to avoid
- you need to download video or audio files themselves, not just transcripts
- you need transcripts from platforms other than YouTube
- you require an officially supported YouTube Data API integration
Facets
library · maturity active
http-client cli nlp developer-tools media apis python cli cross-platform youtube subtitles transcripts captions youtube-api no-api-key asr natural-language-processing
2 sources
- readme: https://github.com/jdepoix/youtube-transcript-api · fetched 2026-08-28 · 0dddc25dca6e
- registry_pypi: https://pypi.org/pypi/youtube-transcript-api/json · fetched 2026-08-29 · bfad9a130ad7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jdepoix/youtube-transcript-api | main | 81 |
For agents
markdown · JSON · MCP: product_card(name="jdepoix/youtube-transcript-api")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem