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

# Count the transactions from a ledger

`HEAD /v2/{ledger}/transactions`

## Path parameters

- `ledger` string, required

## Query parameters

- `pit` string, date-time

## Request body

- object

## Response `204`

OK

## Other responses

- `default` — Error

## Changes

- **2025-03-13** `a13b37bacc1f` — 1 breaking
  - request body became required
- **2024-12-09** `7ee573f0087f` — 1 warning, 1 info
  - added the new `OUTDATED_SCHEMA` enum value to the `errorCode` response property for the response status `default`
  - removed the `BUCKET_OUTDATED` enum value from the `errorCode` response property for the response status `default`
- **2024-12-05** `d93e4ae21e38` — 1 warning
  - added the new `BUCKET_OUTDATED` enum value to the `errorCode` response property for the response status `default`
- **2024-12-05** `1248ef23d2e4` — 1 warning
  - deleted the `query` request parameter `query`
- **2024-11-13** `4780442dd44b` — 1 info
  - added the new optional `query` request parameter `query`

[Full history](https://skmtc.dev/formancehq/apis/ledger-api/changes/v2/:ledger/transactions/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)
