---
title: "Get All Trading Accounts Details"
method: GET
path: "/v1/accounts/trading-accounts"
tags: ["trading-accounts"]
---

# Get All Trading Accounts Details

`GET /v1/accounts/trading-accounts`

## Request

- Base URL: `https://api.exchange.bullish.com/trading-api`
- URL: `https://api.exchange.bullish.com/trading-api/v1/accounts/trading-accounts`
- Auth: HTTP bearer

Gets details for all trading accounts accessible by the API key used in the request. It requires [bearer token](/rest/authentication#add-authenticated-request-header) in authorization header. The trading account's id will be used in all other REST API

**Ratelimited:** `True`

## Response `200`

OK

- TradingAccountResponse[]
  - `isBorrowing` string, required: whether the trading account is borrowing
  - `isLending` string, required: whether the trading account is lending
  - `makerFee` string: Deprecated and no longer accurate. See `tradeFeeRate` instead
  - `takerFee` string: Deprecated and no longer accurate. See `tradeFeeRate` instead
  - `maxInitialLeverage` string, required: max initial leverage
  - `tradingAccountId` string, required: unique trading account ID
  - `tradingAccountName` string, required: name of the trading account
  - `tradingAccountDescription` string, required: description of the trading account
  - `isPrimaryAccount` string, required: whether this is the primary account
  - `rateLimitToken` string, required: unique rate limit token of the trading account
  - `isDefaulted` string, required: whether the trading account is defaulted
  - `tradeFeeRate` TradeFeeRate[], required: Trade fees per `feeGroupId` for this trading account
    - `feeGroupId` integer, required: Identifier for this particular fee tier
    - `makerFee` string, required: Maker Fee in decimal value
    - `takerFee` string, required: Taker Fee in decimal value
    - `makerOtcFee` string, required: OTC Maker Fee in decimal value
    - `takerOtcFee` string, required: OTC Taker Fee in decimal value
    - `brokerFee` string, required: Fee charged for brokered OTC trade in decimal value
    - `auctionFee` string: Fee charged for auction trade in decimal value
  - `riskLimitUSD` string, required: The maximum allowed borrowing for this trading account (in USD currency)
  - `totalLiabilitiesUSD` string, required: The The total liabilities for this trading account (in USD currency)
  - `totalBorrowedUSD` string, required: total borrowed across all assets in this trading account displayed in the reference asset in USD
  - `totalCollateralUSD` string, required: total collateral across all assets in this trading account displayed in the reference asset in USD
  - `initialMarginUSD` string, required: The minimum margin one must maintain in order to be able to purposefully increase risk
  - `warningMarginUSD` string, required: The minimum margin when the customer will receive warning via email/notifications over UI
  - `liquidationMarginUSD` string, required: The minimum value of margin one must maintain in order to avoid liquidation
  - `fullLiquidationMarginUSD` string, required: The value of margin when full liquidation occurs
  - `defaultedMarginUSD` string, required: The value of margin when this trading account will be moved into a Defaulted state
  - `endCustomerId` string, required: The end customer id used for self trade prevention (default is institution id, max 32 characters)
  - `isConcentrationRiskEnabled` string, required: whether concentration risk checks are enforced for an account when sending new orders. By default, concentration risk checks will apply to all accounts
  - `liquidityAddonUSD` string, required: expected market impact of unwinding the portfolio in the case of a liquidation event
  - `marketRiskUSD` string, required: the worst possible loss on the portfolio based on scenario analysis
  - `marginProfile` MarginProfile, required
    - `initialMarketRiskMultiplierPct` string: market risk multiplier used to calculate initial margin requirement of the account
    - `warningMarketRiskMultiplierPct` string: market risk multiplier used to calculate warning margin requirement of the account
    - `liquidationMarketRiskMultiplierPct` string: market risk multiplier used to calculate liquidation margin requirement of the account
    - `fullLiquidationMarketRiskMultiplierPct` string: market risk multiplier used to calculate full liquidation margin requirement of the account
    - `defaultedMarketRiskMultiplierPct` string: market risk multiplier used to calculate defaulted margin requirement of the account

## Other responses

- `401`: Not Authenticated
- `403`: Access Forbidden
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/bullish/apis/bullish-trading-api.md) - [All operations](https://skmtc.dev/bullish/apis/bullish-trading-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bullish/apis/bullish-trading-api/revisions/df5d69ccedcf?raw)
