DELXCOMMERCE Live contract

Web and API intelligence · document

PDF Text Extraction for Agents

PDF text extraction API for agents: extract bounded UTF-8 text from one caller-supplied PDF for $0.003 USDC via x402. Local first-party parsing with SHA-256 receipt and no document storage or URL fetch; scanned-image OCR is a separate product.

x402pdfpdf-textpdf-text-extractionpdf-text-extraction-apidocument-processingtext-extraction

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-text -m POST -H 'x-delx-source: product-page' --max-amount 0.003 -b '{"pdf_base64":"<base64 PDF up to 4 MiB decoded>","max_chars":200000}'
InputPOST /api/v1/x402/pdf-text
{
  "pdf_base64": "<base64 PDF up to 4 MiB decoded>",
  "max_chars": 200000
}
Delivered resultapplication/json
{
  "schema": "delx/pdf-text/v1",
  "scope": "pdf_text",
  "document_id": "pdf_6fd2b8d1b8ddf0f3e9a9b2c4d5e6f708",
  "input_sha256": "6fd2b8d1b8ddf0f3e9a9b2c4d5e6f7081234567890abcdef1234567890abcdef",
  "output_sha256": "c5f7b2d4c1e7a0f9b6d2e8c3a4f5b6071234567890abcdef1234567890abcdef",
  "bytes": 48210,
  "text": "Extracted PDF text",
  "chars": 19,
  "pages_observed": 2,
  "truncated": false,
  "provider": "first-party",
  "model": "poppler-pdftotext",
  "upstream_cost_usd": 0,
  "sale_price_usdc": 0.003,
  "gross_margin_floor_usd": 0.0028425,
  "attribution": "Text extracted locally by Delx with Poppler; no document is stored, fetched, or sent to a third-party provider. Scanned-image OCR is not included."
}

Machine-readable evidence

Inspect before paying.