# SafeRoute Diagnostics, Repairs & Payment Protection — Proof Endpoint

> SafeRoute Diagnostics, Repairs & Payment Protection — Proof Endpoint is a paid API for AI agents from api.usesaferoute.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-20).

Executes workflow automation tasks, Stripe/API integration repairs, and x402 payment diagnostics with a fixed-scope review model, returning a cryptographic or status proof of the operation.

## Facts

- Endpoint: POST https://api.usesaferoute.com/v1/proof?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saferoute-diagnostics-repairs-payment-protection-proof-endpoint-9e88bcbb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3m441Pk2-lqYIoSNkoiAW

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 saferoute-diagnostics-repairs-payment-protection-proof-endpoint-9e88bcbb -d '<json body>'
```

Example prompt: Run a SafeRoute diagnostics check on my x402 payment setup — I want to submit a trade action swapping 100 USDC for WETH from wallet 0xAbCd1234...5678 and get a proof of the result back before I commit anything.

## When to prefer this

Choose this endpoint when you need cryptographic or status proof of a DeFi trade, raw transaction, or token operation on Base — especially in diagnostic, repair, or integration-validation contexts where you need to confirm an x402 payment flow or Stripe/API pipeline is functioning correctly before committing to a live operation. Prefer it over the standard swap endpoints when the goal is diagnostics, audit trail, or workflow repair rather than execution.

## Known failure modes

- Missing required fields (action, type, method, bodyType) returns a 400 validation error
- Invalid wallet address format (not 0x + 40 hex chars) causes schema rejection
- Unsupported token enum value results in input validation failure
- x402 payment of 0.05 USDC not included causes 402 Payment Required response
- Malformed transaction data field (not valid hex) causes parse error
- Intent ID below minimum length (16 chars) or above max (128 chars) triggers rejection

## How this service works

Workflow automation, Stripe and API integration repair, and x402 payment diagnostics. Choose a fixed scope and review it before payment.

## Output

Returns a JSON object with a status field (e.g. 'ok') and a service identifier ('saferoute-proof'), along with any proof or diagnostic results from the requested action — confirming whether the workflow, payment, or transaction validated successfully.

## 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": {
     "oneOf": [
      {
       "type": "object",
       "required": [
        "action",
        "from",
        "to",
        "amount",
        "wallet"
       ],
       "properties": {
        "to": {
         "enum": [
          "USDC",
          "WETH",
          "EURC",
          "CBETH",
          "CBBTC",
          "VIRTUAL",
          "AERO"
         ],
         "type": "string"
        },
        "from": {
         "enum": [
          "USDC",
          "WETH",
          "EURC",
          "CBETH",
          "CBBTC",
          "VIRTUAL",
          "AERO"
         ],
         "type": "string"
        },
        "action": {
         "type": "string",
         "const": "trade"
        },
        "amount": {
         "type": "string",
         "pattern": "^\\d+(?:\\.\\d+)?$"
        },
        "wallet": {
         "type": "string",
         "pattern": "^0x[a-fA-F0-9]{40}$"
        },
        "intentId": {
         "type": "string",
         "pattern": "^[a-zA-Z0-9_-]+$",
         "maxLength": 128,
         "minLength": 16
        },
        "referralCode": {
         "type": "string",
         "pattern": "^[a-zA-Z0-9_-]+$",
         "maxLength": 64,
         "minLength": 3
        },
        "executionMode": {
         "type": "string",
         "const": "standard"
        },
        "sourceAgentId": {
         "type": "string",
         "maxLength": 128,
         "minLength": 1
        }
       },
       "additionalProperties": false
      },
      {
       "type": "object",
       "required": [
        "action",
        "transaction"
       ],
       "properties": {
        "action": {
         "type": "string",
         "const": "transaction"
        },
        "intentId": {
         "type": "string",
         "pattern": "^[a-zA-Z0-9_-]+$",
         "maxLength": 128,
         "minLength": 16
        },
        "transaction": {
         "type": "object",
         "required": [
          "from",
          "to",
          "data"
         ],
         "properties": {
          "to": {
           "type": "string",
           "pattern": "^0x[a-fA-F0-9]{40}$"
          },
          "data": {
           "type": "string",
           "pattern": "^0x[a-fA-F0-9]+$"
          },
          "from": {
 
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ok",
  "service": "saferoute-proof"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saferoute-diagnostics-repairs-payment-protection-proof-endpoint-9e88bcbb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.usesaferoute.com](https://www.zero.xyz/host/api.usesaferoute.com/llms.txt)
