v1

latestOpenAPI 3.0.02026-08-04134348905.1 KB
Trading

Get trading account credit limit and usage

Permissions required: Read trade activity

Get the credit limit and usage of a trading account per asset. Current USD prices are not returned, only assets and their quantity.

Still under development, return empty replies.

get/trading/accounts/{accountId}/credit

Path parameters

accountIdstring required

The ID of the trading account to get the credit for

Response

Successfully returned the credit of the trading account

Example response

{
  "data": {
    "limits": [
      {
        "quantity": "10.45234733",
        "assetType": "BTC",
        "currentPrice": "9751.01",
        "currentUSDValue": "101920.94"
      }
    ],
    "usage": [
      {
        "quantity": "10.45234733",
        "assetType": "BTC",
        "currentPrice": "9751.01",
        "currentUSDValue": "101920.94"
      }
    ]
  }
}