Example inputPOST /api/v1/x402/pdf-text
{
"pdf_base64": "<base64 PDF up to 4 MiB decoded>",
"max_chars": 200000
}
Portable intent card · document
Extract bounded UTF-8 text from one caller-supplied PDF for $0.003 with SHA-256 receipt and no document storage, URL fetch or scanned-image OCR.
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-text -m POST -H 'x-delx-source: intent-card-pdf-text-extraction-api' --max-amount 0.003 -b '{"pdf_base64":"<base64 PDF up to 4 MiB decoded>","max_chars":200000}'
{
"pdf_base64": "<base64 PDF up to 4 MiB decoded>",
"max_chars": 200000
}
{
"intent": "extract text from a PDF for an agent",
"tool_name": "extract_pdf_text",
"price_usdc": "0.003",
"machine_url": "https://commerce.delx.ai/intents/pdf-text-extraction-api.json"
}
Portable and inspectable