cURL
curl --request POST \ --url https://api.llmlayer.dev/api/v1/youtube_transcript \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "url": "<string>", "language": "<string>" }'
200
example
{ "transcript": "<string>", "url": "<string>", "language": "<string>", "cost": 123}
Extract transcripts from YouTube videos
Bearer token authentication. Format: Bearer YOUR_LLMLAYER_API_KEY
YouTube video URL
Language code for transcript (e.g., 'en', 'es')
Extracted transcript
Full video transcript text
Language of the transcript
Cost in USD ($0.001)