Get cross-chain swap quotes
get_quoteRead-only
Get live quotes for swapping one asset to another (cross-chain or same-chain). Returns routes ranked by amount received, each with a quoteToken, the executing protocol, expectedReceive, minimumReceived and estimated time. All fees (network, protocol and platform) are included.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slippage | No | Maximum slippage in percent. Default 1.5. | |
| buyAssetId | Yes | Asset to receive, e.g. "ethereum-eth". From list_assets. | |
| sellAmount | Yes | Amount to send as a decimal string in the sell asset's units, e.g. "0.05". | |
| sellAssetId | Yes | Asset to send, e.g. "bitcoin-btc". From list_assets. |