# AgentUtility Merge PDF

> AgentUtility Merge PDF is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Merges multiple PDF files into a single combined PDF document, returning a download URL

## Facts

- Endpoint: POST https://x402.agentutility.ai/merge-pdf
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentutility-merge-pdf-134358f0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ClTbIO3SDcl9DSyTuBzqu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentutility-merge-pdf-134358f0 -d '<json body>'
```

Example prompt: Can you merge these two PDF files into one — my invoice.pdf and receipt.pdf — and give me a link to download the combined document?

## When to prefer this

Use this endpoint when an agent needs to programmatically combine multiple PDF documents into one, paid per-call with USDC at $0.01 via the x402 protocol — ideal for document automation workflows where merging invoices, reports, or contracts is needed on demand.

## Known failure modes

- Invalid or inaccessible PDF URLs result in an error
- Non-PDF file types rejected
- Payment failure via x402 blocks the request
- Corrupted or password-protected PDFs may fail to merge
- Too many or too large files may exceed limits

## How this service works

Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.

## Output

Returns a JSON object with a pdf_url pointing to the merged PDF file and a merged_count integer indicating how many PDFs were combined.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "pdf_urls"
     ],
     "properties": {
      "filename": {
       "type": "string",
       "description": "Output filename, must end in .pdf. Optional; defaults to \"merged.pdf\"."
      },
      "pdf_urls": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "PDF URLs to merge in order. 2-50 URLs, each http/https."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "pdf_url": {
       "type": "string"
      },
      "merged_count": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pdf_url": "https://...pdf",
  "merged_count": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentutility-merge-pdf-134358f0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
