API & MCP
Everything a person can do on Video to MP3 Extractor, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://videotoaudioextractor.usefulweb.site/api/v1/calculate– run Video to MP3 ExtractorGET https://videotoaudioextractor.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Video to MP3 Extractor
Extracts an audio track from MP4, MOV, MKV, WebM, AVI and other videos. Pick the track if there are several (e.g. languages), save it as MP3 (VBR or CBR), WAV or FLAC, or copy the original AAC/Opus/Vorbis/MP3/FLAC stream into M4A/Ogg/MP3/FLAC without re-encoding. Optional start/end trim.
| Field | Type | Default | Description |
|---|---|---|---|
file (required) | file | — | Video file. MP4, MOV, MKV, WebM, AVI, MPEG-TS, WMV, FLV; max 250 MB and 20 minutes. |
stream | integer | 1 | Audio track number. 1 = first audio track. The report lists all tracks with language and codec. |
format | select (mp3, wav, flac, copy) | "mp3" | Output |
mp3Quality | select (v0, v2, v4, 320, 192, 128) | "v2" | MP3 quality |
start | text | — | Start time. Optional. Seconds, mm:ss or hh:mm:ss.mmm. |
end | text | — | End time. Optional. Empty = to the end. |
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://videotoaudioextractor.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
video_to_audio_extractor - Local stdio connector:
node src/mcp-stdio.ts --tool=video-to-audio-extractor
{
"mcpServers": {
"video-to-audio-extractor": { "type": "http", "url": "https://videotoaudioextractor.usefulweb.site/mcp" }
}
}