Skip to content

Video Subtitles

Request

Returns a YouTube video subtitles.

Security
accessToken
Query
urlstringrequired

YouTube video page url i.e. https://www.youtube.com/watch?v={videoId}

Example:url=https://www.youtube.com/watch?v=4SNThp0YiU4
curl -i -X GET \
  'https://api.modash.io/v1/raw/youtube/video-subtitles?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4SNThp0YiU4' \
  -H 'Authorization: Bearer <YOUR_token_HERE>'

Responses

Bodyapplication/json
Array [
vss_idstringrequired
language_codestringrequired
namestringrequired
fetch_urlstringrequired
]
Response
[ { "vss_id": "string", "language_code": "string", "name": "string", "fetch_url": "string" } ]