Loading TranscribeYouTube...
Loading TranscribeYouTube...
Extract YouTube transcripts programmatically. Simple HTTP requests, JSON responses, no API key required for client-side usage.
Try the Web ToolPOST /api/transcript
Content-Type: application/json
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Full YouTube video URL |
| lang | string | No | Language code (default: "en", use "auto" for any) |
curl -X POST https://transcribeyoutube.com/api/transcript \
-H "Content-Type: application/json" \
-d '{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","lang":"en"}'
{
"ok": true,
"videoId": "dQw4w9WgXcQ",
"title": "Video Title",
"channel": "Channel Name",
"thumbnail": "https://i.ytimg.com/vi/.../hqdefault.jpg",
"transcript": [
{ "text": "Hello everyone", "start": 0, "dur": 3 },
{ "text": "Welcome to the tutorial", "start": 3, "dur": 4 }
],
"selectedLang": "en",
"isAutoGenerated": false,
"error": null
}
{
"ok": false,
"error": "NO_CAPTIONS",
"message": "No captions are available for this video.",
"transcript": []
}
INVALID_URLHTTP 400No URL was provided in the request body.
INVALID_VIDEO_IDHTTP 400Could not extract a valid YouTube video ID.
NO_CAPTIONSHTTP 200The video has no captions or subtitles available.
AUTOMATED_ACCESSHTTP 200YouTube detected automated access. Retry later.
FETCH_ERRORHTTP 200A network or parsing error occurred.
INTERNAL_ERRORHTTP 500Unexpected server error.
This API is provided for personal and educational use. Rate limits apply to prevent abuse and protect service availability. If you need higher limits, please contact us.
10 per minuteJSON onlyRestricted to transcribeyoutube.com500 charactersIntegrate transcript fetching into your own apps, dashboards, or content pipelines with simple HTTP calls.
Collect transcript data for NLP research, sentiment analysis, or content summarization projects.
Automate subtitle generation for video editing workflows, blog post creation, or accessibility compliance.
The web tool uses this exact API. Paste a URL and see the live response.
Open Transcript Tool