# AgentUtility PDF Watermark

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

Adds a text watermark to a PDF document and returns a URL to the watermarked output file

## Facts

- Endpoint: POST https://x402.agentutility.ai/pdf-watermark
- Price: $0.02/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-watermark-f381475d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c96uAEAgtpxUE-dC7unCj

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-watermark-f381475d -d '<json body>'
```

Example prompt: Can you add a 'CONFIDENTIAL' text watermark to this PDF and give me a link to download the watermarked version?

## When to prefer this

Use this endpoint when an agent needs to programmatically apply a text watermark to a PDF file and retrieve a hosted download URL of the result, paid per-call at $0.02 USDC via x402. Ideal for workflows that require marking documents as 'DRAFT', 'CONFIDENTIAL', or branded before distribution, without requiring a full document editing environment.

## Known failure modes

- Invalid or inaccessible PDF input URL — endpoint returns error
- Unsupported file format submitted — expects PDF input
- Payment not received or x402 handshake failure — returns 402 Payment Required
- Watermark text missing or malformed request body — returns 400 Bad Request
- Output storage failure — PDF generated but URL unavailable

## 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 the URL of the watermarked PDF (output_url), the confirmed input format ('pdf'), and the watermark type applied ('text')

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "properties": {
      "file_url": {
       "type": "string",
       "description": "URL of the PDF, image, or video to watermark. Format inferred from extension."
      },
      "text": {
       "type": "string",
       "description": "Watermark text. Use this or image_url, not both."
      },
      "image_url": {
       "type": "string",
       "description": "URL of an image to use as the watermark. Use this or text, not both."
      },
      "font_size": {
       "type": "number",
       "description": "Optional. Watermark text font size, 6-400."
      },
      "font_color": {
       "type": "string",
       "description": "Optional. Text color as 6-digit hex, e.g. '#FF0000'."
      },
      "opacity": {
       "type": "number",
       "description": "Optional. Watermark opacity, 0-100."
      },
      "rotation": {
       "type": "number",
       "description": "Optional. Watermark rotation in degrees, -360 to 360."
      },
      "position_vertical": {
       "type": "string",
       "enum": [
        "top",
        "center",
        "bottom"
       ],
       "description": "Optional. Vertical placement: 'top', 'center', or 'bottom'."
      },
      "position_horizontal": {
       "type": "string",
       "enum": [
        "left",
        "center",
        "right"
       ],
       "description": "Optional. Horizontal placement: 'left', 'center', or 'right'."
      }
     },
     "required": [
      "file_url"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "output_url": {
       "type": "string"
      },
      "watermark_type": {
       "type": "string"
      },
      "input_format": {
       "type": "string"
      }
     }
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "output_url": "https://...pdf",
  "input_format": "pdf",
  "watermark_type": "text"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentutility-pdf-watermark-f381475d/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)
