πŸ’ API Reference

Get Quote

post

Request a transaction-ready quote for swap and bridge flows.

Body
from_chainintegerRequired

Source chain ID

Example: 8453
to_chainintegerRequired

Destination chain ID

Example: 42161
from_tokenstringRequired

Source token address

Example: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
to_tokenstringRequired

Destination token address

Example: 0xaf88d065e77c8cC2239327C5EDb3A432268e5831
from_addressstringRequired

Sender address

Example: 0xac50fab2bf7a921a73298a691dc047a6fc2ad34a
to_addressstringRequired

Recipient address

Example: 0xac50fab2bf7a921a73298a691dc047a6fc2ad34a
amountstringRequired

Input amount in token base units

Example: 1000000Pattern: ^[0-9]+$
slippageintegerOptional

Slippage in basis points style units where 50 means 0.5%

Example: 50
affiliationstring Β· nullableOptional

Integrator or referral code

external_bridgebooleanOptionalDefault: false
to_platform_idintegerOptional

Destination platform ID when applicable

Example: 0
quote_onlyboolean Β· nullableOptional

Optional frontend compatibility flag that may be included in quote requests.

Example: true
Responses
chevron-right
200

Quote created successfully

application/json
request_idstringRequired
amount_outstringRequired
feestringRequired
slippageintegerRequired
min_receivestringRequired
estimated_timenumberRequired
recipientstringRequired
router_typestring Β· enumRequiredPossible values:
routerstringRequired
created_atstring Β· date-timeRequired
pointsstringRequired
quote_messagestring Β· nullableOptional
post
/quote

Get Order

get

Query a single order by request_id.

Path parameters
request_idstringRequired

Order ID returned by POST /quote

Pattern: ^0x[a-fA-F0-9]{64}$
Responses
chevron-right
200

Order found

application/json
order_idstringRequired
from_chainintegerRequired
from_tokenstringRequired
from_addressstringRequired
from_amountstringRequired
to_chainintegerRequired
to_tokenstringRequired
to_addressstringRequired
to_amountstringRequired
open_tx_hashstringRequired
open_blockintegerRequired
open_timestampstring Β· date-timeRequired
fill_tx_hashstring Β· nullableOptional
fill_blockinteger Β· nullableOptional
fill_timestampstring Β· date-time Β· nullableOptional
statusstring Β· enumRequiredPossible values:
pointsstringRequired
reward_typestring Β· nullableOptional
reward_valueobject Β· nullableOptional
routesstring[]Optional
to_platform_idinteger Β· nullableOptional
get
/order/{request_id}

Get Orders

get

Retrieve historical order records for one or more wallet addresses.

Query parameters
addressstring[]Required

One or more wallet addresses

networkstring Β· enumOptionalDefault: mainnetPossible values:
limitinteger Β· min: 1 Β· max: 50OptionalDefault: 5
offsetintegerOptionalDefault: 0
Responses
chevron-right
200

Orders returned successfully

application/json
totalintegerRequired
get
/orders

Last updated