Skip to main content
POST
/
api
/
v4
/
order
/
cancel
/
all
Cancel all orders
curl --request POST \
  --url https://whitebit.com/api/v4/order/cancel/all \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "market": "BTC_USDT",
  "type": [
    "spot"
  ],
  "request": "<string>",
  "nonce": "<string>"
}
'
{
  "code": 123,
  "message": "<string>",
  "errors": {}
}

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
market
string

Available market. Example: BTC_USDT

Example:

"BTC_USDT"

type
enum<string>[]

Order types value. Example: 'spot', 'margin', 'futures'

Available options:
spot,
margin,
futures
request
string
nonce
string

Response

Orders cancelled successfully