Skip to main content
GET
/
trading
/
accounts
/
{accountId}
/
credit
Get trading account credit limit and usage
curl --request GET \
  --url https://api.anchorage-staging.com/v2/trading/accounts/{accountId}/credit \
  --header 'Api-Access-Key: <api-key>'
{
  "data": {
    "limits": [
      {
        "quantity": "250000.00",
        "assetType": "USD"
      },
      {
        "quantity": "1",
        "assetType": "BTC"
      }
    ],
    "usage": [
      {
        "quantity": "5000.00",
        "assetType": "USD"
      },
      {
        "quantity": "0.2",
        "assetType": "BTC"
      }
    ]
  }
}

Authorizations

Api-Access-Key
string
header
required

An API key associated with a security role

Path Parameters

accountId
string
required

The ID of the trading account to get the credit for

Response

Successfully returned the credit of the trading account

data
TradingAccountCredit · object
required