> ## 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 aggregate holding

> 
**Limit: 1 request per 60 seconds**

`GET /v1/client/aggregate/holding`

Only the main account is allowed to call this API.




## OpenAPI

````yaml orderly.openapi get /v1/client/aggregate/holding
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/client/aggregate/holding:
    get:
      tags:
        - private
      summary: Get aggregate holding
      description: |

        **Limit: 1 request per 60 seconds**

        `GET /v1/client/aggregate/holding`

        Only the main account is allowed to call this API.
      parameters:
        - $ref: '#/components/parameters/orderly_timestamp'
        - $ref: '#/components/parameters/orderly_account_id'
        - $ref: '#/components/parameters/orderly_key'
        - $ref: '#/components/parameters/orderly_signature'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AggregateHoldingResponse'
components:
  parameters:
    orderly_timestamp:
      name: orderly-timestamp
      in: header
      description: Timestamp of the signed request in milliseconds.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: '1649920583000'
    orderly_account_id:
      name: orderly-account-id
      in: header
      description: Account ID of the authenticated account.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: 6.858456565150415e+75
    orderly_key:
      name: orderly-key
      in: header
      description: Public orderly key used to sign the request.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: ed25519:8tm7dnKYkSc3FzgPuJaw1wztr79eeZpN35nHW5pL5XhX
    orderly_signature:
      name: orderly-signature
      in: header
      description: Signature of the request payload generated with the orderly key.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: >-
        dG4bkKiqG0dUYLzViRZkvbI6Sy239JxAdNMIBxFZ4w030Jofr0ORV06GHtvXZkaZaWUXE+XAU3fnzKN/5fDeBQ==
  schemas:
    AggregateHoldingResponse:
      allOf:
        - $ref: '#/components/schemas/BasicResponse'
        - type: object
          properties:
            data:
              type: object
              properties:
                rows:
                  description: >-
                    Aggregate asset balances for the main account and its sub
                    accounts.
                  type: array
                  items:
                    type: object
                    properties:
                      account_id:
                        description: Account ID that owns the balance.
                        type: string
                      updated_time:
                        description: >-
                          Timestamp of the latest balance update in
                          milliseconds.
                        type: number
                      token:
                        description: Token symbol of the balance entry.
                        type: string
                      holding:
                        description: Current balance held in the account.
                        type: number
                      frozen:
                        description: >-
                          Balance currently frozen by open orders or system
                          processes.
                        type: number
                      pending_short:
                        description: Balance reserved for pending short exposure.
                        type: number
                      isolated_margin:
                        description: Balance allocated as isolated margin.
                        type: number
                      isolated_order_frozen:
                        description: Balance frozen by open isolated-margin orders.
                        type: number
              example:
                - account_id: '0x1111'
                  updated_time: 1580794149000
                  token: BTC
                  holding: -28.000752
                  frozen: 0
                  pending_short: -2000
                  isolated_margin: 0
                  isolated_order_frozen: 0
                - account_id: '0x2222'
                  updated_time: 1580794149000
                  token: ETH
                  holding: -10.123456
                  frozen: 0
                  pending_short: -500
                  isolated_margin: 0
                  isolated_order_frozen: 0
    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

````