---
title: "Get average daily balance for an account"
method: GET
path: "/v1/accounts/{account_id}/average_daily_balance"
tags: ["Accounts"]
---

# Get average daily balance for an account

`GET /v1/accounts/{account_id}/average_daily_balance`

Fetches the average of daily end-of-day balance for the specified account and date range. A maximum of one year can be provided as date range. If the account has no balance for a given day because for example it was opened after the `start_date` OR closed before `end_date`, those days will have end-of-day balance as `0`. If `end_date` is in the future, those days' balance is equal to the latest balance. It is recommended to present the average balance to the Customer as Yearly for past years and Year to Date for current year.

## Path parameters

- `account_id` string, required

## Query parameters

- `start_date` string, date, required
- `end_date` string, date, required

## Response `200`

Average daily balance successfully calculated.

- AverageDailyBalance
  - `acccount_id` string
  - `average_daily_balance` Money
    - `value` integer — Amount in cents
    - `unit` string — Money unit - cents
    - `currency` string — Currency - 'EUR'

## Other responses

- `400` — Request error due invalid parameters.
- `404` — Specified account was not found
- `500` — A server error was encountered during the request.

---

[API](https://skmtc.net/solarisgroup/apis/account-management.md) · [All operations](https://skmtc.net/solarisgroup/apis/account-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solarisgroup/account-management/revisions/099ef636a5a1/schema)
