---
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

- **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/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.dev/formancehq/apis/ledger-api/revisions/dcde15f756b5?raw)
