{
  "format": "delx/discovery-pack/v1",
  "id": "process-pdf-documents",
  "title": "Extract text from PDF documents",
  "description": "A bounded local document-processing path for agents that need text or OCR from one supplied PDF, with no URL fetch or storage.",
  "audience": "Research, document and automation agents",
  "query": "extract text from a PDF for an agent",
  "keywords": [
    "PDF text extraction",
    "document processing",
    "PDF parser",
    "text layer extraction",
    "x402 document API"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/packs/process-pdf-documents",
  "machine_url": "https://commerce.delx.ai/packs/process-pdf-documents.json",
  "entrypoints": {
    "human": "https://commerce.delx.ai/?q=extract%20text%20from%20a%20PDF%20for%20an%20agent",
    "intent_search": "https://api.delx.ai/api/v1/x402/start?q=extract%20text%20from%20a%20PDF%20for%20an%20agent",
    "graph": "https://commerce.delx.ai/discovery.json"
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "discovery-pack-process-pdf-documents"
  },
  "products": [
    {
      "tool_name": "extract_pdf_text",
      "service_name": "PDF Text Extraction for Agents",
      "category": "document",
      "price_usdc": "0.003",
      "method": "POST",
      "route": "/api/v1/x402/pdf-text",
      "product_url": "https://commerce.delx.ai/products/extract-pdf-text",
      "intent_url": "https://commerce.delx.ai/intents/pdf-text-extraction-api",
      "machine_url": "https://commerce.delx.ai/intents/pdf-text-extraction-api.json",
      "example_input": {
        "pdf_base64": "\u003cbase64 PDF up to 4 MiB decoded>",
        "max_chars": 200000
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/pdf-text -m POST -H 'x-delx-source: discovery-pack-process-pdf-documents' --max-amount 0.003 -b '{\"pdf_base64\":\"\u003cbase64 PDF up to 4 MiB decoded>\",\"max_chars\":200000}'"
    },
    {
      "tool_name": "extract_pdf_ocr",
      "service_name": "Scanned PDF OCR for Agents",
      "category": "document",
      "price_usdc": "0.01",
      "method": "POST",
      "route": "/api/v1/x402/pdf-ocr",
      "product_url": "https://commerce.delx.ai/products/extract-pdf-ocr",
      "intent_url": "https://commerce.delx.ai/intents/pdf-ocr-api",
      "machine_url": "https://commerce.delx.ai/intents/pdf-ocr-api.json",
      "example_input": {
        "pdf_base64": "\u003cbase64 scanned PDF up to 4 MiB decoded>",
        "max_pages": 10,
        "max_chars": 200000,
        "psm": 6
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/pdf-ocr -m POST -H 'x-delx-source: discovery-pack-process-pdf-documents' --max-amount 0.01 -b '{\"pdf_base64\":\"\u003cbase64 scanned PDF up to 4 MiB decoded>\",\"max_pages\":10,\"max_chars\":200000,\"psm\":6}'"
    }
  ]
}
