> ## Documentation Index
> Fetch the complete documentation index at: https://docs.0xmonaco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List application balances

> List application balances.

 Returns a paginated list of the balances of the application's users.
 Public: the application is selected by `client_id`.



## OpenAPI

````yaml /proto-openapi/api/openapi.yaml get /api/v1/applications/balances
openapi: 3.0.3
info:
  title: Monaco Protocol API
  description: REST API for the Monaco Protocol hybrid CLOB exchange.
  version: 1.0.0
servers:
  - url: https://staging.apimonaco.xyz
    description: Staging server (Testnet)
security: []
tags:
  - name: AccountsService
  - name: ApplicationsService
  - name: AuthService
  - name: BuildercodeRewardsService
  - name: CopyTradingService
  - name: DelegatedAgentsService
  - name: FaucetService
  - name: FeesService
  - name: HealthService
  - name: ManagedMarketsService
    description: |-
      Wallet-authenticated maker assignments. The signed session must match both
       configured maker user and application. Owner IDs are process fences, never auth.
       Only wallet sessions are supported; delegated-agent sessions receive 403.
  - name: MarginAccountsService
    description: |-
      Current public isolated-margin semantics:
       - a user has one parent margin account per application scope
       - opening orders create or reuse isolated position buckets under that parent
       - parent account creation is handled internally by margin workflows
  - name: MarketService
  - name: OrderbookService
  - name: OrdersService
  - name: PositionsService
    description: |-
      Current public isolated-margin semantics:
       - positions link to a parent margin account and, when applicable, a bucket id
       - opening orders create or reuse isolated position buckets under the parent
       - users can open another isolated position by reusing the parent account with a different market bucket
  - name: PulseService
  - name: SweeperService
  - name: TraderCodeService
  - name: TradesService
  - name: WhitelistService
  - name: WithdrawalsService
paths:
  /api/v1/applications/balances:
    get:
      tags:
        - ApplicationsService
        - Applications
      summary: List application balances
      description: |-
        List application balances.

         Returns a paginated list of the balances of the application's users.
         Public: the application is selected by `client_id`.
      operationId: list_application_balances
      parameters:
        - name: pageSize
          in: query
          schema:
            type: integer
            format: uint32
            minimum: 1
            maximum: 1000
            default: 20
          description: Items per page (max 1000)
        - name: userId
          in: query
          schema:
            type: string
            minLength: 1
            format: uuid
          description: User identifier (UUID)
        - name: assetId
          in: query
          schema:
            type: string
            minLength: 1
            format: uuid
          description: Asset identifier (UUID)
        - name: pageToken
          in: query
          description: |-
            Pagination cursor with two states:
              - Omitted or empty string (""): start a cursor walk with no prior
                position.
              - Non-empty: an opaque cursor from a previous response's
                `nextPageToken`; results resume immediately after that position.

             Ordered by balance id ascending. NOT by `updated_at`, which the removed
             offset mode sorted on: that column changes on every balance movement, so
             a walk over it could repeat or skip rows with no concurrent insert at
             all.

             `total` and `totalPages` are populated — bounded by the server count
             ceiling, see `totalCapped`.

             Filters must match the request that produced the token, or the request
             is rejected 400.
          schema:
            type: string
        - name: clientId
          in: query
          description: Application client ID
          schema:
            type: string
            minLength: 1
          required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListAppBalancesResponse'
        '400':
          description: Bad request (missing client_id, invalid filter or page token)
        '404':
          description: No active application has this client_id
        '429':
          description: >-
            Public read rate limit exceeded for this client IP; retry after the
            interval in details.retryAfter
        '500':
          description: Internal server error
components:
  schemas:
    ListAppBalancesResponse:
      type: object
      properties:
        balances:
          type: array
          items:
            $ref: '#/components/schemas/ApplicationBalance'
          nullable: true
        total:
          example: 50
          type: integer
          description: >-
            Number of balances matching the filter, bounded by the server
            ceiling — a lower bound when totalCapped is true.
          format: uint32
          nullable: true
        pageSize:
          example: 20
          type: integer
          description: Items per page
          format: uint32
          nullable: true
        totalPages:
          example: 3
          type: integer
          description: >-
            Number of pages at this pageSize, bounded by the server ceiling — a
            lower bound when totalCapped is true.
          format: uint32
          nullable: true
        nextPageToken:
          type: string
          description: >-
            Cursor for the next page, minted from the last row of an
            over-fetched
             page: this listing is one ordered read, so a page shorter than
             `pageSize` proves the walk is exhausted and this is empty.
          nullable: true
        totalCapped:
          example: false
          type: boolean
          description: >-
            True when more than the server ceiling of balances matched, so the
            count stopped at the ceiling and total/totalPages are a lower bound.
          nullable: true
    ApplicationBalance:
      type: object
      properties:
        availableBalance:
          type: string
          description: Available balance for trading
          nullable: true
        createdAt:
          type: string
          description: Balance creation timestamp (ISO 8601)
          nullable: true
        decimals:
          type: integer
          description: Token decimals
          format: int32
          nullable: true
        id:
          type: string
          description: Balance UUID
          format: uuid
          nullable: true
        lastSyncAt:
          type: string
          description: Last sync timestamp (ISO 8601)
          nullable: true
        lastSyncBlock:
          type: string
          description: Last sync block number
          nullable: true
        lockedBalance:
          type: string
          description: Locked balance
          nullable: true
        onChainBalance:
          type: string
          description: On-chain balance
          nullable: true
        symbol:
          type: string
          description: Token symbol
          nullable: true
        token:
          type: string
          description: Token address
          nullable: true
        totalBalance:
          type: string
          description: Total balance
          nullable: true
        updatedAt:
          type: string
          description: Balance last update timestamp (ISO 8601)
          nullable: true
        userId:
          type: string
          description: User UUID who owns this balance
          format: uuid
          nullable: true

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.