---
title: "Get all treasury accounts"
method: GET
path: "/treasury"
tags: ["Treasury"]
---

# Get all treasury accounts

`GET /treasury`

Retrieve a paginated list of all treasury accounts associated with the authenticated organization. Use cursor parameters (start_after, end_before) for pagination.

## Query parameters

- `limit` integer — Maximum number of results to return. Allowed range: 1 to 1000. Defaults to 1000
- `start_after` string, uuid — The ID of the account to start the page after (exclusive). When provided, results will begin with the account immediately following this ID. Use this for standard forward pagination to get the next page of results. Cannot be combined with end_before.
- `end_before` string, uuid — The ID of the account to end the page before (exclusive). When provided, results will end just before this ID and work backwards. Use this for reverse pagination or to retrieve previous pages. Cannot be combined with start_after.
- `order` 'asc' | 'desc' — Sort order. Can be 'asc' or 'desc'. Defaults to 'asc'

## Response `200`

- TreasuryAccountsPaginatedResponse — Paginated response type for treasury accounts API endpoint
  - `accounts` TreasuryAccount[], required — List of treasury accounts in the current page
    - `availableBalance` number, required
    - `createdAt` string, yyyy-mm-ddThh:MM:ssZ, required
    - `currentBalance` number, required
    - `id` string, uuid, required — ID for a Mercury account.
    - `netReturns` TreasuryNetReturn[], required — Monthly net return breakdown with dividend and fee details
      - `dividends` TreasuryDividend[], required — List of dividends received by security
        - `amount` number, required — Dividend amount for this security
        - `id` string, required — Security identifier (e.g., "617455696")
        - `securityName` string, required — Human-readable security name (e.g., "Morgan Stanley Ultra-Short Income Portfolio Class IR")
        - `type` 'cusip', required — Security identifier type
      - `month` string, date, required — First day of the month for this net return
      - `netAmount` number, required — Net return amount (dividends minus fees)
      - `status` 'processing' | 'pending' | 'charged' | 'error', required — Status of this net return calculation
      - `treasuryFee` number, required — Treasury fee charged for this period (positive value)
    - `status` 'active' | 'deleted' | 'pending' | 'archived', required
  - `page` object, required — Pagination information including cursors for navigating to next/previous pages
    - `nextPage` string, uuid — ID for a Mercury account.
    - `previousPage` string, uuid — ID for a Mercury account.

## Other responses

- `400` — Invalid `order` or `end_before` or `start_after` or `limit`

---

[API](https://skmtc.net/mercurytechnologies/apis/mercury-api.md) · [All operations](https://skmtc.net/mercurytechnologies/apis/mercury-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mercurytechnologies/mercury-api/versions/0bdf4a496e03/schema)
