---
title: "Get the aggregated balances from selected accounts"
method: GET
path: "/v2/{ledger}/aggregate/balances"
tags: ["ledger.v2"]
---

# Get the aggregated balances from selected accounts

`GET /v2/{ledger}/aggregate/balances`

## Path parameters

- `ledger` string, required

## Query parameters

- `pit` string, date-time
- `useInsertionDate` boolean

## Request body

- object

## Response `200`

OK

- V2AggregateBalancesResponse
  - `data` V2AssetsBalances, required

## Other responses

- `default` — Error

## Changes

- **2024-10-25** `dcde15f756b5` — 1 warning
  - added the new `LEDGER_ALREADY_EXISTS` enum value to the `errorCode` response property for the response status `default`

[Change history](https://skmtc.dev/formancehq/apis/ledger-api/changes/v2/:ledger/aggregate/balances/get.md)

---

[API](https://skmtc.dev/formancehq/apis/ledger-api.md) · [All operations](https://skmtc.dev/formancehq/apis/ledger-api/llms.txt) · [OpenAPI document](https://skmtc.dev/formancehq/apis/ledger-api/revisions/5586071dbca0?raw)
