Skip to main content
Glama
openapi.json2.77 kB
{ "openapi": "3.0.0", "info": { "title": "Youtube Mp36", "version": "1.0.0", "description": "RapidAPI: ytjar/youtube-mp36" }, "servers": [ { "url": "https://youtube-mp36.p.rapidapi.com" } ], "paths": { "/dl": { "get": { "summary": "Get MP3", "description": "Convert to MP3 at the default bit rate. Quota cost will apply according to the length of the mp3 file.", "operationId": "get_mp3", "parameters": [ { "name": "id", "in": "query", "required": true, "description": "Quota 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", "schema": { "type": "string", "default": null, "enum": null } }, { "name": "cut", "in": "query", "required": false, "description": "Cut the mp3 according to the provided sStart and sEnd parameters. The value must be provided as 1. The quota Cost is +1.", "schema": { "type": "number", "default": "0", "enum": null } }, { "name": "sStart", "in": "query", "required": false, "description": "Starting point for cutting the mp3. Format must be HH:MM:SS", "schema": { "type": "string", "default": null, "enum": null } }, { "name": "sEnd", "in": "query", "required": false, "description": "End point for cutting the mp3. Format must be HH:MM:SS", "schema": { "type": "string", "default": null, "enum": null } } ], "responses": { "200": { "description": "Successful response", "content": { "application/json": { "schema": {} } } } } } } }, "components": { "securitySchemes": { "ApiAuth": { "type": "apiKey", "in": "header", "name": "X-RapidAPI-Key" } } }, "security": [ { "ApiAuth": [] } ] }

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