# AgentRXI Audio Extractor

> AgentRXI Audio Extractor is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.012/call, status unknown (last checked 2026-10-15).

Extracts the audio track from a video file and returns it as mp3, wav, m4a, aac, flac, ogg, or opus — ready for transcription or editing

## Facts

- Endpoint: GET https://agentrxi.com/v1/media/extract-audio?utm_source=zero.xyz
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-audio-extractor-9743a980
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zVtYWXkGw-GAohNhlmNPt

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentrxi-audio-extractor-9743a980
```

Example prompt: Can you extract the audio track from this video — https://example.com/lecture.mp4 — and give it to me as a wav file at 16000 Hz sample rate so I can run it through a speech transcription model?

## When to prefer this

Choose this endpoint when you need to programmatically extract or convert the audio track from a video file into a specific audio format — especially when preparing audio for speech-to-text models (e.g. Whisper at 16 kHz), archiving audio as lossless flac, or producing podcast-ready mp3s. It accepts both video URLs and base64-encoded files, supports multiple output formats, and handles the store/share-link pattern automatically for larger files.

## Known failure modes

- Video URL unreachable or not an https URL
- File exceeds 20 MB size limit
- Unsupported video format with no detectable audio track
- Invalid or unrecognized 'to' format parameter
- base64 input malformed or too large
- Sample rate or bitrate values out of range

## How this service works

Pull the audio track out of a video as mp3 (default), wav, m4a, aac, flac, ogg or opus, ready for transcription or editing. Also callable as GET with the same fields as query parameters.

## Output

Returns the extracted audio as base64-encoded file data (or a 7-day share link for files over 3 MB or when store=true), in the requested format (mp3 by default, or wav, m4a, aac, flac, ogg, opus). Optionally returns raw binary bytes when format=binary.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string",
       "description": "mp3 (default), wav, m4a, aac, flac, ogg, opus"
      },
      "url": {
       "type": "string",
       "description": "https URL of the file (max 20 MB)"
      },
      "store": {
       "type": "boolean",
       "description": "Return 7-day share links instead of base64 (+$0.001); automatic above 3 MB"
      },
      "format": {
       "type": "string",
       "description": "binary = raw file bytes (single output)"
      },
      "channels": {
       "type": "integer"
      },
      "filename": {
       "type": "string",
       "description": "Name with extension, helps detect the type"
      },
      "file_base64": {
       "type": "string",
       "description": "Or the file as base64 / data URI"
      },
      "sample_rate": {
       "type": "integer",
       "description": "e.g. 16000 for speech models"
      },
      "audio_bitrate": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentrxi-audio-extractor-9743a980/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
