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

# Get custody balance

> Retrieve the balance for each asset held in the specified vault.



## OpenAPI

````yaml /openapi/custody-rest.yaml post /0/private/GetCustodyBalance
openapi: 3.0.0
info:
  title: REST API
  version: 1.1.0
  description: ''
servers:
  - url: https://api.kraken.com
    description: Production Server
security:
  - API-Key: []
    API-Sign: []
tags:
  - name: Portfolios
  - name: Transfers
  - name: Tasks
paths:
  /0/private/GetCustodyBalance:
    post:
      tags:
        - Portfolios
      summary: Get custody balance
      description: Retrieve the balance for each asset held in the specified vault.
      operationId: getCustodyBalance
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/getCustodyBalance'
      responses:
        default:
          description: Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getCustodyBalance-2'
components:
  schemas:
    getCustodyBalance:
      type: object
      required:
        - nonce
        - vault_id
      properties:
        nonce:
          $ref: '#/components/schemas/nonce'
        vault_id:
          description: The vault ID to retrieve balances for.
          example: VN2F7NJJWKJHI2
          type: string
          pattern: ^V[A-Z2-7]{12}[ACEGIKMOQSUWY246]$
          minLength: 14
          maxLength: 14
    getCustodyBalance-2:
      type: object
      properties:
        error:
          type: array
          items:
            description: General API error.
            type: object
            properties:
              severity:
                description: API error severity.
                type: string
                enum:
                  - E
                  - W
              errorClass:
                type: string
              type:
                type: string
              errorMessage:
                nullable: true
                type: string
            required:
              - errorClass
              - severity
              - type
        result:
          nullable: true
          description: Balance breakdown by asset.
          type: object
          properties:
            asset:
              type: object
              properties:
                balance:
                  description: Total balance amount for an asset.
                  type: string
                hold_trade:
                  description: Total held amount for an asset.
                  type: string
              required:
                - balance
                - hold_trade
      required:
        - error
    nonce:
      description: Nonce used in construction of `API-Sign` header
      type: integer
      format: int64
  securitySchemes:
    API-Key:
      type: apiKey
      description: The "API-Key" header should contain your API key.
      name: API-Key
      in: header
    API-Sign:
      type: apiKey
      description: >-
        Authenticated requests should be signed with the "API-Sign" header,
        using a signature generated with your private key, nonce, encoded
        payload, and URI path.
      name: API-Sign
      in: header

````