Skip to main content
Bulk limit order
Available order types and execution flags depend on your region. A request for an order type or flag not available in your region is rejected with HTTP status 453. See all details in Order types — Regional restrictions.

Rate limit

One bulk request counts as one request, whether the request holds 1 order or 20.

Used in these guides

Authorizations

X-TXC-APIKEY
string
header
required

The public WhiteBIT API key.

X-TXC-PAYLOAD
string
header
required

Base64-encoded JSON request body.

X-TXC-SIGNATURE
string
header
required

HMAC-SHA512 signature of the payload, hex-encoded. Computed as hex(HMAC-SHA512(payload, api_secret)).

Body

application/json
orders
object[]
required

Array of limit orders. Each item is validated with the same rules as a single limit order.

request
string
required
Example:

"{{request}}"

nonce
integer
required
Example:

1594297865000

stopOnFail
boolean
default:false

Controls how the bulk order processor handles failures.

When true: Processing stops at the first order that fails validation or execution. Only orders up to (but not including) the failed order are processed.

When false (default): All orders in the bulk request are processed regardless of individual failures. Each order result is returned in the response array.

Example:

true

Response

Orders processed. The request returns HTTP 200 even when some orders fail. The response is an array with one item per submitted order; each item contains a result (order created) and an error. A successful item has an empty error object ({}).

A failed item carries an error object in the standard error shape. Items do not carry an HTTP status. Per-item error codes are the same as the HTTP 422 codes of Create limit order, plus trading engine codes. When the trading engine rejects an item, the item's message is Inner validation failed.

result
object | null

Shared order shape returned by the order-creation, cancel, active-orders list, and modify endpoints. Field presence varies by endpoint and order type — see the per-field notes.

error
object | null