Bridge quote, cross-chain transfer

$0.01 per call · failed calls are never charged · no account or subscription: pay per call with a card key or USDC

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.

Run it free (25 free calls) Buy credits by card (from $1) Example result (JSON)

Try it with your own inputs

Source chain name or id
Destination chain name or id
Token to sell: symbol (USDC, ETH) or address
Amount of fromToken in token units, e.g. 100 or 0.5

Uses one of your 25 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
fromChain (required)stringSource chain name or id
toChain (required)stringDestination chain name or id
fromToken (required)stringToken to sell: symbol (USDC, ETH) or address
amount (required)stringAmount of fromToken in token units, e.g. 100 or 0.5
fromAddressstringOptional wallet that would send: adds the unsigned transaction to the answer
toAddressstringOptional receiving wallet, e.g. a Solana address when bridging to Solana
slippagenumberSlippage tolerance in percent (default 0.5)
toTokenstringToken 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

Related tools