agentdata-api.sander-van-aard.workers.dev
Document to clean markdown for AI agents, $0.05 per file: PDF, DOCX, XLSX, ODT, ODS, CSV, HTML or XML in, LLM-ready markdown (or plain text) out. One call: send a url or the file as base64 (max 10 MB) — no upload step, no polling. A PDF without a text layer (a scan) returns 400 and you pay nothing; use /doc/ocr for images. USDC on Base, no account, no API key.
- Price per call
- $0.05
- Chain
- Base
- Method
- POST
- Paid calls · 30 days
- 1
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://agentdata-api.sander-van-aard.workers.dev/doc/markdown", { method: "POST" });
console.log(await res.json());https://agentdata-api.sander-van-aard.workers.dev/doc/markdown