# AgentUtility PDF Merge

> AgentUtility PDF Merge 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 hosted URL to the merged result.

## Facts

- Endpoint: POST https://x402.agentutility.ai/pdf-merge
- 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-pdf-merge-fa727f3e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AVWvi51YNraZMwzvEQfqj

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-pdf-merge-fa727f3e -d '<json body>'
```

Example prompt: Can you merge these two PDFs into one — https://example.com/report.pdf and https://example.com/appendix.pdf — and give me a link to the combined file?

## When to prefer this

Choose this endpoint when an agent needs to programmatically merge two or more PDFs into a single hosted file and receive a stable URL back, especially in automated workflows where USDC micropayment via x402 is already supported. Ideal for document assembly tasks such as combining reports, invoices, or multi-part submissions without spinning up server-side PDF tooling.

## Known failure modes

- One or more input PDF URLs are unreachable or return non-PDF content — endpoint may return an error or produce a corrupted output
- Payment of $0.01 USDC via x402 is not included or fails — request is rejected before processing
- Input URLs point to password-protected or encrypted PDFs that cannot be parsed
- Too many PDFs or total file size exceeds server limits — likely returns a size/count limit error
- Malformed request body missing required PDF URL list — returns validation error

## How this service works

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

## Output

A JSON object containing a `pdf_url` field with a hosted 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-pdf-merge-fa727f3e/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)
