Subtitles for YouTube

FREEMIUM
By yashagarwal | Updated 25 दिन पहले | Data
Popularity

9.8 / 10

Latency

854ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Question about Captions Resource

Rapid account: Greg 8 Q Q Vv Ci L
greg-8Q_QVvCiL
2 года назад

I’d like to purchase your service. However, I am looking to get a list captions for a given YouTube ID.

I want to know the snippet.trackKind

I am looking for standard, ASR or if the video has no captions tracks at all.

https://developers.google.com/youtube/v3/docs/captions

Can I get that through your service?

Rapid account: Yashagarwal
yashagarwal Commented 2 года назад

You can use the list subtitles API (/subtitles/<video_id>/list) -

We return a JSON response with all available subtitles for that video with following information Currently the response looks something like this for video id UdgRUCVUts0 -

[
{
“id”: 0,
“isTranslatable”: true,
“lang”: “en-US”,
“autoGenerated”: false,
“name”: “English (United States)”
},
{
“id”: 1,
“isTranslatable”: true,
“lang”: “en”,
“autoGenerated”: true,
“kind”: “asr”,
“name”: “English (auto-generated)”,
“vssId”: “a.en”
}
]

Let me know if this information is enough for your use case. Or do you need any customisation?

Join in the discussion - add comment below:

Login / Signup to post new comments