Get a video transcript
Read the public caption track of a video or Short: the timed transcript (text, startMs, endMs, startTimeText), the plain text, the track's language name and every available caption track. The track is the last one whose language code matches the requested language (English by default), which prefers the auto-generated track when both exist. Without a matching track the transcript fields are null and the response is partial. Each successful request costs 1 account credit, including partial results. Failed requests cost 0 credits.
Request
- Base URL: https://api.scrapeatlas.com
- URL: https://api.scrapeatlas.com/v1/youtube/video/transcript
- Auth: API key in header x-api-key
Query parameters
YouTube video or Short URL (youtube.com/watch?v=…, youtu.be/…, /shorts/…, /embed/…, /live/…; www, m and music subdomains) or a bare 11-character video ID. Response: Watch URL of the video.
Display name of the track without the "(auto-generated)" suffix ("English"); null without a track.
Response
Inspect the response status and failure or coverage fields.
Changes
No recorded changes to this operation across all 1 revision of this API.