# RelayStation PDF Merge

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

Combines multiple PDF files into a single PDF in a user-specified order, billed at $0.001 per page

## Facts

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

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

Example prompt: Can you merge these three PDFs — the cover letter, resume, and portfolio — into a single PDF in that exact order?

## When to prefer this

Choose this endpoint when you need a programmatic, per-page-billed PDF merge as part of an automated pipeline or agent workflow, especially when you want fine-grained control over the ordering of source PDFs. It is ideal for agents handling document assembly tasks without desktop software, when cost predictability at $0.001/page matters, and when you need a pay-as-you-go model via x402 micropayments rather than a subscription-based PDF tool.

## Known failure modes

- Invalid or corrupt PDF file — returns error indicating which file failed to parse
- Unsupported PDF version or encrypted/password-protected PDF — returns decryption/unsupported error
- Incorrect file order or missing file references — returns bad request with field validation details
- Payment failure or insufficient USDC balance — returns 402 Payment Required
- Request too large or too many pages — may return timeout or size-limit error
- Network timeout on large PDF uploads — returns connection error

## How this service works

$0.001/page. Combine any number of PDFs into one, in the order you choose. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

A single merged PDF file containing all input PDFs concatenated in the specified order. The response includes the combined PDF binary or a download URL, along with metadata such as total page count and billing information (pages processed, cost charged, any credit remainder).

## 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": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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