POST
Get a market quote

Body

application/json
from
string
required
Required string length: 1 - 96
Example:

"Bitcoin.BTC"

to
string
required
Required string length: 1 - 96
Example:

"Ethereum.USDC"

amountFormat
enum<string>
default:readable
Available options:
readable,
raw
Example:

"readable"

orderType
enum<string>

Order type. Defaults to market_order.

Available options:
market_order,
market
Example:

"market_order"

fromAmount
string
Required string length: 1 - 96
Example:

"1"

returnFullRoute
boolean

When true, include the winning route rows in the response. Defaults to true.

Example:

true

Response

Market quote created by the internal router API.

quoteId
string
required
Example:

"00000000-0000-4000-8000-000000000001"

orderType
enum<string>
required
Available options:
market_order
Example:

"market_order"

from
string
required
Example:

"Bitcoin.BTC"

to
string
required
Example:

"Ethereum.USDC"

expiry
string
required
Example:

"2026-05-04T12:10:00Z"

estimatedOut
string
required
Example:

"100000"

route
object[]

Route legs describing the hop-by-hop execution of the winning quote path.

amountFormat
enum<string>
default:readable
Available options:
readable,
raw
Example:

"readable"

expectedSwapTimeMs
integer
Required range: x >= 0
Example:

63000

quoteCandidates
any[]

Debug-only quote candidate records returned when includeQuoteCandidates is true. Each record includes family, status, venues, latency_ms, and raw_quote for successful candidates.