The following information describes how to use the Transcript Downloader API endpoints

Authorization

The API uses Bearer token method for authentication, you can get an API token in your settings section. The tokens do not have an expiration time but you can revoke them anytime by regenerating a new one.


.MP3 Audio

Initialize a Download (Process Audio)

Initializes (processes) the audio download of a YouTube video, using the video ID.

The response of this request will be a video download resource, with an ID that can be used in the Get A Download method, to retrieve the actual file URL for download.

After the video download is created, a background job will start processing the request and fetch the audio file from YouTube servers. This process could be fast for short videos, but could take up to 10 minutes for long videos.

The MP3 file will be available anytime for download, once the process has been completed. If you want a new download link generated, you simply need to send another ‘Get A Download’ request with the downloadID.

If you initialize a download more than once and we have a successful download existing for the file, we will return the download object instead of initiating the process again - this avoids accidental duplicate credit charges for the user.

Endpoint:

<https://dashboard.transcriptdownloader.com/api/downloads/audio>

Body:

{
     "youtube_video_id": "<string>"
}