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

# Get deposit addresses

> Retrieve (or generate a new) deposit addresses for a particular asset and funding method. Use the [Get Deposit Methods API](/docs/custody-api/deposit-methods) to identify the appropriate deposit method.



## OpenAPI

````yaml /openapi/custody-rest.yaml post /0/private/DepositAddresses
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/DepositAddresses:
    post:
      tags:
        - Portfolios
      summary: Get deposit addresses
      description: >-
        Retrieve (or generate a new) deposit addresses for a particular asset
        and funding method. Use the [Get Deposit Methods
        API](/docs/custody-api/deposit-methods) to identify the appropriate
        deposit method.
      operationId: depositAddresses
      parameters:
        - $ref: '#/components/parameters/xVaultId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/depositAddresses'
      responses:
        default:
          description: Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/depositAddresses-2'
components:
  parameters:
    xVaultId:
      in: header
      name: x-vault-id
      description: Vault ID or Vault IIBAN
      schema:
        type: string
        pattern: >-
          (^V[A-Z2-7]{12}[ACEGIKMOQSUWY246]$|AA[A-Z0-9]{2} ?[A-Z0-9]{4}
          ?[A-Z0-9]{4} ?[A-Z0-9]{4})
        minLength: 12
        maxLength: 19
      example: VOBJAQBMOKYR3K or AA73 N84G ZI3B MCFQ
      x-selected-account: true
      style: simple
      required: true
  schemas:
    depositAddresses:
      type: object
      properties:
        nonce:
          $ref: '#/components/schemas/nonce'
        aclass:
          default: currency
          type: string
          enum:
            - currency
            - forex
            - equity
            - equitypair
            - nft
            - volume
        asset:
          type: string
          minLength: 1
          maxLength: 16
        method:
          description: Name of the deposit method
          type: string
        new:
          description: Whether or not to generate a new address
          type: boolean
          default: false
      required:
        - asset
        - method
        - nonce
    depositAddresses-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
          type: array
          items:
            type: object
            properties:
              address:
                type: string
              expiretm:
                default: 0
                type: string
              memo:
                nullable: true
                type: string
              new:
                nullable: true
                type: boolean
              tag:
                nullable: true
                type: string
            required:
              - address
      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

````