Bridge quote, cross-chain transfer
Cheapest route to move tokens between chains (Ethereum to Base, Arbitrum to Solana…) across 20+ bridges via LI.FI: amount received, minimum, USD values, gas, bridge fees, total cost in percent, estimated time, steps and approval address; with fromAddress, the unsigned transaction to sign. Swaps on either side are included when the tokens differ. A quote only: nothing is signed or sent. Use before an agent moves funds across chains.
Inputs
| Name | Type | Description |
|---|---|---|
fromChain (required) | string | Source chain name or id |
toChain (required) | string | Destination chain name or id |
fromToken (required) | string | Token to sell: symbol (USDC, ETH) or address |
amount (required) | string | Amount of fromToken in token units, e.g. 100 or 0.5 |
fromAddress | string | Optional wallet that would send: adds the unsigned transaction to the answer |
toAddress | string | Optional receiving wallet, e.g. a Solana address when bridging to Solana |
slippage | number | Slippage tolerance in percent (default 0.5) |
toToken | string | Token to receive (default: the same token) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/bridge/quote?fromChain=ethereum&toChain=base&fromToken=USDC&amount=1000"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/bridge/quote?fromChain=ethereum&toChain=base&fromToken=USDC&amount=1000&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"route": "Polymer (Standard)",
"steps": [
{
"type": "cross",
"via": "Polymer (Standard)",
"fromChainId": 1,
"toChainId": 8453
}
],
"from": {
"chainId": 1,
"token": "USDC",
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"amount": "1000",
"amountUsd": 999.9
},
"to": {
"chainId": 8453,
"token": "USDC",
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "999.2",
"amountMin": "994.2",
"amountUsd": 999.1
},
"rate": 0.9992,
"costs": {
"gasUsd": 1.1,
"feesUsd": 0.8,
"totalLossPercent": 0.08
},
"slippagePercent": 0.5,
"estimatedSeconds": 60,
"approvalAddress": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE",
"note": "A quote, not an order…",
"source": "LI.FI (li.quest)"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is bridge_quote, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp