Skip to main content
POST
Create a request for quote (RFQ)

Body

application/json
legs
any
required
subaccount_id
integer<uint64>
required
Required range: x >= 0
client
string
default:""
counterparties
string[] | null
extra_fee
string<decimal>
default:0

Non-negative decimal string of the human value (e.g. "1.5"), up to 12 fractional digits; a string or JSON number is accepted

label
string
default:""
max_total_cost
string<decimal> | null

Optional decimal string of the human value (e.g. "1.5"), up to 12 fractional digits, or null; a string or JSON number is accepted

min_total_cost
string<decimal> | null

Optional decimal string of the human value (e.g. "1.5"), up to 12 fractional digits, or null; a string or JSON number is accepted

partial_fill_step
string<decimal>
default:1

Non-negative decimal string of the human value (e.g. "1.5"), up to 12 fractional digits; a string or JSON number is accepted

referral_code
string
default:""

Response

Success

ask_total_cost
string<decimal> | null
required

Optional decimal string of the human value (e.g. "1.5"), up to 12 fractional digits, or null; a string or JSON number is accepted

bid_total_cost
string<decimal> | null
required

Optional decimal string of the human value (e.g. "1.5"), up to 12 fractional digits, or null; a string or JSON number is accepted

cancel_reason
enum<string>
required
Available options:
,
user_request,
insufficient_margin,
signed_max_fee_too_low,
mmp_trigger,
cancel_on_disconnect,
session_key_deregistered,
subaccount_withdrawn,
rfq_no_longer_open,
compliance
creation_timestamp
integer<int64>
required
filled_pct
string<decimal>
required

Non-negative decimal string of the human value (e.g. "1.5"), up to 12 fractional digits; a string or JSON number is accepted

label
string
required
last_update_timestamp
integer<int64>
required
legs
object[]
required
mark_total_cost
string<decimal> | null
required

Optional decimal string of the human value (e.g. "1.5"), up to 12 fractional digits, or null; a string or JSON number is accepted

max_total_cost
string<decimal> | null
required

Optional decimal string of the human value (e.g. "1.5"), up to 12 fractional digits, or null; a string or JSON number is accepted

min_total_cost
string<decimal> | null
required

Optional decimal string of the human value (e.g. "1.5"), up to 12 fractional digits, or null; a string or JSON number is accepted

partial_fill_step
string<decimal>
required

Non-negative decimal string of the human value (e.g. "1.5"), up to 12 fractional digits; a string or JSON number is accepted

rfq_id
string<uuid>
required

UUID v4 string

status
enum<string>
required
Available options:
open,
filled,
cancelled,
expired
subaccount_id
integer<int64>
required
total_cost
string<decimal> | null
required

Optional decimal string of the human value (e.g. "1.5"), up to 12 fractional digits, or null; a string or JSON number is accepted

valid_until
integer<int64>
required
wallet
string
required

20-byte Ethereum address as a 0x-prefixed lowercase hex string.

Required string length: 42
Pattern: ^0x[0-9a-fA-F]{40}$
counterparties
string[] | null

20-byte Ethereum address as a 0x-prefixed lowercase hex string.

Required string length: 42
Pattern: ^0x[0-9a-fA-F]{40}$
filled_direction
enum<string> | null
Available options:
buy,
sell