api.delx.ai/api/v1/x402/pdf-ocr
Extract text with PDF OCR from scanned PDF documents (scanned PDF OCR API for agents) for $0.01 USDC via x402 on Base or Solana. Call when you need local Poppler + Tesseract OCR on up to 10 pages of one caller-supplied scanned PDF, returning bounded UTF-8 text, confidence scores, page counts, and a SHA-256 receipt; no API key, no URL fetch, no paid vision provider.
POST
https://api.delx.ai/api/v1/x402/pdf-ocrUptime100% of 1 check 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://api.delx.ai/api/v1/x402/pdf-ocr", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"psm":6,"max_chars":200000,"max_pages":10,"pdf_base64":"<base64 scanned PDF up to 4 MiB decoded>"}),
});
console.log(await res.json());Example input
{
"psm": 6,
"max_chars": 200000,
"max_pages": 10,
"pdf_base64": "<base64 scanned PDF up to 4 MiB decoded>"
}