Skip to main content
GET
Get Quote by ID
Note: Quotes that have not been used in the settlement of an order are deleted after 7 days.

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Id of the quote to be obtained.

Response

OK

id
string

Id of the quote.

Example:

"6660bdefd6c964829d63fcb7"

userId
string

Id of the user the quote belongs to.

Example:

"66290ac8bd3903485989f82e"

flow
enum<string>

Direction of the conversion, derived from the two assets. fiatToCrypto buys stablecoins, cryptoToFiat sells them, cryptoToCrypto swaps one stablecoin or network for another.

Available options:
fiatToCrypto,
cryptoToFiat,
cryptoToCrypto
Example:

"fiatToCrypto"

origin
object

What the customer pays. The amount is in the leg's own asset.

destination
object

What the customer receives. The amount is in the leg's own asset.

fixedLeg
enum<string>

Which leg's amount you specified. The other leg was derived from the price and fees.

Available options:
origin,
destination
Example:

"origin"

pricingDetails
object

How the destination amount was derived from the origin amount.

settlement
object

How and when the two legs settle.

marketPrice
number

Market price at the time of the quote, in units of the destination asset per unit of the origin asset.

Example:

0.056

netPrice
number

Final price including fees and taxes, in destination asset per unit of origin asset.

Example:

0.05476

orderType
enum<string>

market executes at the current price, limit waits for limitNetPrice.

Available options:
market,
limit
Example:

"market"

limitNetPrice
number

Limit price for limit orders, expressed like netPrice as units of the destination asset per unit of the origin asset. Only applicable when orderType is limit.

Example:

0.0555

timeInForceStartsAt
string<date-time>

Earliest execution time of a limit order.

Example:

"2026-10-12T18:00:00.000Z"

timeInForceEndsAt
string<date-time>

Latest execution time of a limit order.

Example:

"2026-10-12T18:00:00.000Z"

createdAt
string<date-time>

Creation time.

Example:

"2026-10-12T18:00:00.000Z"

expiresAt
string<date-time>

Expiration time. Orders created from an expired quote are re-quoted unless the account uses instant booking.

Example:

"2026-10-12T18:00:10.000Z"

reissueAfterExpiration
boolean

Whether orders keep getting a fresh quote after this one expires.

Example:

true

isAfterHours
boolean

Whether after hours pricing applied.

Example:

false

isSurgePricing
boolean

Whether surge pricing applied.

Example:

false