Skip to main content
POST

Requirements to consume the endpoint.

Create and modify role

The user must have the role to create and modify.

User approved

The user must be approved in at least one country.

Authorizations

x-api-key
string
header
required

Body

application/json
origin
object
required

The asset you pay. Give network for stablecoins and leave it out for fiat. Set amount on exactly one of the two legs.

destination
object
required

The asset you receive. Give network for stablecoins and leave it out for fiat. Set amount on exactly one of the two legs.

userId
string

Id of the user the quote is for. Brokers quote on behalf of their users with this field.

Example:

"66290ac8bd3903485989f82e"

orderId
string

Relates the quote to an existing order.

Example:

"63290ac8bd3903485989062f"

settlement
object

Settlement terms. Omit for an order that settles on receipt of payment.

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 (optional).

Example:

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

timeInForceEndsAt
string<date-time>

Latest execution time of a limit order (optional).

Example:

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

Response

Created

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