Get a Cambio swap quote
get_quoteCambio’s quote for swapping an exact amount of one crypto asset to another, with how it compares to other exchanges. For someone who wants to swap, convert or exchange crypto, or asks how much they would receive. Each leg takes its network (for example tron, bsc, ethereum, arbitrum, solana, bitcoin). The card shows every amount. The swap itself is created on cambio.one or in Telegram from the card’s buttons, never here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of from_currency the customer sends, as the customer wrote it, e.g. "10" | |
| to_network | No | Network the customer receives on, as the customer named it. Empty when the customer did not name one, with the same result as from_network. | |
| to_currency | Yes | Asset the customer receives | |
| from_network | No | Network of the asset sent, as the customer named it, e.g. tron, bsc, ethereum, arbitrum, solana, bitcoin. Empty when the customer did not name one: a coin Cambio offers on one network only gets it filled in, and for any other the result lists the networks Cambio offers it on. | |
| from_currency | Yes | Asset the customer sends, e.g. USDT, BTC, ETH |