YouTube video transcript
Full transcript of a video as clean prose paragraphs and timestamped blocks (markdown), with timed snippets and the joined text in data, plus the video metadata (title, channel, views, likes, publish date). Works for manual and auto-generated captions; falls back to English, then the first available track, and machine-translates into lang when no native track exists.
Provide exactly one of: video_id, url.
Credits: 1 (refunded on failure).
Request
- Base URL: https://scrapewhale.dev
- URL: https://scrapewhale.dev/api/v1/social/youtube/transcript
- Auth: one of:
- HTTP bearer
- API key in header x-api-key
Query parameters
11-character YouTube video id. Provide this or url.
A youtube.com/watch?v=…, youtu.be/…, or youtube.com/shorts/… URL.
Preferred caption language code (en, ja, pt-BR, …). Default: English, then the first available track.
Response shape: "json" (structured data only), "markdown" (markdown only), or "both".
Response
Success.
Changes
No recorded changes to this operation across all 1 revision of this API.