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 which will sign the order

Example:

"0x5Bad996643a924De21b6b2875c85C33F3c5bBcB6"

receiver_address
string | null

Address which will receive the taker tokens. (Defaults to taker_address if not specified)

approval_type
enum<string>
default:Standard

Type of Approval for EVM: Standard/Permit/Permit2

Available options:
Standard,
Permit,
Permit2
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

gasless
boolean

Set to false to receive call data and self execute.

slippage

The slippage to use

origin_address
string | null

Original user of the quote if different than taker.

include_solvers
string | null

The list of solvers to include

fee_recipient
string | null

The recipient of the fee

fee
integer
default:0

Fee (bps) to be charged for this quote

Response

Successful Response

requestId
string
required
type
string
required
status
string
required
quoteId
string
required
chainId
integer
required
approvalType
enum<string>
required
Available options:
Standard,
Permit,
Permit2
nativeToken
string
required
taker
string
required
receiver
string
required
expiry
integer
required
slippage
number
required
gasFee
GasFeeResponse · object
required
buyTokens
Buytokens · object
required
sellTokens
Selltokens · object
required
settlementAddress
string
required
approvalTarget
string
required
requiredSignatures
string[]
required
hooksHash
string
required
toSign
Tosign · object
required
solver
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