# Citiview Document to Markdown Converter

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

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

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/document?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-document-to-markdown-converter-f345f2dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k_apbA6iPTp4ERElO6ltE

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 citiview-document-to-markdown-converter-f345f2dd
```

Example prompt: Can you convert this PDF report for me — here's the public URL: https://example.com/report.pdf — and give me the full content as clean Markdown?

## When to prefer this

Use this endpoint when you need to extract text content from a wide variety of document formats (PDF, Word, Excel, CSV, HTML, XML, images) and want a clean Markdown output suitable for LLM ingestion, search indexing, or display. Prefer this over OCR-only services when handling multi-format pipelines, and over generic scraping when dealing with binary file formats like DOCX or XLSX.

## Known failure modes

- File exceeds 15 MB limit — returns error
- Unsupported file format submitted — returns error
- Invalid or inaccessible public URL — returns fetch error
- Malformed base64 data — returns parsing error
- Missing filename when using file_base64 — returns validation error

## 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

Returns the full content of the submitted document converted to clean Markdown text, preserving document structure such as headings, tables, lists, and paragraphs as faithfully as the source format allows.

## 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/citiview-document-to-markdown-converter-f345f2dd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
