# Quietforge Docs API – Document Format Converter

> Quietforge Docs API – Document Format Converter is a paid API for AI agents from qf-api.quietforge-studio.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-11).

Converts documents between formats (e.g. DOCX→PDF, HTML→XLSX, ODT→CSV) by accepting a base64-encoded file or public URL and returning the converted file as base64

## Facts

- Endpoint: POST https://qf-api.quietforge-studio.workers.dev/v1/convert?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quietforge-docs-api-document-format-converter-d729859d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b7uxdbLv8YXaA6OaNDuYW

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 quietforge-docs-api-document-format-converter-d729859d -d '<json body>'
```

Example prompt: Convert this Word document to PDF for me — here's the file as base64, the original filename is 'report.docx', and I want the output as a PDF.

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call document format conversion with no signup or API key, especially for one-off or low-volume conversions across common office formats (DOCX, PDF, XLSX, PPTX, ODT, CSV, HTML, TXT). It's ideal for agents that need to transform documents on-demand without provisioning a dedicated conversion service. Prefer it when the source is a public URL or a base64-encoded file under 15 MB and the target format is one of the supported enums.

## Known failure modes

- Unsupported source format: the source file extension is not among the accepted input types, returning a 4xx error
- File too large: base64-encoded content exceeds the 15 MB limit
- Unreachable URL: the provided public URL is inaccessible or returns a non-200 response
- Invalid base64: malformed base64 content_base64 input
- Payment failure: x402 USDC payment on Base not completed, returning 402
- Conversion error: the underlying conversion engine fails for a malformed or corrupted source file

## How this service works

Pay-per-call document conversion, PDF text extraction, headless-browser rendering of a URL or HTML to PNG / JPEG / PDF, a health-probed directory of x402 pay-per-call endpoints, a sudoku generator (solver-verified, technique-graded puzzles as JSON or a print-ready A4/Letter book), a book typesetter (prose manuscript to a KDP-ready interior PDF + editable docx), a crossword generator (verified freeform grid from your clue/answer pairs as JSON or print-ready PDFs), a family tree chart layout engine (descendant / ancestor / hourglass charts from people+families JSON or a GEDCOM file, as verified layout JSON or print-ready poster and tiled PDFs), and a dataset quality audit tool (duplicates, missing values, type consistency, class imbalance, numeric outliers and PII-pattern counts for a CSV/JSON dataset, as JSON or a one-page PDF summary). Payment: x402 (USDC on Base). No signup, no API key.

## Output

A JSON object containing the converted file as a base64-encoded string (content_base64), the output filename, MIME content type, file size in bytes, and page count where applicable.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "enum": [
    "csv",
    "docx",
    "html",
    "odp",
    "ods",
    "odt",
    "pdf",
    "png",
    "pptx",
    "txt",
    "xlsx"
   ],
   "type": "string",
   "description": "Target format (default pdf; png = first page render)"
  },
  "url": {
   "type": "string",
   "description": "Public https URL of the file to fetch instead of content_base64"
  },
  "filename": {
   "type": "string",
   "description": "Original filename with extension (docx, doc, odt, rtf, txt, md, html, xlsx, xls, ods, csv, pptx, ppt, odp)"
  },
  "content_base64": {
   "type": "string",
   "description": "File bytes, base64 (max 15 MB). Either this or url."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 48210,
  "pages": 3,
  "filename": "report.pdf",
  "content_type": "application/pdf",
  "content_base64": "JVBERi0xLjcK..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quietforge-docs-api-document-format-converter-d729859d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from qf-api.quietforge-studio.workers.dev](https://www.zero.xyz/host/qf-api.quietforge-studio.workers.dev/llms.txt)
