API Key authentication for private endpoints.
Required headers:
Order type. Variables: 'buy' / 'sell' Example: 'buy'
buy, sell "buy"
Price in money currency. Example: '9800' or 9800
"9800"
"{{request}}"
"{{nonce}}"
Identifier should be unique and contain letters, dashes, numbers, dots or underscores. The identifier must be unique.
"order1987111"
Immediate-or-cancel (IOC) executes all or part of an order immediately and cancels any unfilled portion.
IOC does not support rpi=true because RPI uses post-only behavior by design.
The API returns error code 37 when a request sets both ioc=true and rpi=true.
Refer to Order Parameter Rules for unsupported parameter combinations.
false
Self trade prevention mode. Variables: 'no' / 'cancel_both' / 'cancel_new' / 'cancel_old'. Example: 'no'.
no, cancel_both, cancel_new, cancel_old "no"
Enables Retail Price Improvement (RPI) mode.
RPI orders use post-only behavior by design. An RPI order does not support ioc=true.
The API returns error code 37 when a request sets both rpi=true and ioc=true.
RPI orders do not appear in public order book feeds (depth, bookTicker). RPI orders are visible only in private active orders and in the exchange UI order book (web/mobile).
RPI executions may apply custom fees or rebates, especially when trading via sub-accounts. Use Query Market Fee / Query All Market Fees to verify effective fees.
Refer to Order Parameter Rules for unsupported parameter combinations.
true
Order created successfully
Order ID
4180284841
Custom client order ID; empty string if not specified
"order1987111"
Deal market
"BTC_USDT"
Order side
"buy"
Order type
"limit"
Timestamp of order creation
1595792396.165973
If order finished - amount in money currency that is finished
"0"
If order finished - amount in stock currency that is finished
"0"
Amount
"0.01"
If order not finished - rest of the amount that must be finished
"0.001"
Fee in money currency when order is filled
"0"
Price
"40000"
PostOnly flag
false
IOC flag
false
Order status
"FILLED"
Self trade prevention mode
"no"
Position side (for collateral orders)
"LONG"
Indicates Retail Price Improvement (RPI) mode for the order.
true