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

# Get balance across all chains



## OpenAPI

````yaml /openapi/extern-svr.json get /extern/svr/{accountTypeId}/account/{accountId}/balance
openapi: 3.1.0
info:
  title: Blend business-api — extern svr
  version: 1.0.0
  description: >-
    Server integration surface. Auth: X-API-Key header. The account is explicit
    in the URL path.
servers:
  - url: https://{host}
    variables:
      host:
        default: api.portal.blend.money
security: []
paths:
  /extern/svr/{accountTypeId}/account/{accountId}/balance:
    get:
      tags:
        - svr
      summary: Get balance across all chains
      operationId: svr_getBalance
      parameters:
        - name: accountTypeId
          in: path
          required: true
          schema:
            type: string
        - name: accountId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: startDate
          in: query
          required: false
          schema:
            type: string
        - name: endDate
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: success
                  data:
                    $ref: '#/components/schemas/BalanceResponse'
                required:
                  - status
                  - data
                additionalProperties: false
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
      security:
        - ApiKey: []
components:
  schemas:
    BalanceResponse:
      type: object
      properties:
        accountId:
          type: string
        safeAddress:
          $ref: '#/components/schemas/Address'
        perChain:
          type: array
          items:
            type: object
            properties:
              chainId:
                type: number
              vaultAddress:
                $ref: '#/components/schemas/Address'
              total:
                $ref: '#/components/schemas/CurrencyFixed'
              totalUnderlying:
                type: string
              totalUnderlyingDecimals:
                type: number
              heldAssets:
                type: array
                items:
                  $ref: '#/components/schemas/HeldAsset'
            required:
              - chainId
              - vaultAddress
              - total
              - totalUnderlying
              - totalUnderlyingDecimals
              - heldAssets
            additionalProperties: false
        total:
          $ref: '#/components/schemas/CurrencyAmount'
        heldAssets:
          type: array
          items:
            $ref: '#/components/schemas/HeldAsset'
      required:
        - accountId
        - safeAddress
        - perChain
        - total
        - heldAssets
      additionalProperties: false
    Address:
      type: string
      pattern: ^0x[a-fA-F0-9]{40}$
      description: EIP-55 checksummed EVM address
      examples:
        - '0x1234567890AbcdEF1234567890aBcdef12345678'
    CurrencyFixed:
      type: object
      propertyNames:
        type: string
      additionalProperties:
        type: object
        properties:
          value:
            type: string
          decimals:
            type: number
        required:
          - value
          - decimals
        additionalProperties: false
      description: Fixed-point integer amounts keyed by currency code
      examples:
        - USD:
            value: '500250000'
            decimals: 6
    HeldAsset:
      type: object
      properties:
        address:
          $ref: '#/components/schemas/Address'
        symbol:
          type: string
        chainId:
          type: number
      required:
        - address
        - symbol
        - chainId
      additionalProperties: false
    CurrencyAmount:
      type: object
      propertyNames:
        type: string
      additionalProperties:
        type: number
      description: Amounts keyed by currency code (always includes USD)
      examples:
        - USD: 1234.56
  responses:
    Error:
      description: Error
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                const: error
              message:
                type: string
            required:
              - status
              - message
            additionalProperties: false
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Server-to-server API key

````