API Reference

Get subtitle infos from video

This page will help you get started with Subtitles.

Endpoint

GET https://api-v2.pandavideo.com.br/subtitles/{video_id}

The Get Subtitle Infos from Video endpoint provides information about available subtitles associated with a specific video.

Path Parameters

ParameterTypeDescription
video_idstringID of the targeted video

Responses

📘

Responses

  • 200: Success. Retrieved subtitle information.
  • 400: Bad request. Check the provided parameters.
  • 401: Unauthorized. Authentication failed or not provided.
  • 404: Not found.
  • 500: Internal server error. Please try again later.

Usage

Send a GET request to this endpoint, providing the video_id parameter in the URL, to retrieve information about available subtitles associated with the specified video.

Example Response

{
  "subtitles": [
    {
      "srclang": "pt-BR",
      "label": "Portuguese (Brazil)",
      "transcription": true,
      "auto_detected": false
    }
  ]
}

Description

The Get Subtitle Infos from Video endpoint retrieves details regarding the available subtitles for a specific video identified by its unique video_id.

Try It!

Click "Try It!" to initiate a request and view the response. Explore examples provided in different programming languages to understand how to structure the request.

Language
Credentials
Header
Click Try It! to start a request and see the response here!