Skip to main content
Glama

get_mp3

Convert YouTube videos to MP3 audio files with optional trimming functionality using the Youtube Mp36 API.

Instructions

Convert to MP3 at the default bit rate. Quota cost will apply according to the length of the mp3 file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesQuota cost will apply according to the length of the mp3 file. Quota is calculated as follows: if length <= 30 then 1 if 30 < length <= 60 then 2 if 60 < length <= 90 then 4 if 90 < length <= 120 then 5 if 120 < length <= 150 then 6 7 if 150 < length <= 180 then 7 8 if 180 < length <= 210 then 9 if 210 < length <= 240 then 10 (Note: length unit is minute) For trim/cut request, length of the original mp3 file is used for quota. If the trimmed mp3 file served from storage then trimmed length is us
cutNoCut the mp3 according to the provided sStart and sEnd parameters. The value must be provided as 1. The quota Cost is +1.0
sStartNoStarting point for cutting the mp3. Format must be HH:MM:SS
sEndNoEnd point for cutting the mp3. Format must be HH:MM:SS
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BACH-AI-Tools/bachai-youtube-mp36'

If you have feedback or need assistance with the MCP directory API, please join our Discord server