Account

Assets

GET /v1/account/assets

NOTE

Don't include trailing slash / at the end of the endpoint. Doing so can result in a “not found” error.

INFO

The ack of balance request indicates that the request is successfully accepted.

Response Parameters

ParameterTypeComments
statusCodenumber200
resultobjectResult object
result.coinstringAsset coin type: USDT
result.availableBalancenumberAvailable balance of the account
result.totalBalancenumberValuation assets including margin of the account
result.totalUnrealizedPnLnumberTotal unrealized PnL of the account
messagestringResponse message

Request Example

GET /v1/account/assets HTTP/1.1
Host: api.heatmex.com
X-HEATMEX-SIGN: XXXXX
X-HEATMEX-API-KEY: XXXXX
Content-Type: application/json
const response = await fetch('https://api.heatmex.com/v1/account/assets');

Response Example

{
  "statusCode": 200,
  "result": {
    "coin": "USDT",
    "availableBalance": 13399.82163749,
    "totalBalance": 13399.82163749,
    "totalUnrealizedPnL":  18899.82163749
  },
  "message": "success"
}

On this page