---
title: "Account Profit And Loss"
method: GET
path: "/iserver/account/pnl/partitioned"
tags: ["tradingAccounts"]
---

# Account Profit And Loss

`GET /iserver/account/pnl/partitioned`

Returns updated profit and loss values for the selected account. Initial request will return an empty array in the upnl object.

## Response `200`

Refers to "updated PnL". Holds a json object of key-value paired pnl details.

- PnlPartitionedResponse
  - `upnl` PnlPartitionedResponseUpnl — Refers to the U accounts PnL. This does reference Realized Profit and Loss.
    - `U1234567.Core` PnlPartitionedResponseUpnlU1234567Core — The account or model's Profit and Loss.
      - `rowType` integer — Returns the positional value of the returned account. Always returns 1 for individual accounts.
      - `dpl` integer — Daily PnL for the specified account profile.
      - `nl` integer — Net Liquidity for the specified account profile.
      - `upl` integer — Unrealized PnL for the specified account profile.
      - `el` integer — Excess Liquidity for the specified account profile.
      - `mv` integer — Margin value for the specified account profile.

## Other responses

- `400` — bad request; passed input cannot pass initial validation and detected right away
- `401` — Missing, invalid, or unparseable Authorization token.
- `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)
