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

# Get crypto deposit address

> Returns the deposit address for a requested chain and creates it when it does not already exist. Production requires approved KYB before existing details are returned or a new address is provisioned. Store the chain and address together, and display the returned route exactly.



## OpenAPI

````yaml /openapi/openapi.json get /partner/wallets/crypto/address
openapi: 3.1.0
info:
  title: Stabyl API
  description: >-
    REST API for approved Stabyl accounts to automate exchange, wallet, and
    non-production simulation workflows.
  contact:
    name: Stabyl Support
    email: support@stabyl.com
  license:
    name: Proprietary
  version: 1.0.0
servers:
  - url: https://api.stabyl.com/v1
    description: Production
  - url: https://api-staging.stabyl.com/v1
    description: Staging
security: []
tags:
  - name: Exchange
    description: Trading market data and order management for account automation.
  - name: Wallets
    description: >-
      Supported routes, deposit destinations, balances, transactions, and saved
      recipients.
  - name: Webhooks
    description: >-
      Outbound event delivery configuration and eventually consistent delivery
      history. Verify Standard Webhooks webhook-id, webhook-timestamp, and
      webhook-signature headers against the unchanged raw request body before
      parsing JSON.
  - name: Simulation
    description: Non-production endpoints for testing integration behavior.
paths:
  /partner/wallets/crypto/address:
    get:
      tags:
        - Wallets
      summary: Get crypto deposit address
      description: >-
        Returns the deposit address for a requested chain and creates it when it
        does not already exist. Production requires approved KYB before existing
        details are returned or a new address is provisioned. Store the chain
        and address together, and display the returned route exactly.
      operationId: get_partner_wallets_crypto_address
      parameters:
        - name: chain
          in: query
          description: >-
            Blockchain route family returned by `GET /partner/wallets/chains`,
            for example `tron`, `ethereum`, or `solana`.
          required: true
          schema:
            $ref: '#/components/schemas/WalletChain'
          example: tron
        - name: slug
          in: query
          description: >-
            Optional exact network slug when a route family has multiple
            supported networks.
          required: false
          schema:
            type:
              - string
              - 'null'
      responses:
        '200':
          description: Deposit address
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/WalletAddressResponse'
                  status:
                    type: string
                    enum:
                      - success
              example:
                data:
                  address: TQn9Y2khEsLM5xk6E8hD4fQv3BpD5V6m7N
                  chain: tron
                  memo: null
                  slug: tron
                status: success
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                    properties:
                      code:
                        type: string
                        example: UNAUTHORIZED
                      message:
                        type: string
                        example: missing X-Api-Key header
                  status:
                    type: string
                    enum:
                      - error
              example:
                error:
                  code: UNAUTHORIZED
                  message: missing X-Api-Key header
                status: error
        '403':
          description: Approved KYB required in production
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                    properties:
                      code:
                        type: string
                        example: FORBIDDEN
                      message:
                        type: string
                        example: request is not allowed
                  status:
                    type: string
                    enum:
                      - error
              example:
                error:
                  code: FORBIDDEN
                  message: request is not allowed
                status: error
      security:
        - api_key: []
components:
  schemas:
    WalletChain:
      type: string
      description: Supported blockchain route family for stablecoin deposits.
      enum:
        - evm
        - tron
        - solana
    WalletAddressResponse:
      type: object
      description: Deposit address for a requested blockchain route.
      required:
        - chain
        - address
      properties:
        address:
          type: string
          description: Deposit address
          example: 0x1234567890abcdef...
        chain:
          $ref: '#/components/schemas/WalletChain'
          description: Blockchain network
        memo:
          type:
            - string
            - 'null'
          description: Memo/tag for networks that require it
        slug:
          type:
            - string
            - 'null'
          description: Exact blockchain route slug when the route is network-specific.
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: X-Api-Key
      description: >-
        API credential. Withdrawal quote and submit operations additionally
        require the documented Ed25519 timestamp, nonce, and signature headers.
      x-default: sb_test_your_key

````