Skip to content
Fourohtwo

falcon.sol

falcondocs.vercel.app/v1/ocr

falcon.sol: OCR for agents: scanned or photographed PDF (up to 20 pages) or a PNG/JPEG/WEBP/BMP/TIFF image to text or markdown, using local Tesseract (English). Send a URL, base64 file or raw image body. No text found is not charged. $0.0045 USDC.

SolanaBaseUnchecked
POSThttps://falcondocs.vercel.app/v1/ocr

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://falcondocs.vercel.app/v1/ocr", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://falcondocs.vercel.app/samples/invoice.pdf"}),
});
console.log(await res.json());

Example input

{
  "url": "https://falcondocs.vercel.app/samples/invoice.pdf"
}

More from falcon.sol docs