POST
cURL

Authorizations

Authorization
string
header
required

The authorization field takes the session bearer returned by sign-in, or an API key where the route allows keys. Paste the token itself into the authorization field. When invitation-only access is enabled, private operations require the account's sign-in email to be invited. Sign-in can complete without an invitation, but private HTTP, MCP and FIX operations refuse with access_not_allowlisted (HTTP 403): "Private access is limited to invited accounts. Contact support to request access." Public market data remains available. Invitation changes apply to the next private operation, including existing FIX sessions. Do not retry until support confirms access.

Path Parameters

accountId
string
required
Minimum string length: 1

Body

application/json
fromChain
string
required
Required string length: 1 - 128
fromAmount
string
required
Pattern: ^[1-9]\d{0,77}$
fromToken
string
Required string length: 1 - 256
fromAddress
string
Required string length: 1 - 256
refundAddress
string
Pattern: ^0x[0-9a-fA-F]{40}$
toChain
string
Pattern: ^[1-9]\d{0,15}$
toToken
string
Pattern: ^0x[0-9a-fA-F]{40}$
toAddress
string
Pattern: ^0x[0-9a-fA-F]{40}$
slippage
number
Required range: x <= 50

Response

Success

toAmount
string
required
Pattern: ^\d+$
toAmountMin
string
Pattern: ^\d+$
fromAmount
string
Pattern: ^[1-9]\d{0,77}$
fromToken
string
Minimum string length: 1
toToken
string
Pattern: ^0x[0-9a-fA-F]{40}$
toChain
string
Pattern: ^[1-9]\d{0,15}$
exchangeRate
string
Minimum string length: 1
estimatedRouteDurationSeconds
number
Required range: x >= 0
priceImpact
string
slippage
number
Required range: x <= 50
quoteId
string
Required string length: 1 - 256
feeCosts
object[]