# Relaystation PDF Form Fill

> Relaystation PDF Form Fill 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).

Programmatically fill or flatten PDF forms by submitting field values and receiving a completed PDF document in return.

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/pdf/form
- 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-form-fill-ed737ab6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_unsu1hgbkj9tuBru05cXb

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-form-fill-ed737ab6 -d '<json body>'
```

Example prompt: Fill in the PDF form at this URL with the following field values — Name: Jane Smith, Date: 2025-06-15, Amount: $4,200 — and give me back the completed, flattened PDF ready to send.

## When to prefer this

Choose this endpoint when you need to programmatically populate PDF form fields with structured data and receive a ready-to-use document in return. Ideal for automating document workflows — invoices, applications, contracts, government forms — where you have a reusable PDF template and need to fill it with dynamic values at low cost ($0.001/page). Prefer this over e-signature services (like the sibling Relaystation endpoint) when you only need field-filling without a signing workflow, and over OCR/extraction endpoints when your goal is writing data into a PDF rather than reading data out.

## Known failure modes

- Invalid or corrupt PDF input — returns error if the source PDF cannot be parsed
- Field name mismatch — if provided field names do not match fields in the PDF, those fields may be skipped or error returned
- PDF is not a fillable form — flat/scanned PDFs without form fields cannot be filled
- Payment failure — x402 micropayment of $0.01 USDC not completed, request rejected
- Oversized PDF — very large files may exceed processing limits
- Malformed field values — incompatible data types for specific field types (e.g. text in date fields)

## How this service works

$0.001/page. Fill or flatten PDF forms programmatically — field values in, finished PDF out. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

A completed, optionally flattened PDF document with all specified form fields populated with the provided values, returned as binary PDF data ready for download, storage, or further processing.

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/relaystation-pdf-form-fill-ed737ab6/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)
