---
title: WAV to MP3 Converter API
slug: convert-wav-to-mp3
url: https://apyhub.com/apyhub/service/convert-wav-to-mp3
provider: ApyHub
categories: [Ingestion Kit, Output Kit]
tags: [wav-to-mp3, audio-conversion, mp3, audio-processing]
auth: api_key
version: 1.0.0
service_type: sync
endpoints: 4
atoms: 100
mcp: true
alias: audio-converter-wav-mp3
---

# WAV to MP3 Converter API

WAV to MP3 API: upload a WAV file or send its URL and get back an MP3 file or a signed link. Shrink recordings for storage. Free tier, no card.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/apyhub/convert-wav-to-mp3/multi-part/download` | What it does Converts an uploaded WAV audio file to MP3 and returns the converted audio as a binary… | 100 |
| POST | `https://api.eu.apyhub.com/apyhub/convert-wav-to-mp3/multi-part/link` | What it does Converts an uploaded WAV file to MP3 and returns a signed link to the converted audio.… | 100 |
| POST | `https://api.eu.apyhub.com/apyhub/convert-wav-to-mp3/url/download` | What it does Converts a WAV audio file fetched from a public URL into MP3 and returns the converted… | 100 |
| POST | `https://api.eu.apyhub.com/apyhub/convert-wav-to-mp3/url/link` | What it does Converts a WAV audio file fetched from a publicly accessible URL into MP3 and returns… | 100 |

## Endpoint reference

### Convert WAV to MP3 (multipart upload, stream download)

`POST https://api.eu.apyhub.com/apyhub/convert-wav-to-mp3/multi-part/download` · 100 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `file` | body | string (binary) | yes | WAV audio file to convert (max 100 MB). |
| `output` | query | string | no | Example: `converted-audio`. |

#### Quickstart

Convert a WAV file to MP3 by uploading the audio file and choosing an output name.

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

#### What you'll get back

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

```binary
<mp3 file bytes>
```

### Convert WAV to MP3 (multipart upload, return signed link)

`POST https://api.eu.apyhub.com/apyhub/convert-wav-to-mp3/multi-part/link` · 100 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `file` | body | string (binary) | yes | WAV audio file to convert (max 100 MB). |

#### Quickstart

Upload a WAV file to get back a link to the converted MP3.

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

#### What you'll get back

Returns a JSON object with a `data` string field containing a URI to the generated MP3 file.

```json
{
  "data": "https://storage.example.com/audio/output.mp3?sig=abc"
}
```

### Convert WAV to MP3 (fetch by URL, stream download)

`POST https://api.eu.apyhub.com/apyhub/convert-wav-to-mp3/url/download` · 100 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | body | string (uri) | yes | Publicly accessible URL of the source WAV audio file. Example: `https://assets.apyhub.com/samples/sample.wav`. |
| `output` | query | string | no | Example: `converted-audio`. |

#### Quickstart

Convert a WAV file from a public URL to MP3 by sending the source file URL.

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

#### What you'll get back

Returns the converted MP3 as a binary file response. The example above saves the file locally as converted.mp3.

### Convert WAV to MP3 (fetch by URL, return signed link)

`POST https://api.eu.apyhub.com/apyhub/convert-wav-to-mp3/url/link` · 100 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | body | string (uri) | yes | Publicly accessible URL of the source WAV audio file. Example: `https://assets.apyhub.com/samples/sample.wav`. |

#### Quickstart

Convert a public WAV file to MP3 by sending its URL.

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

#### What you'll get back

Returns a JSON object with a `data` string field containing the MP3 file URL.

```json
{
  "data": "https://storage.example.com/audio/output.mp3?sig=abc"
}
```

## About

## What it does
The WAV to MP3 API converts WAV audio into MP3, a much smaller file that plays on almost any device or browser. Send a WAV as a binary `file` upload (up to 100 MB) or pass the `url` of a WAV hosted elsewhere. You get back the MP3 as a binary response, or a signed link in `data` that you can store or share.

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 or on another server. The download endpoints stream the MP3 back in the same call and accept an optional `output` query parameter to name the file. The link endpoints suit backends that fetch results later.

Teams use this WAV to MP3 converter to shrink call and voice recordings before archiving them, prepare podcast and interview audio for web and mobile playback, and standardize uploads in a media pipeline. It also replaces an FFmpeg WAV to MP3 step on your own servers, so there is no encoder to install or maintain. AI agents can call the WAV to MP3 API through ApyHub MCP.

Pairs well with: transcribe the original WAV with the [Convert Speech to Text API](https://apyhub.com/apyhub/service/transcribe-speech-to-text) before compressing it, pull the soundtrack out of a video with the [Audio Extractor from Video API](https://apyhub.com/apyhub/service/extract-audio-from-video), or go the other way with the [MP3 to WAV Converter API](https://apyhub.com/apyhub/service/mp3-to-wav-conversion).

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/convert-wav-to-mp3
