# AgentRXI Document to Markdown Converter

> AgentRXI Document to Markdown Converter is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Converts PDF, Word, Excel, ODS/ODT, CSV, HTML, XML, or image files to clean Markdown text via URL or base64 upload

## Facts

- Endpoint: GET https://agentrxi.com/v1/document?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-document-to-markdown-converter-8d719422
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-H_JGrRYMX1Zlh_GY1M_5

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-document-to-markdown-converter-8d719422
```

Example prompt: Can you convert this PDF report into clean markdown text for me? Here's the public URL: https://example.com/report.pdf

## When to prefer this

Use this endpoint when you need to extract readable text or structured content from binary document formats (PDF, DOCX, XLSX, images, etc.) and want the output as clean Markdown. Especially useful when processing documents from public URLs or when you have base64-encoded files. Prefer this over raw OCR services when you need format-aware extraction (tables, headings) across many file types in a single endpoint.

## Known failure modes

- File exceeds 25 MB limit — returns error
- Unsupported file format — returns error indicating unrecognized type
- Invalid or inaccessible URL — returns fetch/network error
- Malformed base64 data — returns parsing error
- Missing filename when using file_base64 — returns validation error
- Payment required (x402) — returns 402 if USDC payment not provided

## How this service works

Document to text: convert PDF, Word (docx), Excel (xlsx/xls), ODS/ODT, CSV, HTML, XML or images to clean Markdown. Send a public file URL or base64 file plus filename (max 25 MB). Also callable as GET with the same fields as query parameters.

## Output

Clean Markdown representation of the document's text content, preserving structure such as headings, tables, lists, and paragraphs as extracted from the source file

## 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": {
      "url": {
       "type": "string",
       "description": "Public URL of the document"
      },
      "filename": {
       "type": "string",
       "description": "Required with file_base64, e.g. report.pdf"
      },
      "file_base64": {
       "type": "string",
       "description": "Alternative to url"
      }
     }
    }
   },
   "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-document-to-markdown-converter-8d719422/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)
