YouTube Transcript
FreeGet the transcript for a YouTube video.
/api/v1/tools/youtube/transcriptParameters
YouTube video URL or video ID.
Language code for the transcript (e.g. "en", "es"). Defaults to "en".
Language code to translate the selected transcript to. Omit it to return the selected transcript without translation.
Fields to include in transcript result. Omit for defaults: videoId, title, language, isAutoGenerated, fullText (segments omitted by default to reduce payload). Use ["*"] for all fields including segments. Available fields: videoId, title, language, isAutoGenerated, fullText, availableLanguages, translationLanguages, segments, count.
Response Schema
YouTube transcript result
YouTube video ID
Video title
Language code of the returned transcript
Whether the returned transcript is auto-generated by YouTube
Complete transcript text without timestamps
Caption tracks with actual transcripts
Languages YouTube supports for auto-translation (informational only, not fetchable via this endpoint)
Timestamped transcript segments
Number of transcript segments
Request metadata
Tool name (youtube-transcript)
Credits consumed (0)
Unique request ID
Request
curl -X POST https://scraper.run/api/v1/tools/youtube/transcript \-H "Authorization: Bearer sc_live_..." \-H "Content-Type: application/json" \-d '{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ","language": "en"}'
Response Example
{"data": {"videoId": "dQw4w9WgXcQ","title": "Rick Astley - Never Gonna Give You Up","language": "en","fullText": "We're no strangers to love. You know the rules and so do I..."},"meta": {"tool": "youtube-transcript","creditsUsed": 0,"requestId": "req_abc123"}}