Skip to main content
POST
Request quotes

Authorizations

X-Monaco-Signature
string
header
required

Ed25519 session-key request signing. Every authenticated request carries three headers: X-Monaco-PublicKey (64-char lowercase-hex session public key), X-Monaco-Timestamp (Unix milliseconds, within 30s of server time), and X-Monaco-Signature (hex ed25519 signature). The signature is over METHOD\npath?query\ntimestamp_ms\nSHA256_hex(body), where the body hash is the SHA-256 of the empty byte string when there is no body. Obtain the session keypair from POST /api/v1/auth/challenge followed by POST /api/v1/auth/verify.

Body

application/json
idempotencyKey
string
required

Client key: a retry with the same key and body returns the first result

tradingPairId
string<uuid>
required

Trading pair UUID

product
string
required

SPOT or PERPETUAL

Example:

"PERPETUAL"

quantity
string
required

Maximum base quantity, exact decimal string

Example:

"25"

side
string | null

BUY or SELL for a one-way RFQ: makers see it and may quote only the side that fills it (an ask when you buy, a bid when you sell). Absent for a two-way RFQ, whose direction stays hidden from makers

leverage
string | null

Perpetuals: the leverage the taker's order takes when it accepts, as on an order (refused on spot). For a two-way RFQ it applies to whichever side is accepted

Example:

"5"

marginMode
string | null

Perpetuals: ISOLATED (the default) or CROSS, as on an order

Response

OK

Authoritative RFQ status.

terms
object

The request as created.

state
string | null

COLLECTING, LAST_LOOK, RISK_CLEARING, CONFIRMED, SETTLED, CANCELLED, EXPIRED or REJECTED

stateVersion
integer<int64> | null
acceptedSide
string | null

BUY or SELL, once accepted

lastLookDeadlineAtMs
integer<int64> | null
view
object

The taker's current view of the quotes.

ownQuote
object

A quote version as its maker sees it.

ownSelection
object

A selected maker's own part of an acceptance, for answering last look.

ownLatestVersion
integer<int64> | null

The expected version for the caller's next quote or withdrawal

ownQuoteWithdrawn
boolean | null
outcome
object

What an accepted RFQ executed.

durableSequence
integer<int64> | null
ownFills
object[] | null

Maker only: your own fills once the RFQ settled, never another maker's

acceptance
object

What your view showed on the accepted side when you accepted.