---
title: "Count the accounts from a ledger"
method: HEAD
path: "/{ledger}/accounts"
tags: ["ledger.v1"]
---

# Count the accounts from a ledger

`HEAD /{ledger}/accounts`

## Path parameters

- `ledger` string, required

## Query parameters

- `address` string
- `metadata` object

## Response `204`

OK

## Other responses

- `default` — Error

## Changes

- **2025-06-24** `b06fb53c520e` — 1 breaking, 1 info
  - removed the success response with the status `200`
  - added the success response with the status `204`

[Change history](https://skmtc.dev/formancehq/apis/ledger-api/changes/:ledger/accounts/head.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-service-production.skmtc.workers.dev/v1/apis/formancehq/ledger-api/revisions/d2a7fe0e9de2/schema)
