cURL
curl --request POST \ --url https://api.stophy.dev/v1/video/transcript \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" } '
{ "requestedLanguageCode": "<string>", "selectedLanguageCode": "<string>", "fallbackUsed": false, "fallbackReason": null, "transcript": { "plainText": "<string>", "transcript": [ { "start": 123, "duration": 123, "text": "<string>" } ] } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"https://www.youtube.com/watch?v=dQw4w9WgXcQ"
"en"
Hide child attributes