M4A to MP3 API - convert M4A, M4B and AAC/ALAC audio to MP3 with tags
m4a_to_mp3Send an M4A, M4B or AAC audio file (iPhone Voice Memos, Apple Music/ALAC) as base64 and get a universal MP3 back. Smart auto quality matches source bitrate (avoids bloating voice memos) or pick 320, 256, 192, 128, 96 kbps CBR or VBR V0 / V2. Preserves metadata tags and embedded cover art by default, with optional sample rate (44.1 / 48 kHz), stereo/mono and EBU R128 loudness normalization. Deterministic local ffmpeg (libmp3lame), 0 AI, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.005/call via x402 at https://radarbg.com/x402/m4a-to-mp3.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "m4a_to_mp3"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quality | No | MP3 bitrate or VBR preset: auto (default), 320, v0, 256, 192, v2, 128, 96 | auto |
| channels | No | keep original, 2 (Stereo) or 1 (Mono) | keep |
| fileName | No | Optional file name, e.g. voice-memo.m4a | |
| normalize | No | Normalize loudness to EBU R128 (-16 LUFS) | |
| sampleRate | No | Target sample rate in Hz, or keep original | keep |
| fileContent | No | The .m4a/.m4b/.aac file as base64, max 20 MB (empty = built-in sample M4A) | |
| stripMetadata | No | Strip ID3 tags and embedded album art |