YouTube Transcript
Retrieves the captions, subtitles, or transcript of a YouTube video or short.
YouTube Transcript GET /v1/youtube/video/transcript Retrieves the captions, subtitles, or transcript of a YouTube video or short. Authentication: x-api-key Example URL: https://api.datawake.ai/v1/youtube/video/transcript?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbjVIDXPP7Uk&language=en Parameters: - url (query · string · required) = https://www.youtube.com/watch?v=bjVIDXPP7Uk - language (query · string · optional) = en
Overview
WakeScrap exposes this YouTube endpoint as a live-data API. The platform keeps the documented request and response shape stable while unifying auth, request tracking, and credits billing.
Retrieves the captions, subtitles, or transcript of a YouTube video or short. Returns both a timestamped transcript array with start/end times and a plain-text version in transcript_only_text. Supports specifying a language code. Note: the video must be under 2 minutes for transcript extraction to work.
Required params: url.
Headers
Your Wake API access key.
Example:
Query Parameters
YouTube video or short URL
Example:
2 letter language code, ie 'en', 'es', 'fr' etc. If the transcript is not available in the language you specify, the transcript will be null.
Example: