# Solana x402 Bridge Route API

> Solana x402 Bridge Route API is a paid API for AI agents from solana-x402-xi.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns optimal cross-chain bridge routing paths for token transfers between supported blockchains (Ethereum, Base, Polygon, Arbitrum, Solana)

## Facts

- Endpoint: POST https://solana-x402-xi.vercel.app/api/v1/bridge-route
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-x402-bridge-route-api-afb66819
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h92Tzz5wlwRtrts7KlNiF

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 solana-x402-bridge-route-api-afb66819 -d '<json body>'
```

Example prompt: What's the best bridge route to move 500 USDC from Ethereum to Solana — find me the optimal path with the lowest fees.

## When to prefer this

Choose this endpoint when you need real-time cross-chain bridge routing recommendations specifically involving Solana or Base as source/destination chains; it supports x402 micropayments natively making it suitable for AI agents with crypto wallets, and covers chains like Ethereum, Base, Polygon, Arbitrum, and Solana in a single call.

## Known failure modes

- Unsupported chain pair returns an error or empty route
- Invalid token symbol or address returns a validation error
- x402 payment of $0.005 USDC fails if wallet is underfunded
- Amount too small or too large for available bridge liquidity
- Network congestion may cause stale or suboptimal route data

## How this service works

Blockchain data APIs with x402 payments on Solana + Base via PayAI facilitator. 7 endpoints covering bridge routing, whale alerts, DeFi yields, RPC, NFT, token, and transaction history.

## Output

Returns a recommended bridge route including the optimal bridging protocol, estimated output amount after fees, estimated transfer time, and step-by-step routing path for the specified token transfer between source and destination chains.

## 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": [
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "fromChain",
      "toChain",
      "fromToken",
      "toToken",
      "amount"
     ],
     "properties": {
      "amount": {
       "type": "string",
       "description": "Amount to bridge"
      },
      "toChain": {
       "type": "string",
       "description": "Destination chain"
      },
      "toToken": {
       "type": "string",
       "description": "Destination token symbol or address"
      },
      "fromChain": {
       "type": "string",
       "description": "Source chain (e.g. ethereum, base, polygon, arbitrum, solana)"
      },
      "fromToken": {
       "type": "string",
       "description": "Source token symbol or address"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-x402-bridge-route-api-afb66819/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from solana-x402-xi.vercel.app](https://www.zero.xyz/host/solana-x402-xi.vercel.app/llms.txt)
