# Bridge Route Safety Scorer

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

Returns all bridges covering a source-to-destination chain corridor, each with a deterministic risk score and safe/caution/avoid tier, plus a recommended bridge and rationale.

## Facts

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

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-bb5b3d51
```

Example prompt: I want to move 500 USDC from Ethereum to Arbitrum — which bridge is the safest option right now? Give me the full breakdown with risk scores and any bridges I should avoid.

## When to prefer this

Use this endpoint when an AI agent or DeFi workflow needs to pick the safest bridge for a specific cross-chain hop without manually researching each protocol's risk profile. It is the right choice when you need a single decisive recommendation with ranked alternatives rather than raw bridge data, and when the corridor (source + destination chain) is known. Prefer this over generic bridge aggregators when risk scoring and avoidance tiers are more important than finding the cheapest or fastest route.

## Known failure modes

- Missing required src or dst query parameters — returns 400 with validation error
- Unknown or unsupported chain name — returns error indicating unrecognized chain
- No bridges found for the specified corridor — returns empty bridge list
- Payment not provided or insufficient — returns 402 Payment Required
- Upstream data source unavailable — may return 503 or partial results

## 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 list of all bridges covering the requested corridor, each with a deterministic risk score and a safe/caution/avoid tier, sorted safest-first, plus a single recommended bridge and human-readable reasons for the recommendation. The source chain, destination chain, asset, and amount are echoed back.

## 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-bb5b3d51/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
