# Get Deposit Addresses

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/account/deposit-addresses:
    get:
      summary: Get Deposit Addresses
      deprecated: false
      description: >-
        Returns the crypto deposit addresses of your account, each with the
        network to send on.


        Deposit addresses belong to your main account, and deposits to them are
        credited to it, so this endpoint takes a **main-account token**; a
        subaccount token gets `403 SUBACCOUNT_NOT_SUPPORTED`.


        A currency you haven't generated an address for yet is simply absent
        from the list: generate one with `POST /v1/account/deposit-addresses`.
        The currencies and networks you can deposit, with each token's contract
        address, are in the `networks` of `GET /v1/currencies`.


        ### Before you send


        - Send the currency **only on the address's `network`**. The same
        address can exist on several networks (e.g. EVM chains), and a deposit
        on any other network can't be credited.

        - When `destination_tag` is set, include it with **every** deposit.
        Without it the deposit can't be matched to your account.

        - Check `deposit_enabled`: when it is `false`, deposits of that currency
        are currently not accepted for your account.


        ### Filters


        Both are optional; without them every address is returned.


        - `currency`: one currency code, e.g. `BTC`. A currency that can't be
        deposited, such as fiat, answers `400 CURRENCY_NOT_SUPPORTED`.

        - `network`: a network id from `GET /v1/currencies`, e.g. `ETHEREUM`.
        With `currency`, a network the currency isn't on answers `400
        NETWORK_NOT_SUPPORTED`.


        Requires an API key (every key has read access) or a user session. Rate
        limited.
      operationId: getDepositAddresses
      tags:
        - One Trading Public REST API/Funding
        - One Trading Public REST API/Funding
      parameters:
        - name: currency
          in: query
          description: Only addresses for this currency (upper-case code, e.g. `BTC`).
          required: false
          example: BTC
          schema:
            type: string
            pattern: ^(?=.*[A-Z])[A-Z0-9]{1,8}$
        - name: network
          in: query
          description: >-
            Only addresses on this network (a network id from `GET
            /v1/currencies`, e.g. `ETHEREUM`).
          required: false
          example: BITCOIN
          schema:
            type: string
      responses:
        '200':
          x-apidog-name: OK
          description: >-
            The account's deposit addresses, ordered by currency. Empty when
            none has been generated.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required:
                    - currency
                    - network
                    - address
                    - destination_tag
                    - destination_tag_type
                    - created_at
                    - deposit_enabled
                  properties:
                    currency:
                      type: string
                      description: Currency code, e.g. `BTC`.
                    network:
                      type: string
                      description: >-
                        The network the address is on, as listed in the
                        currency's `networks` in `GET /v1/currencies`, e.g.
                        `BITCOIN` or `ETHEREUM`. Only send the currency on this
                        network.
                    address:
                      type: string
                      description: The deposit address.
                    destination_tag:
                      type: string
                      description: >-
                        The tag to send with every deposit to this address, on
                        networks that need one (e.g. XRP Ledger). A deposit
                        without it cannot be credited. `null` when the network
                        needs none.
                      nullable: true
                    destination_tag_type:
                      type: string
                      enum:
                        - memo
                        - message
                        - destinationTag
                        - null
                      description: >-
                        What the network calls the tag: `destinationTag` (XRP
                        Ledger), `memo` (Stellar, Cosmos Hub, EOS) or `message`
                        (NEM). `null` when the network needs none.
                      nullable: true
                    created_at:
                      type: string
                      format: date-time
                      description: When the address was generated (ISO 8601, UTC).
                    deposit_enabled:
                      type: boolean
                      description: >-
                        Whether deposits of the currency to this address are
                        currently accepted for your account. `false` when
                        deposits have been disabled since the address was
                        generated: the address stays yours, but a deposit to it
                        would not be credited until they are enabled again.
                  x-apidog-orders:
                    - currency
                    - network
                    - address
                    - destination_tag
                    - destination_tag_type
                    - created_at
                    - deposit_enabled
              examples:
                default:
                  summary: BTC and XRP addresses
                  value:
                    - currency: BTC
                      network: BITCOIN
                      address: bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh
                      destination_tag: null
                      destination_tag_type: null
                      created_at: '2026-11-04T10:00:00.000Z'
                      deposit_enabled: true
                    - currency: XRP
                      network: XRP_LEDGER
                      address: rDsbeomae4FXwgQTJp9Rs64Qg9vDiTCdBv
                      destination_tag: '1234567'
                      destination_tag_type: destinationTag
                      created_at: '2026-11-04T10:05:00.000Z'
                      deposit_enabled: true
                empty:
                  summary: No address generated yet
                  value: []
          headers: {}
        '400':
          x-apidog-name: Bad Request
          description: >-
            Invalid query parameters, or a currency or network that can't be
            deposited.
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                  - error_message
                properties:
                  error:
                    type: string
                    description: Stable error code.
                    enum:
                      - INVALID_CURRENCY
                      - INVALID_NETWORK
                      - CURRENCY_NOT_SUPPORTED
                      - NETWORK_NOT_SUPPORTED
                      - UNEXPECTED_PARAMETERS
                  error_message:
                    type: string
                    description: Human-readable description of the error.
                x-apidog-orders:
                  - error
                  - error_message
              examples:
                '3':
                  summary: INVALID_CURRENCY
                  value:
                    error: INVALID_CURRENCY
                    error_message: currency must be an upper-case currency code, e.g. BTC
                '4':
                  summary: INVALID_NETWORK
                  value:
                    error: INVALID_NETWORK
                    error_message: >-
                      network must be a network id from GET /v1/currencies, e.g.
                      ETHEREUM
                '5':
                  summary: CURRENCY_NOT_SUPPORTED
                  value:
                    error: CURRENCY_NOT_SUPPORTED
                    error_message: Deposits are not available for this currency
                '6':
                  summary: NETWORK_NOT_SUPPORTED
                  value:
                    error: NETWORK_NOT_SUPPORTED
                    error_message: >-
                      The currency cannot be deposited on this network; GET
                      /v1/currencies lists its networks
                '7':
                  summary: UNEXPECTED_PARAMETERS
                  value:
                    error: UNEXPECTED_PARAMETERS
                    error_message: Unexpected parameters were provided
          headers: {}
        '403':
          x-apidog-name: Forbidden
          description: >-
            Forbidden. Either the gateway rejected the token
            (`{"message":"Forbidden"}`), or the endpoint denied the request:
            `PERMISSION_DENIED` when the token has no exchange account;
            `SUBACCOUNT_NOT_SUPPORTED` for a subaccount token.
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    required:
                      - error
                      - error_message
                    properties:
                      error:
                        type: string
                        description: Stable error code.
                        enum:
                          - PERMISSION_DENIED
                          - SUBACCOUNT_NOT_SUPPORTED
                      error_message:
                        type: string
                        description: Human-readable description of the error.
                    x-apidog-orders:
                      - error
                      - error_message
                  - type: object
                    required:
                      - message
                    properties:
                      message:
                        type: string
                        description: Gateway rejection message.
                    x-apidog-orders:
                      - message
              examples:
                '9':
                  summary: PERMISSION_DENIED
                  value:
                    error: PERMISSION_DENIED
                    error_message: Permission denied
                '10':
                  summary: SUBACCOUNT_NOT_SUPPORTED
                  value:
                    error: SUBACCOUNT_NOT_SUPPORTED
                    error_message: >-
                      Deposit addresses belong to the main account; use a main
                      account token
                gateway:
                  summary: Gateway
                  value:
                    message: Forbidden
          headers: {}
        '429':
          x-apidog-name: Too Many Requests
          description: >-
            Rate limit exceeded. Limits are per account holder per minute: 600
            (retail), 2,000 (institutional), 10,000 (market maker).
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                  - error_message
                properties:
                  error:
                    type: string
                    description: Stable error code.
                    enum:
                      - TOO_MANY_REQUESTS
                  error_message:
                    type: string
                    description: Human-readable description of the error.
                x-apidog-orders:
                  - error
                  - error_message
              example:
                error: TOO_MANY_REQUESTS
                error_message: Too many requests
          headers: {}
        '500':
          x-apidog-name: Server Error
          description: Unexpected server error.
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                  - error_message
                properties:
                  error:
                    type: string
                    description: Stable error code.
                    enum:
                      - SERVER_ERROR
                  error_message:
                    type: string
                    description: Human-readable description of the error.
                x-apidog-orders:
                  - error
                  - error_message
              example:
                error: SERVER_ERROR
                error_message: An internal server error occurred
          headers: {}
      security:
        - bearer: []
      x-apidog-folder: One Trading Public REST API/Funding
      x-apidog-status: developing
      x-run-in-apidog: https://app.eu.apidog.com/web/project/349694/apis/api-4583748-run
components:
  schemas: {}
  securitySchemes:
    bearerAuth:
      type: bearer
      scheme: bearer
      description: >-
        API key issued to the account holder, sent as `Authorization: Bearer
        <token>`. The key must hold the `SUBACCOUNT_TRANSFER` scope.
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://api.onetrading.com/fast
    description: Production Env
security: []

```