Skip to main content
GET
Get swap and bridge quotes

Authorizations

Authorization
string
header
required

To test endpoints here, paste your API key from the Dashboard into the username field and leave the password empty.

Query Parameters

currency
string
default:usd

Currency for the fiat values of amounts and fees in the response. Defaults to usd.

from
string
required

Wallet address making the swap. Must match the chain type of input[chain_id] (EVM hex or Solana base58).

to
string
required

Recipient of the output asset. Must match the chain type of output[chain_id]. For a same-chain swap to the same wallet, set to equal to from.

input
object
required

The asset to send.

output
object
required

The asset to receive.

slippage_percent
number<float>

Maximum acceptable slippage, in percent. If omitted, the API picks an automatic slippage value.

Required range: x >= 0

Response

Response for the requested swap quotes.

data
object[]
required