$ man mp4-to-mp3
/mp4-to-mp3(1)
PRICE / CALL
$0.10
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakitCATEGORY
media
STATUS
● live
NAME
mp4-to-mp3 — mp4 → mp3 audio extractor
SYNOPSIS
POST https://x402.org/v1/mp4-to-mp3
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
MP4 → MP3 audio extractor. Any video format (mov, webm, mkv, avi, m4v, flv) → MP3 via CloudConvert. Selectable bitrate (96/128/192 kbps). 60-min / 500MB max.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| video_url | string | Public URL of a video file (mp4, webm, mov, mkv, etc.). Max 60 minutes / 500MB. | required |
| bitrate | number | MP3 bitrate in kbps. One of: 96, 128 (default), 192. enum: 96 · 128 · 192 | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| audio_url | string | Signed CloudConvert URL of the extracted MP3 (24h expiry). |
| bitrate | number | Bitrate applied (kbps). |
| file_size_bytes | number | Output MP3 size in bytes. |
| content_type | string | MIME type of the output (typically audio/mpeg). |
| source_url | string | Echo of the input URL. |
| job_id | string | CloudConvert job id (useful for support). |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/mp4-to-mp3 \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# install once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the mp4-to-mp3 tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- mp4mp3audioextractconvertvideo
- env
- CLOUD_CONVERT_API_KEY
- methods
- POST
- cluster
- mediakit
- price
- $0.10 USDC per call
ADJACENT — other endpoints in mediakit
| endpoint | description | price |
|---|---|---|
| extract-tables | Extract tables from PDF / table extractor / PDF to CSV / spreadsheet from PDF. | $0.10 |
| pdf-extract-tables | PDF table extractor / table from PDF / scanned-table parsing / financial-table OCR / multi-page table consolidator / Datalab Marker tables. | $0.10 |
| pdf-to-jpg | PDF to JPG / PNG / WEBP image converter. | $0.10 |
| speaker-diarize | Speaker diarization / who-said-what transcription. | $0.10 |
| transcribe | Video / audio transcription via Whisper v3. | $0.10 |
| upscale-image | AI image upscaler / super-resolution / image enlarger. | $0.10 |
| video-summarize | Video summarizer / podcast summarizer / lecture notes generator. | $0.10 |
| video-to-audio | Video → audio extractor / video to audio converter. | $0.10 |
SEE ALSO