YouTube Video Captions API (V1)
justoneapi_get_api_youtube_get_video_captions_v1Retrieve available caption tracks for a YouTube video or request captions in SRT, XML, JSON3, or plain-text format. Use it to support transcription, accessibility, localization, or text analysis. Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Caption output format. Available Values: - `srt`: SubRip caption format with timeline cues - `xml`: Original XML caption format - `json3`: YouTube original JSON caption structure - `txt`: Plain text without timeline cues | |
| videoId | Yes | The unique identifier for a YouTube video. | |
| languageCode | No | Caption language code, such as en, zh-Hans, or a.en. Leave it empty to retrieve available caption tracks. |