Skip to content
Fourohtwo

Use when an agent must read a document it was handed

flat-rate-llm.kikoribera03.workers.dev/v1/ai/document

Use when an agent must read a document it was handed: it turns it into clean Markdown in about a second - pass an https URL or base64 of a PDF, Word, Excel, PowerPoint, HTML, CSV or XML file and get the text back with its headings, tables and page markers, plus the token count. It reads the text layer, so a scanned page with no text layer comes back without text. You are only charged if the Markdo

BasePolygonArbitrumAnswering
POSThttps://flat-rate-llm.kikoribera03.workers.dev/v1/ai/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://flat-rate-llm.kikoribera03.workers.dev/v1/ai/document", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://flat-rate-llm.kikoribera03.workers.dev/m/muestra-documento.pdf"}),
});
console.log(await res.json());

Example input

{
  "url": "https://flat-rate-llm.kikoribera03.workers.dev/m/muestra-documento.pdf"
}