---
title: "Get balance history"
method: GET
path: "/cases/{case_id}/bank-accounts/{account_id}/balance-history"
tags: ["Balance History"]
---

# Get balance history

`GET /cases/{case_id}/bank-accounts/{account_id}/balance-history`

## Request

- Base URL: `https://api.example.com/v1`
- URL: `https://api.example.com/v1/cases/{case_id}/bank-accounts/{account_id}/balance-history`
- Auth: none declared

Retrieve historical balance snapshots for a bank account.

## Query parameters

- `date_from` string, date
- `date_to` string, date
- `interval` 'daily' | 'weekly' | 'monthly'

## Response `200`

Balance history.

- object
  - `data` BalanceSnapshot[]
    - `date` string, date
    - `balance` number, double
    - `available_balance` number, double, nullable

## Other responses

- `404`: Resource not found.

---

[API](https://skmtc.dev/hellosunset/apis/sunset-api.md) - [All operations](https://skmtc.dev/hellosunset/apis/sunset-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hellosunset/apis/sunset-api/revisions/f128e5526efe?raw)
