Get a cross-chain / cross-asset quote

GET/uda/quote
  • Public — no key required

Return an indicative quote for routing a given amount from a source (network, asset) to a destination (network, asset). This endpoint is public — no API key required. USD fields are omitted until a price feed is wired in.

Query parameters

  • from_network_idintegerrequired

    Source SLIP-44 network id (e.g. 60) or EIP-155 chain id (e.g. 1).

  • from_assetstringrequired

    Source token contract address (use the zero address for the chain's native asset).

  • to_network_idintegerrequired

    Destination SLIP-44 network id (e.g. 9006) or EIP-155 chain id (e.g. 56).

  • to_assetstringrequired

    Destination token contract address.

  • amountstringrequired

    Source amount as an integer string in the source token's smallest unit.

  • from_addressstringrequired

    Source (signer) address. Required: without it the quote providers cannot price the route and the API answers 503.

  • to_addressstringoptional

    Destination recipient address; defaults to from_address at the provider.

Responses

An indicative quote.

  • successbooleanrequired
  • messagestring
    • exchange_ratestring
    • expires_atstring <date-time>
Request
curl "https://api.stridge.com/v1/uda/quote?from_network_id=1&from_asset=0x0000000000000000000000000000000000000000&to_network_id=56&to_asset=0x55d398326f99059fF775485246999027B3197955&amount=1000000000000000000&from_address=0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18"

Public endpoint — no API key required.

Response200
"success": true,
"message": "operation completed successfully",
"network_id": 1,
"asset_address": "0x0000000000000000000000000000000000000000",
"amount": "1000000000000000000"
},
"network_id": 1,
"asset_address": "0x0000000000000000000000000000000000000000",
"amount": "1000000000000000000"
},
"exchange_rate": "0.9985",
"expires_at": "2026-05-29T12:05:00Z",
"total_fee": "3500000000000000",
"gas_fee": "1000000000000000",
"network_reserve": "0",
"platform_fee": "2500000000000000",
"provider_fee": "0",
"kind": "platform",
"amount": "2500000000000000",
"source": "stridge",
"recipient": "0xfee0000000000000000000000000000000000000"
}
]
},
"provider": "lifi",
"scenario": "cross_chain_swap",
"estimated_time_seconds": 45
}
}
}