Query recently executed spot orders with optional filtering by market via the WhiteBIT V4 API.
Documentation Index
Fetch the complete documentation index at: https://docs.whitebit.com/llms.txt
Use this file to discover all available pages before exploring further.
The public WhiteBIT API key.
Base64-encoded JSON request body.
HMAC-SHA512 signature of the payload, hex-encoded. Computed as hex(HMAC-SHA512(payload, api_secret)).
Trading pair to filter by. Format: BASE_QUOTE (e.g., BTC_USDT). Omit to retrieve orders across all markets.
"BTC_USDT"
Look up a specific order by its custom client identifier. When supplied, the endpoint switches to single-order lookup mode and the startDate, endDate, and status filters are ignored. Returns 422 with "OrderHistory was not found." if no order matches. Ignored when orderId is also provided.
"customId11"
Look up a specific order by its exchange-assigned identifier. When supplied, the endpoint switches to single-order lookup mode and the startDate, endDate, and status filters are ignored. Returns an empty result on no match (no 422). Takes precedence over clientOrderId when both are supplied.
4986126152
Filter list-mode results by order status. Ignored when orderId or clientOrderId is supplied.
ALL, FILLED, CANCELED, PARTIALLY_FILLED "FILLED"
Start of the query window as a Unix timestamp in seconds. Default: now - 1 month. The earliest reachable date is 6 months ago (00:00 UTC) — requests with an older startDate are rejected with a validation error.
1697000000
End of the query window as a Unix timestamp in seconds. Default: now. Values greater than the current time are silently clamped to now. The maximum span between startDate and endDate is 31 days.
1699000000
Number of records to skip. Default: 0.
x >= 00
Maximum number of records to return. Default: 50. Minimum: 1. Maximum: 500.
1 <= x <= 50050
"{{request}}"
"{{nonce}}"
Successful response - returns order history grouped by market. Empty response if order is not yours.
Object with market names as keys, each containing an array of orders