Skip to content
Fourohtwo

OCR and document parsing

agent.pocket.network/v1/ocr-document-parsing

OCR and document parsing: turn an image or PDF into extracted text with layout hints. POST /v1/ocr with a document (or raw text) in the body and get the extracted text and metrics as one JSON object. Deterministic on clean inputs at a fixed engine version. Pay per request in USDC; no account, no API key.

BaseUnchecked
POSThttps://agent.pocket.network/v1/ocr-document-parsing

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://agent.pocket.network/v1/ocr-document-parsing", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"Invoice from Acme Corp, total $42.00, dated 2026-01-15."}),
});
console.log(await res.json());

Example input

{
  "text": "Invoice from Acme Corp, total $42.00, dated 2026-01-15."
}

More from Pocket Network