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

# Get TVL by builder

> 
**Limit: 10 requests per 1 second per IP address**

`GET /v1/public/balance/stats`

Returns TVL (total balance plus unsettled PnL), optionally filtered by broker ID.




## OpenAPI

````yaml orderly.openapi get /v1/public/balance/stats
openapi: 3.0.1
info:
  title: EVM
  description: ''
  version: 1.0.0
servers:
  - url: https://api.orderly.org
    description: Mainnet
  - url: https://testnet-api.orderly.org
    description: Testnet
security: []
tags:
  - name: public
  - name: private
paths:
  /v1/public/balance/stats:
    get:
      tags:
        - public
      summary: Get TVL by builder
      description: >

        **Limit: 10 requests per 1 second per IP address**


        `GET /v1/public/balance/stats`


        Returns TVL (total balance plus unsettled PnL), optionally filtered by
        broker ID.
      parameters:
        - name: broker_id
          in: query
          description: When omitted, returns TVL for all brokers.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTVLByBrokerResponse'
      deprecated: false
components:
  schemas:
    GetTVLByBrokerResponse:
      allOf:
        - $ref: '#/components/schemas/BasicResponse'
        - type: object
          required:
            - data
          properties:
            data:
              type: object
              properties:
                total_holding:
                  description: Total balance across the selected scope.
                  type: number
                  example: 100
                total_unsettled_balance:
                  description: Total unsettled PnL across the selected scope.
                  type: number
                  example: 21
                last_update_time:
                  description: Timestamp of the most recent TVL update in milliseconds.
                  type: number
                  example: 1702989203989
    BasicResponse:
      required:
        - success
      type: object
      properties:
        success:
          description: Indicates whether the request was successful.
          type: boolean
          example: true
        timestamp:
          description: Server timestamp in milliseconds.
          type: integer
          example: 1702989203989

````