Skip to main content
POST
/
api
/
v1
/
account
/
order_history
Query order history
curl --request POST \
  --url https://whitebit.com/api/v1/account/order_history \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "offset": 0,
  "limit": 100
}
'
{
  "success": true,
  "message": "",
  "result": {}
}

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication requires three headers:

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

Body

application/json
market
string

Requested available market. Example: BTC_USDT

Example:

"BTC_USDT"

limit
integer
default:50

LIMIT is a special clause used to limit records a particular query can return. Default: 50, Min: 1, Max: 100

Required range: 1 <= x <= 100
Example:

100

offset
integer
default:0

If you want the request to return entries starting from a particular line, you can use OFFSET clause to tell it where it should start. Default: 0, Min: 0, Max: 10000

Required range: 0 <= x <= 10000
Example:

0

request
string

Request path

nonce
integer

Nonce for request

Response

Successful response

success
boolean
Example:

true

message
string
Example:

""

result
object