YouTube Transcript API in Python
Get the transcript of a YouTube video from Python with the Apify client: plain text, timestamped segments and video details (publish date, views, length). Videos without captions return an errorCode and are not charged.
Input
Output fields
Sign up on Apify or log in
The YouTube Transcript Scraper - Captions, SRT, AI Transcription Actor is ready to run with the inputs already set for "YouTube Transcript API in Python". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "YouTube Transcript API in Python" task
The YouTube Transcript Scraper - Captions, SRT, AI Transcription Actor will start running based on the input automatically. You can also change all the input fields, like video, channel, playlist or search urls, to match your specific use case.
Receive the "YouTube Transcript API in Python" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as videoid, url, title, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "YouTube Transcript API in Python" task via API.
