---
title: "Get Account Performance"
method: GET
path: "/v1/accounts/{accountId}/performance"
tags: ["Accounts"]
---

# Get Account Performance

`GET /v1/accounts/{accountId}/performance`

## Request

- Base URL: `https://cams.aquanow.com/api`
- URL: `https://cams.aquanow.com/api/v1/accounts/{accountId}/performance`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/aquanow/apis/aquanow-cams-rest-api/docs/v1/accounts/:accountId/performance/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve account performance details for an account and its assets.

## Path parameters

- `accountId` string, uuid, required

## Query parameters

- `startDate` string, date
- `endDate` string, date
- `reportType` 'INTRADAY' | 'HISTORICAL'
- `dataPoints` integer

## Response `200`

Successful response

- union
  - object
    - `accountId` string, uuid
    - `performanceCurrency` string
    - `mtm` string, number
    - `lastUpdatedAt` string, date-time: Date-time in ISO 8601 format
    - `assetMtm` object[]
      - `asset` string
      - `assetMarketValue` string, number, nullable
      - `assetTradeBalance` string, number, nullable
      - `marketRate` string, number, nullable
      - `averagePrice` string, number, nullable
      - `pnl` string, number, nullable
    - `dataPoints` object[]
      - `closedAt` string, date
      - `accountMarketValue` string, number
      - `pnl` string, number, nullable
      - `assets` object[]
        - `asset` string
        - `assetMarketValue` string, number, nullable
        - `assetTradeBalance` string, number, nullable
        - `marketRate` string, number, nullable
        - `averagePrice` string, number, nullable
        - `pnl` string, number, nullable
  - object
    - `accountId` string, uuid
    - `performanceCurrency` string
    - `mtm` string, number
    - `lastUpdatedAt` string, date-time: Date-time in ISO 8601 format
    - `dailyPercentageChangeAccount` string, number, nullable: Daily mark to market change in percentage for INTRADAY reports
    - `dailyValueChangeAccount` string, number, nullable: Daily value in percentage for INTRADAY reports
    - `assetMtm` object[]
      - `asset` string
      - `assetMarketValue` string, number, nullable
      - `assetTradeBalance` string, number, nullable
      - `marketRate` string, number, nullable
      - `averagePrice` string, number, nullable
      - `dailyPercentageChangeAccount` string, number, nullable: Daily mark to market change in percentage for INTRADAY reports
      - `dailyValueChangeAccount` string, number, nullable: Daily value in percentage for INTRADAY reports
    - `dataPoints` object[]
      - `closedAt` string, date-time
      - `accountMarketValue` string, number
      - `assets` object[]
        - `asset` string
        - `assetMarketValue` string, number, nullable
        - `assetTradeBalance` string, number, nullable
        - `marketRate` string, number, nullable

## Other responses

- `400`: Validation Error
- `401`: Unauthorized
- `403`: Insufficient Privileges
- `4XX`: Client error
- `5XX`: Server error

---

[API](https://skmtc.dev/aquanow/apis/aquanow-cams-rest-api.md) - [All operations](https://skmtc.dev/aquanow/apis/aquanow-cams-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aquanow/apis/aquanow-cams-rest-api/revisions/c62a02b27407?raw)
