apyhub
Back

Convert Audio Format API

What it does

Audio Converter converts one audio file into another format. Send a binary file and choose a target format, then get the converted file back as binary output.

Use it when you need to normalize uploads, prepare media for a specific player, or fit audio into a downstream workflow that only accepts certain formats. The service accepts files up to 30 MB and supports mp3, wav, ogg, m4a, and flac as input formats.

Because the response is the converted file itself, it fits cleanly into storage pipelines, content ingestion jobs, and internal tooling that needs format conversion without extra parsing. If you are building an app that receives user audio and needs to standardize it before processing, Audio Converter keeps that step simple.

It is a good match for batch jobs, upload handlers, and media automation where the only thing you need is a reliable format change.

POST
Convert audio
https://api.eu.apyhub.com/freedailypro/convert-audio-format-api/audio-convert

QUICKSTART

GUIDE

Quickstart

Convert an uploaded audio file to a different format by sending the file and the target format as multipart form fields.

curl -X POST "https://api.eu.apyhub.com/freedailypro/convert-audio-format-api/audio-convert" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/audio.mp3" \
  -F "format=wav"

What you'll get back

Returns a binary file (string with format: binary) containing the converted audio.

TRY ITLIVE · 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*
The audio file. Up to 30 MB.
mp3, wav, ogg, m4a or flac

About this endpoint

What it does

Converts an uploaded audio file to the format you choose and returns the converted audio as binary data.

Request Body

ParameterTypeMandatoryDescription
fileFileYesThe audio file to convert. Up to 30 MB.
formatENUMYesOutput format. Allowed values: mp3, wav, ogg, m4a, flac.

Response

Returns the converted audio as a binary file in the response body.

ParameterTypeDescription
Binary FileFileThe converted audio, in the format set by format.

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.