Skip to main content
POST
/
api
/
v1
/
account
/
order
Query executed order deals
curl --request POST \
  --url https://whitebit.com/api/v1/account/order \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "orderId": 3135554375,
  "offset": 0,
  "limit": 100
}
'
{
  "success": true,
  "message": "",
  "result": {
    "limit": 50,
    "offset": 0,
    "records": [
      {
        "id": 149156519,
        "clientOrderId": "order1987111",
        "amount": "598",
        "time": 1593342324.613711,
        "dealOrderId": 3134995325,
        "role": 2,
        "deal": "0.00419198",
        "price": "0.00000701",
        "fee": "0.00000419198"
      }
    ]
  }
}

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
orderId
integer
required

Order ID. Example: 1234

Example:

3135554375

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