API Reference

Get subtitle from video

This page will help you get started with Subtitles.

Endpoint

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

The Get Subtitle from Video endpoint facilitates the retrieval of subtitles associated with a specific video.

Path Parameters

ParameterTypeDescription
video_idstringID of the targeted video
srclangstringLanguage code of subtitles (source language)

Responses

📘

Responses

  • 200: Success. Retrieved subtitles.
  • 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 and srclang parameters in the URL, to retrieve subtitles associated with the specified video in the desired source language.

Description

The Get Subtitle from Video endpoint serves the purpose of fetching subtitles related to a particular video identified by its unique video_id. It requires the srclang parameter, indicating the language of the subtitles to retrieve. This endpoint facilitates access to subtitles, aiding in content comprehension and accessibility for diverse linguistic audiences.

Try It!

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

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