Get a DEX swap quote
Authorizations
apikeystringRequired
API key for authentication
Query parameters
chainstring · enumRequiredExample:
Source chain: 'solana' or 'base'
basePossible values: to_chainany ofOptional
Destination chain for cross-chain swap
string · enumOptionalPossible values:
from_tokenstringRequiredExample:
Sell token address
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeto_tokenstringRequiredExample:
Buy token address
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913amountstringRequiredExample:
Amount in base units (integer string, e.g. '1000000000')
1000000000000000000wallet_addressstringRequiredExample:
Wallet address for quote personalisation
0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045to_wallet_addressany ofOptional
Destination wallet address for cross-chain swaps (required when bridging between EVM and Solana)
stringOptional
slippageinteger · max: 10000OptionalDefault:
Slippage in bps (default 50 = 0.5%)
50Responses
200
Swap quotes with unsigned transaction data
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
422
Unprocessable Content
application/json
429
Too Many Requests
application/json
500
Internal Server Error
application/json
502
Bad Gateway
application/json
503
Service Unavailable
application/json
504
Gateway Timeout
application/json
get/api/v1/trade/quote
Last updated
Was this helpful?