apyhub
Back
▣ AUDIO PROCESSING · FILE CONVERSION

MP3 to WAV Converter API

Hosted on ApyHub

What it does

The MP3 to WAV API converts MP3 audio into uncompressed WAV, the format most editing tools, speech recognition systems, and audio analysis libraries expect. Send an MP3 as a binary file upload (up to 100 MB) or pass a public url. You get back the WAV file as a binary response, or a signed link in data.

Four endpoints cover both inputs and both outputs. Use the upload endpoints for files already in your app and the URL endpoints for audio in cloud storage. The download endpoints return the WAV in the same call, and the link endpoints suit backends that fetch results later. The optional output query parameter sets the output name.

Developers use this MP3 to WAV converter to prepare audio for transcription, feed voice clips into analysis and machine learning pipelines, and load tracks into editors or older systems that only read WAV. It takes the place of an FFmpeg MP3 to WAV step on your own servers. Plan for larger files: WAV is uncompressed, so the output is several times the size of the MP3.

Pairs well with: send the result to the Convert Speech to Text API, which takes WAV input, pull audio out of video files with the Audio Extractor from Video API, or compress back to MP3 with the WAV to MP3 Converter API. The MP3 to WAV API is also callable by AI agents through ApyHub MCP.

▣ ENDPOINT 01 / 04
POST
MP3 to WAV Conversion
https://api.eu.apyhub.com/apyhub/mp3-to-wav-conversion/multi-part/download

QUICKSTART

GUIDE

Quickstart

Upload an MP3 file and get the converted WAV file back.

curl -X POST "https://api.eu.apyhub.com/apyhub/mp3-to-wav-conversion/multi-part/download?output=output" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/audio.mp3"

What you'll get back

Returns a binary file response (string with format: binary), which is the converted WAV audio.

TRY ITLIVE · 100 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*
MP3 audio file (max 100 MB).

About this endpoint

What it does

Converts an uploaded MP3 file to WAV format and returns the converted file as a binary download.

Query Parameter(s)

AttributeTypeDescription
outputStringQuery parameter with example value output.

Request Body

ParameterTypeDescription
fileBinaryMP3 audio file (max 100 MB). Binary upload.

Response

Returns a binary file response containing the converted WAV output. The success response is a single binary payload, with no JSON wrapper or named fields in the output schema.

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

▣ ENDPOINT 02 / 04
POST
MP3 to WAV Conversion
https://api.eu.apyhub.com/apyhub/mp3-to-wav-conversion/multi-part/link

QUICKSTART

GUIDE

Quickstart

Upload an MP3 file and get back a WAV download URL.

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

What you'll get back

Returns a JSON object with a data string field containing a URI for the converted WAV file.

{
  "data": "https://example.com/output.wav"
}
TRY ITLIVE · 100 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*
MP3 audio file (max 100 MB).

About this endpoint

What it does

Converts an uploaded MP3 audio file to WAV format using a multipart request. The response returns a JSON object with a data field containing a URI to the converted file.

Query Parameter(s)

AttributeTypeDescription
outputStringOutput location or name for the generated result.

Request Body

ParameterTypeDescription
fileBinaryMP3 audio file to convert. Binary upload. Max 100 MB.

Response

Returns a JSON object with a data string field formatted as a URI. This data value points to the converted WAV file.

ParameterTypeDescription
dataStringURI of the converted file.

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

▣ ENDPOINT 03 / 04
POST
MP3 to WAV Conversion
https://api.eu.apyhub.com/apyhub/mp3-to-wav-conversion/url/download

QUICKSTART

GUIDE

Quickstart

Convert an MP3 from a public URL into WAV and download the resulting file.

curl -X POST "https://api.eu.apyhub.com/apyhub/mp3-to-wav-conversion/url/download?output=output" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://assets.apyhub.com/samples/sample.mp3"}'

What you'll get back

Returns binary file content (string with format: binary) — the converted WAV audio itself.

TRY ITLIVE · 100 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.
body*
Publicly accessible URL of the source audio file.

About this endpoint

What it does

Converts an audio file from a publicly accessible URL into WAV format and returns the generated file as binary output. The request body provides the source file URL, and the response is the converted WAV file.

Query Parameter(s)

AttributeTypeDescription
outputStringOutput destination or mode.

Request Body

ParameterTypeDescription
urlStringPublicly accessible URL of the source audio file. Must be a URI.

Response

Returns a binary response containing the converted WAV file.

▣ ENDPOINT 04 / 04
POST
MP3 to WAV Conversion
https://api.eu.apyhub.com/apyhub/mp3-to-wav-conversion/url/link

QUICKSTART

GUIDE

Quickstart

Convert an MP3 from a public URL to WAV by sending the source file URL in the request body.

curl -X POST "https://api.eu.apyhub.com/apyhub/mp3-to-wav-conversion/url/link?output=output" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://assets.apyhub.com/samples/sample.mp3"}'

What you'll get back

Returns a JSON object with a data string field containing the URI of the converted WAV file.

{
  "data": "https://..."
}
TRY ITLIVE · 100 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.
body*
Publicly accessible URL of the source audio file.

About this endpoint

What it does

Converts an audio file available at a URL into a WAV file. You send the source file URL in the request body, and the response returns a JSON object with a data field containing a URI.

Query Parameter(s)

AttributeTypeDescription
outputStringOutput name/path for the converted file.

Request Body

ParameterTypeDescription
urlStringPublicly accessible URL of the source audio file. Must be a URI.

Response

Returns a JSON object with a data string field formatted as a URI.

ParameterTypeDescription
dataStringURI of the converted WAV file.
▣ 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.