Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man bridge-rates

/bridge-rates(1)

agentutility / edge-market / bridge-rates
PRICE / CALL
$0.03
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgemarket
CATEGORY
uncategorized
STATUS
live
NAME
bridge-rates cross-chain bridge rate aggregator
SYNOPSIS
POST https://x402.org/v1/bridge-rates
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Cross-chain bridge rate aggregator. LiFi public quote API aggregates Across, Stargate, Hop, deBridge, Synapse, CCTP. Free, commercial-OK with attribution.

INPUTrequest schema
propertytypedescriptionreq?
from_chainnumberSource chain id. EVM chain id (1=Ethereum, 8453=Base, 42161=Arbitrum One, 10=Optimism, 137=Polygon, 56=BNB Chain).required
to_chainnumberDestination chain id (same id space as from_chain).required
from_tokenstringSource token contract address. Use '0x0000000000000000000000000000000000000000' for the chain's native gas token (ETH, MATIC, BNB).required
to_tokenstringDestination token contract address. Same '0x000...' convention for native.required
amountstringSource amount in the token's smallest unit (e.g. wei for ETH, '1000000000000000000' = 1 ETH; '1000000' = 1 USDC at 6 decimals).required
from_addressstringOptional EVM address of the sender. Required for slippage-checked + ready-to-sign quotes.optional
to_addressstringOptional EVM destination address. Defaults to from_address.optional
slippagenumberMax slippage as decimal fraction (0.01 = 1%). Default 0.005.optional
limitnumberMax routes to return. 1-10. Default 5.optional
OUTPUTresponse shape
fieldtypedescription
route_countstringNumber of bridge routes returned across aggregated providers (Across, Stargate, Hop, deBridge, Synapse, CCTP).
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/bridge-rates \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# install once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the bridge-rates tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
edge-marketbridge-ratescross-chainbridge-aggregatorlifistargatecctpbridge-quote
methods
POST
cluster
edgemarket
price
$0.03 USDC per call
ADJACENTother endpoints in edgemarket
endpointdescriptionprice
dao-proposal-monitorSnapshot.org DAO proposal monitor.$0.03
ens-resolveENS resolver / Ethereum Name Service lookup.$0.03
defi-llama-protocolDefiLlama protocol lookup — TVL, chain breakdown, current TVL, 24h/7d/30d changes, audits, parent protocol, categories.$0.02
gas-now-baseGas oracle / EIP-1559 fee estimator.$0.02
gas-priceGas price API / EIP-1559 fee estimator / Base + Ethereum + Optimism + Arbitrum gas tracker / pre-tx cost estimator.$0.02
token-priceCrypto token price API / CoinGecko wrapper.$0.02
tx-receipt-decodeEVM transaction receipt decoder / log decoder / event log reader / Etherscan tx debug / receipt parser / Basescan tx explainer / tenderly…$0.02
tx-simulate-swapTx simulate swap / pre-trade quote / DEX swap simulator / 1inch + LlamaSwap quote / would-it-succeed check.$0.02
SEE ALSO
agentutility(7) · edgemarket(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org