---
title: "Get Models Accounts"
method: POST
path: "/fa/model/accounts-details"
tags: ["tradingFaAllocationManagement"]
---

# Get Models Accounts

`POST /fa/model/accounts-details`

Request all accounts held within a model.

## Request body

- object
  - `calcPnls` boolean — Determine if Profit and Loss values
  - `model` string — Request model to pull account details from.
  - `reqID` integer — Request identifier to uniquely track a request.

## Response `200`

Successfully retrieve account details of in a model.

- TradingFAAllocationManagementGetAccountsInModelResponse200
  - `accountInfoList` FaModelAccountsDetailsPostResponsesContentApplicationJsonSchemaAccountInfoListItems[] — Collection of accounts held in the model.
    - `account` string — Account identifier.
    - `accountImbalance` string — Account's imbalance from the target allocation.
    - `alias` string — Account alias.
    - `baseCcyAccount` string — Base currency of the account.
    - `costBasis` string — Cost basis.
    - `exchangeRate` number, double — Exchange rate of the account base currency to the model base currency.
    - `nlv` string — The net liquidation value of the instrument.
    - `numInstrumentsOutsideRange` integer — The number of instruments held by the account outside of the alloted range from the presets.
    - `unrealizedPnL` string — The unrealized profit and loss of the model within the account.
  - `baseCcyMaster` string — Base currency of the model.
  - `model` string — Model retrieving accounts from.
  - `reqID` integer — Unique identifier for the request.

## Other responses

- `401` — Missing, invalid, or unparseable Authorization token.
- `500` — internal server error, returned when incoming request cannot be processed. It can sometimes include subset of bad requests. For example, wrong accountId passed and it can only be detected later in handling request. Error contains reason of the problem.
- `503` — service is unavailable. For example if request takes more than 10s due to some internal service unavailability, request aborted and this status returned

---

[API](https://skmtc.net/interactivebrokers/apis/api-reference.md) · [All operations](https://skmtc.net/interactivebrokers/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/interactivebrokers/api-reference/revisions/67f9f562c2c6/schema)
