Get subtitle infos from video

This page will help you get started with Subtitles.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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": "Português (BR)", "hidden": false, "is_uploaded": true },
    { "srclang": "en", "label": "English", "hidden": false, "transcription": true }
  ]
}
📘

The array is the video's config.subtitles. Every item has srclang, label and hidden; uploaded subtitles also carry is_uploaded (and is_sync once HLS-synced), while AI-generated ones may carry transcription.

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.

Path Params
string
required
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json