# AgentRXI Office Document Converter

> AgentRXI Office Document Converter 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).

Convert office documents (Word, Excel, PowerPoint, ODT, RTF, HTML, CSV) to PDF or between formats using LibreOffice

## Facts

- Endpoint: GET https://agentrxi.com/v1/office/convert?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-office-document-converter-f5fab2a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8aCkLtnBNJWrY8YipSUXk

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-office-document-converter-f5fab2a8
```

Example prompt: Can you convert this Word document to PDF for me? Here's the URL: https://example.com/report.docx — just give me back the PDF file.

## When to prefer this

Use this endpoint when you need to convert office documents (Word, Excel, PowerPoint, ODT, RTF, HTML, CSV) between formats, especially to PDF. Ideal for agent workflows that need to produce printable or universally readable documents from editable source files. Prefer this over general-purpose file APIs when the source is an office document format and the target format is one of the supported office/PDF types. The $0.012 per-call price makes it cost-effective for on-demand document conversion.

## Known failure modes

- File exceeds 20 MB limit — conversion rejected
- URL is not publicly accessible or returns non-200 — fetch failure
- Unsupported source/target format combination — conversion error
- Malformed base64 input — decode error
- Source file is password-protected — LibreOffice cannot open it
- Network timeout fetching remote file

## How this service works

Convert office documents with LibreOffice: Word, Excel, PowerPoint, OpenDocument, RTF, HTML, CSV or text to PDF (default), or between formats (docx, odt, rtf, txt, html, xlsx, ods, csv, pptx, odp). Also callable as GET with the same fields as query parameters.

## Output

Returns the converted file either as base64-encoded content or, for files above 3 MB or when store=true is set, as a 7-day public share link. The response includes the file type and the converted document in the requested output format (defaulting to PDF).

## 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": "pdf (default), docx, odt, rtf, txt, html, xlsx, ods, csv, pptx, odp"
      },
      "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)"
      },
      "filename": {
       "type": "string",
       "description": "Name with extension, helps detect the type"
      },
      "file_base64": {
       "type": "string",
       "description": "Or the file as base64 / data URI"
      }
     }
    }
   },
   "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-office-document-converter-f5fab2a8/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)
