Skip to main content
POST
/
api
/
v4
/
order
/
bulk
Bulk limit order
curl --request POST \
  --url https://whitebit.com/api/v4/order/bulk \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "orders": [
    {
      "side": "buy",
      "amount": "<string>",
      "price": "<string>",
      "market": "<string>",
      "postOnly": true,
      "ioc": true,
      "clientOrderId": "<string>"
    }
  ],
  "stopOnFail": true,
  "request": "<string>",
  "nonce": "<string>"
}
'
[
  {
    "result": {
      "orderId": 123,
      "clientOrderId": "<string>",
      "market": "<string>",
      "side": "<string>",
      "type": "<string>",
      "timestamp": 123,
      "dealMoney": "<string>",
      "dealStock": "<string>",
      "amount": "<string>",
      "left": "<string>",
      "dealFee": "<string>",
      "price": "<string>",
      "postOnly": true,
      "ioc": true,
      "status": "<string>",
      "stp": "<string>",
      "positionSide": "<string>"
    },
    "error": "<string>"
  }
]

Authorizations

X-TXC-APIKEY
string
header
required

API Key authentication for private endpoints.

Required headers:

  • X-TXC-APIKEY: Your API key
  • X-TXC-PAYLOAD: Base64 encoded JSON payload
  • X-TXC-SIGNATURE: HMAC SHA512 signature

Body

application/json
orders
object[]
stopOnFail
boolean
request
string
nonce
string

Response

200 - application/json

Orders created

result
object
error
string | null