DELXCOMMERCE Live contract

Web and API intelligence · document

Scanned PDF OCR for Agents

Scanned PDF OCR API for agents: OCR up to 10 pages of one caller-supplied scanned PDF for $0.01 USDC via x402. Returns bounded text, confidence, page counts, and SHA-256 receipt; local temporary files are cleaned on normal completion, with no URL fetch or paid vision provider.

x402ocrpdf-ocrscanned-pdfscanned-pdf-ocrdocument-ocrdocument-processing

One-command purchase

Run it from an agent.

No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.

npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/pdf-ocr -m POST -H 'x-delx-source: product-page' --max-amount 0.01 -b '{"pdf_base64":"<base64 scanned PDF up to 4 MiB decoded>","max_pages":10,"max_chars":200000,"psm":6}'
InputPOST /api/v1/x402/pdf-ocr
{
  "pdf_base64": "<base64 scanned PDF up to 4 MiB decoded>",
  "max_pages": 10,
  "max_chars": 200000,
  "psm": 6
}
Delivered resultapplication/json
{
  "schema": "delx/ocr/v1",
  "scope": "pdf_ocr",
  "document_id": "pdf_ocr_6fd2b8d1b8ddf0f3e9a9b2c4d5e6f708",
  "input_sha256": "6fd2b8d1b8ddf0f3e9a9b2c4d5e6f7081234567890abcdef1234567890abcdef",
  "output_sha256": "c5f7b2d4c1e7a0f9b6d2e8c3a4f5b6071234567890abcdef1234567890abcdef",
  "bytes": 48210,
  "text": "--- Page 1 ---\nPrinted text recognized from a scanned PDF",
  "chars": 51,
  "words_observed": 9,
  "confidence": 94.12,
  "language": "eng",
  "psm": 6,
  "pages_observed": 1,
  "total_pages": 1,
  "truncated": false,
  "provider": "first-party",
  "model": "tesseract-5+poppler",
  "upstream_cost_usd": 0,
  "sale_price_usdc": 0.01,
  "gross_margin_floor_usd": 0.0095275,
  "attribution": "Text recognized locally by Delx with Tesseract and Poppler; local temporary files are removed on normal context exit, without an abrupt-termination cleanup guarantee; no URL fetch or third-party provider."
}

Machine-readable evidence

Inspect before paying.