POST
/
getTradeBalance
curl --request POST \
  --url https://gateway.finhub.cloud/crypto/getTradeBalance \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "nonce": "-33240218",
  "asset": "ZUSD"
}'
{
  "error": [],
  "result": {
    "eb": "1101.3425",
    "tb": "392.2264",
    "m": "7.0354",
    "n": "-10.0232",
    "c": "21.1063",
    "v": "31.1297",
    "e": "382.2032",
    "mf": "375.1678",
    "ml": "5432.57"
  }
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Tenant/Owner id

Content-Type
string

Body

application/json
nonce
string

(Required)

asset
string

Base asset used to determine balance

Response

200 - application/json

The response is of type object.