---
title: "List accounts from a ledger"
method: GET
path: "/v2/{ledger}/accounts"
tags: ["ledger.v2"]
---

# List accounts from a ledger

`GET /v2/{ledger}/accounts`

List accounts from a ledger, sorted by address in descending order.

## Path parameters

- `ledger` string, required

## Query parameters

- `pageSize` integer
- `cursor` string
- `expand` string
- `pit` string, date-time
- `sort` string

## Request body

- object

## Response `200`

OK

- V2AccountsCursorResponse
  - `cursor` object, required
    - `pageSize` integer, required
    - `hasMore` boolean, required
    - `previous` string
    - `next` string
    - `data` V2Account[], required
      - `address` string, required
      - `metadata` object, required
      - `insertionDate` string, date-time
      - `updatedAt` string, date-time
      - `firstUsage` string, date-time
      - `volumes` V2Volumes
      - `effectiveVolumes` V2Volumes

## Other responses

- `default` — Error

## Changes

- **2025-07-16** `07091e08e779` — 2 info
  - added the optional property `cursor/data/items/insertionDate` to the response with the `200` status
  - added the optional property `cursor/data/items/updatedAt` to the response with the `200` status
- **2025-06-25** `c51f6899d101` — 2 info
  - added the new optional `query` request parameter `sort`
  - added the optional property `cursor/data/items/firstUsage` to the response with the `200` status
- **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`

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