Skip to content
Fourohtwo

Fast 1-step document conversion for AI agents

convert.guru/api/x402/v1/convert-document

Fast 1-step document conversion for AI agents: DOCX to PDF, PDF to DOCX, XLSX to CSV, PPTX to PDF, EPUB to PDF, ODT to PDF, RTF to DOCX, HTML to PDF. Input formats include PDF, DOCX, DOC, ODT, RTF, TXT, MD, HTML, XLSX, XLS, CSV, ODS, PPTX, PPT, ODP, EPUB, MOBI, AZW3, PAGES, NUMBERS, KEY, WPD, HWP, LaTeX, TEX and 130+ more document formats. Accepts multipart/form-data or JSON with source_url; payme

BasePolygonArbitrumSolanaAnswering
POSThttps://convert.guru/api/x402/v1/convert-document

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://convert.guru/api/x402/v1/convert-document", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"created_at":"2026-05-21T14:30:00Z","file":"<binary file>","filename":"report.docx","size_bytes":184221,"target_format":"pdf"}),
});
console.log(await res.json());

Example input

{
  "created_at": "2026-05-21T14:30:00Z",
  "file": "<binary file>",
  "filename": "report.docx",
  "size_bytes": 184221,
  "target_format": "pdf"
}