YouTube Transcript API

JSON →
library 1.2.4 ·python
verified Jun 28, 2026 install

This is a Python API that allows you to retrieve transcripts and subtitles for a given YouTube video. It supports both manually created and automatically generated subtitles, as well as subtitle translation. Unlike older solutions, it does not require a headless browser. The library is actively maintained, currently at version 1.2.4, and receives regular updates to address YouTube's API changes.

total hits 54
actors 10 distinct systems
last hit 1d ago human
Perplexity-User
15
GPTBot
4
Amazonbot
4
YandexBot
3
Script
1
ChatGPT-User
1
Search engines
12
Humans
11

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇷🇺 Russia · VN · 🇬🇧 United Kingdom