YouTube Transcript API

Free API to get transcripts from YouTube videos. Rate limited to 10 requests per second.

Rate Limit: 10 requests per second per IP address. No API key required.

Endpoint

POST /transcript

Get transcript for a YouTube video.

Request

Headers:

Body:

{
  "url": "https://www.youtube.com/watch?v=VIDEO_ID"
}

Response

Success (200):

{
  "success": true,
  "transcript": "Full transcript text as a single string...",
  "segments": [
    { "start": 0.0, "text": "Hello everyone" },
    { "start": 3.5, "text": "Today we're going to..." },
    { "start": 7.2, "text": "Let's get started" }
  ]
}

Error (400/500):

{
  "error": "Error message"
}

Example

curl -X POST "https://trsc.gl1.online/transcript" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}'

Response Fields