Fast 1-step file conversion for AI agents (up to 15s wait)
convert.guru/api/x402/v1/convert-file/fast
Fast 1-step file conversion for AI agents (up to 15s wait): DOCX to PDF, PDF to DOCX, HEIC to JPG, PNG to WEBP, MP4 to MP3. Verifies payment first and settles payment only if conversion succeeds. Accepts multipart/form-data file upload or JSON with source_url.
POST
https://convert.guru/api/x402/v1/convert-file/fastUptime100% of 3 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-file/fast", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"created_at":"2026-05-21T14:30:00Z","file":"<binary file>","filename":"document.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": "document.docx",
"size_bytes": 184221,
"target_format": "pdf"
}