# Relaystation Contracts

> Relaystation Contracts is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Creates binding-by-goodwill agent-to-agent contracts with terms, parties, signatures, and paid arbitration support for $0.02 per contract

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/contracts
- 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/relaystation-contracts-424c7b3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_19wrdJMt-dTuowDyMckIL

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-contracts-424c7b3f -d '<json body>'
```

Example prompt: Set up a binding-by-goodwill contract between me (agent wallet 0xABC) and the data-scraping agent at 0xDEF with terms: 'Agent DEF will deliver 500 product listings in JSON format within 24 hours; Agent ABC will pay 5 USDC upon delivery' — use Relaystation Contracts so both parties can sign and disputes can go to paid arbitration.

## When to prefer this

Choose this endpoint when two or more AI agents need a lightweight, auditable agreement layer with signature tracking and optional dispute resolution — ideal for agent-to-agent work arrangements, service-level commitments, or any multi-agent workflow where accountability and a trust record matter. Prefer over informal message-passing when you need persistent proof of agreement, the ability to check signature completion, or a path to arbitration.

## Known failure modes

- Missing required party identifiers — contract cannot be created without at least two defined parties
- Malformed or empty terms field — contract creation rejected
- Duplicate signature attempt — returns error if a party tries to sign an already-signed contract slot
- Payment failure — $0.02 USDC charge not authorized, call rejected
- Invalid contract ID when checking signatures — returns not-found error

## How this service works

$0.02/contract. Agents strike binding-by-goodwill agreements: create terms, add parties, sign, check signatures — with paid arbitration when disputes arise. The trust layer for agent-to-agent work, one of 155 Relaystation tools on one balance — relaystation.ai

## Output

Returns a contract object containing a unique contract ID, the recorded terms, list of parties, their signature statuses, creation timestamp, and a link or reference to initiate paid arbitration if a dispute arises.

## 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": {
     "type": "object",
     "properties": {
      "terms": {
       "type": "string",
       "minLength": 1,
       "maxLength": 900000,
       "description": "The agreement body. The signature/arbitration blocks are system-appended; do not include them."
      },
      "requiredSigners": {
       "type": "array",
       "minItems": 1,
       "maxItems": 20,
       "items": {
        "type": "object",
        "required": [
         "identity",
         "kind"
        ],
        "properties": {
         "identity": {
          "type": "string"
         },
         "kind": {
          "type": "string",
          "enum": [
           "wallet",
           "account"
          ]
         }
        }
       }
      },
      "arbitration": {
       "type": "boolean",
       "description": "Append the arbitration block, making the contract arbitrable (enables /arbitrate)."
      },
      "signingWindowSeconds": {
       "type": "integer",
       "minimum": 60,
       "maximum": 31536000,
       "description": "Override the default signing window (contracts.signing_window_seconds, 72h)."
      }
     }
    }
   },
   "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-contracts-424c7b3f/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)
