# Bridge Route Safety Scorer

> Bridge Route Safety Scorer is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns a ranked list of bridges for a cross-chain corridor with deterministic risk scores and safe/caution/avoid tiers, plus a recommended bridge with reasoning.

## Facts

- Endpoint: GET https://payai.agentstools.dev/bridge/route
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bridge-route-safety-scorer-3810afa3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BR1ssmeBcaPvmn2dV3fjt

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 bridge-route-safety-scorer-3810afa3
```

Example prompt: Which bridge is safest to move 500 USDC from Ethereum to Arbitrum right now? Give me the risk scores and tell me which one to use and why.

## When to prefer this

Use this endpoint when an AI agent or user needs to make a trust-aware bridge selection decision for a specific cross-chain corridor, especially when safety and risk minimization are priorities over speed or cost. Prefer it over generic bridge aggregators when you need deterministic, tiered risk scoring rather than just fee/speed comparisons.

## Known failure modes

- No bridges found for an obscure or unsupported corridor — returns empty bridge list
- Invalid or unsupported chain name (e.g. typo in src/dst) — may return error or empty results
- Unsupported asset ticker echoed with no bridge filtering
- Service unavailable or payment failure — HTTP 402 or 5xx response

## How this service works

Corridor safety verdict: given a source chain, destination chain and optional asset/amount, returns every bridge covering that corridor, each with its deterministic risk score and safe/caution/avoid tier, sorted safe-first, plus the recommended bridge and the reasons. One call to pick the safest bridge for a hop.

## Output

A sorted list of all bridges covering the requested corridor, each with a deterministic risk score, a safety tier (safe/caution/avoid), the recommended bridge, and the specific reasons for that recommendation.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "src",
      "dst"
     ],
     "properties": {
      "dst": {
       "type": "string",
       "description": "Destination chain (e.g. arbitrum, optimism, base, solana)."
      },
      "src": {
       "type": "string",
       "description": "Source chain (e.g. ethereum, arbitrum, base, polygon, bsc)."
      },
      "asset": {
       "type": "string",
       "description": "Asset ticker to move (e.g. USDC, ETH, WBTC). Optional; echoed."
      },
      "amount": {
       "type": "number",
       "description": "Amount to move, for context. Optional; echoed."
      }
     }
    }
   },
   "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/bridge-route-safety-scorer-3810afa3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
