Skip to main content
GET
Quote

Authorizations

Authorization
string
header
required

API key passed as a Bearer token.

Query Parameters

sell_tokens
string
required

The tokens that will be supplied by the taker

Example:

"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"

buy_tokens
string
required

The tokens that will be supplied by the maker

Example:

"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"

sell_amounts
string

The amount of each taker token, order respective to taker_tokens

Example:

"1000000000"

buy_amounts
string | null

The amount of each maker token, order respective to maker_tokens

taker_address
string
required

Address that supplies the sell tokens during settlement.

Example:

"0x5Bad996643a924De21b6b2875c85C33F3c5bBcB6"

receiver_address
string | null

Address that receives the bought tokens. Defaults to taker_address.

approval_type
enum<string>
default:Standard

Use Standard approval for direct EVM settlement.

Available options:
Standard
buy_tokens_ratios
string | null

Ratios of maker tokens to receive for each taker token

sell_tokens_ratios
string | null

Ratios of taker tokens to receive for each maker token

slippage

The slippage to use

origin_address
string | null

Original user of the quote if different than taker.

expiry_type
enum<string>
default:standard

Standard, Short (5 seconds)

Available options:
standard,
short
fee
default:0

Fee (bps) to be charged for this quote

Response

Success

requestId
string
required
type
string
required
status
string
required
quoteId
string
required
chainId
integer
required
approvalType
enum<string>
required

Approval type for public direct quotes. Use Standard.

Available options:
Standard
nativeToken
string
required
taker
string
required
receiver
string
required
expiry
integer
required
slippage
number
required
gasFee
GasFeeResponse · object
required

Protocol-reported gas-fee information for the selected route. Direct transaction senders pay their network fee separately.

buyTokens
Buytokens · object
required
sellTokens
Selltokens · object
required
settlementAddress
string
required
approvalTarget
string
required
makers
string[]
required
priceImpact
number | null
partnerFee
Partnerfee · object | null
protocolFee
Protocolfee · object | null
warnings
PriceWarning · object[]
info
string | null
tx
TxData · object | null
solana_tx
string | null
blockhash
string | null
onchainOrderType
string | null
partialFillOffset
integer | null
guaranteeBoost
string | null