Free API to get transcripts from YouTube videos. Rate limited to 10 requests per second.
/transcript
Get transcript for a YouTube video.
Headers:
Content-Type: application/jsonBody:
{
"url": "https://www.youtube.com/watch?v=VIDEO_ID"
}
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"
}
curl -X POST "https://trsc.gl1.online/transcript" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}'
transcript (string): Full transcript as a single stringsegments (array): Timestamped segments with start time and text