Example inputPOST /api/v1/x402/pdf-ocr
{
"pdf_base64": "<base64 scanned PDF up to 4 MiB decoded>",
"max_pages": 10,
"max_chars": 200000,
"psm": 6
}
Portable intent card · document
OCR up to 10 pages of one caller-supplied scanned PDF for $0.01 with confidence, page counts and SHA-256 receipt—no URL fetch, storage or paid vision provider.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/pdf-ocr -m POST -H 'x-delx-source: intent-card-pdf-ocr-api' --max-amount 0.01 -b '{"pdf_base64":"<base64 scanned PDF up to 4 MiB decoded>","max_pages":10,"max_chars":200000,"psm":6}'
{
"pdf_base64": "<base64 scanned PDF up to 4 MiB decoded>",
"max_pages": 10,
"max_chars": 200000,
"psm": 6
}
{
"intent": "OCR a scanned PDF for an agent",
"tool_name": "extract_pdf_ocr",
"price_usdc": "0.01",
"machine_url": "https://commerce.delx.ai/intents/pdf-ocr-api.json"
}
Portable and inspectable