---
title: "Get the latest known balance for an account"
method: GET
path: "/v1/banks/{bid}/accounts/{aid}/balances"
tags: ["Balances"]
---

# Get the latest known balance for an account

`GET /v1/banks/{bid}/accounts/{aid}/balances`

## Request

- Base URL: `https://api.banksync.io`
- URL: `https://api.banksync.io/v1/banks/{bid}/accounts/{aid}/balances`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Returns the bank aggregator's most recent balance snapshot for the account. This does not force the institution to recompute the balance — aggregators refresh on their own schedule (often daily, and for brokerage accounts only once the institution posts an update). Compare `balanceAsOf` (when the data was refreshed) with `retrievedAt` (when BankSync read it from the aggregator — the cached answer's time on a cache hit) to judge freshness; `balanceAsOf` is null when the provider does not report it, which means UNKNOWN rather than fresh. Responses may be served from a cache up to 6 hours old: `X-BankSync-Cache` says `hit`, `miss` or `bypass`, and `Age` is the cached answer's age in seconds.

## Path parameters

- `bid` string, required: Bank ID
- `aid` string, required: Account ID

## Response `200`

Live balance for the account

- object
  - `success` true, required
  - `data` object, required
    - `date` string, required
    - `retrievedAt` string
    - `balanceAsOf` string, nullable
    - `bank` string
    - `account` string, required
    - `accountName` string, required
    - `accountNumber` string, required
    - `accountType` string, required
    - `accountId` string, required
    - `bankId` string, required
    - `amount` number, required
    - `availableBalance` number, nullable, required
    - `pendingBalance` number
    - `creditLimit` number
    - `currency` string, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Account not found
- `501`: The bank's provider does not report balances

---

[API](https://skmtc.dev/banksync/apis/banksync-api.md) · [All operations](https://skmtc.dev/banksync/apis/banksync-api/llms.txt) · [OpenAPI document](https://skmtc.dev/banksync/apis/banksync-api/revisions/94465f5ee922?raw)
