Hi Supadata Team,
I've been using your Transcript API and noticed an issue with the availableLangs field in the response.
When I request a YouTube video transcript with mode=auto or a specific lang parameter, the availableLangs field in the response only contains the language that was returned, not all the subtitle languages available on YouTube.
The availableLangs field should return all available subtitle languages for the video, regardless of which language was requested. This would allow users to:
Know what languages are available before making a request
Let users manually select a different language if their preferred one isn't available
// Request: GET /v1/transcript?url=...&mode=auto&lang=ko// Response:{"lang": "zh","availableLangs": ["zh"], // β Only shows "zh", but video has ko, en, ja, etc."content": [...]}Even though the YouTube video has multiple subtitle languages (Korean, English, Japanese, etc.), the API only returns ["zh"] in availableLangs.
Find a YouTube video with multiple subtitle languages
Call the API with mode=auto or any specific lang
Check the availableLangs field - it only contains the returned language
Please return all available subtitle languages from YouTube in the availableLangs field, not just the one that was returned. This is critical for applications that need to offer language selection to users.
{"lang": "zh","availableLangs": ["ko", "en", "zh", "ja", "es"], // β
All available languages"content": [...]}Thank you for looking into this!
Best regards, Steve
Please authenticate to join the conversation.
In Review
Feature Request
2 days ago

tcytcy111
Get notified by email when there are changes.
In Review
Feature Request
2 days ago

tcytcy111
Get notified by email when there are changes.