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

# Estimate fee



## OpenAPI

````yaml /coins/api-reference/openapi.json get /crypto-withdrawals/fee
openapi: 3.1.0
info:
  contact:
    email: support@daya.co
    name: API Support
  description: >-
    Public developer API for the Coins by Daya product. X-API-Key authenticated.
    Market data, portfolio, balances, transactions, order placement, crypto and
    fiat withdrawals. All responses use the standard envelope: { success,
    message?, data?, error?, timestamp }.
  title: Daya Coins Public API
  version: 1.0.0
servers:
  - url: https://api.daya.co/coins/v1
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /crypto-withdrawals/fee:
    get:
      tags:
        - coins-crypto-withdrawals
      summary: Estimate fee
      operationId: getCryptoWithdrawalsFee
      parameters:
        - description: Asset symbol (e.g. BTC)
          in: query
          name: asset
          required: true
          schema:
            type: string
        - description: Chain (e.g. bitcoin)
          in: query
          name: chain
          required: true
          schema:
            type: string
        - description: Destination address
          in: query
          name: address
          required: true
          schema:
            type: string
        - description: Amount to withdraw
          in: query
          name: amount
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                allOf:
                  - $ref: >-
                      #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.Envelope
                  - properties:
                      data:
                        $ref: >-
                          #/components/schemas/internal_publicapi_v1.PublicFeeEstimate
                    type: object
          description: Network fee estimate
        '401':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.Envelope
          description: Missing or invalid API key
        '422':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.Envelope
          description: Validation error
components:
  schemas:
    github_com_dayacoins_daya-coins-service_pkg_response.Envelope:
      properties:
        data: {}
        error:
          $ref: >-
            #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.ErrorData
        message:
          description: Message is an optional banner/toast string.
          type: string
        success:
          type: boolean
        timestamp:
          type: string
      type: object
    internal_publicapi_v1.PublicFeeEstimate:
      properties:
        fee_currency:
          example: USD
          type: string
        fee_value:
          example: '0.65'
          type: string
        network_fee:
          example: '0.0002'
          type: string
      type: object
    github_com_dayacoins_daya-coins-service_pkg_response.ErrorData:
      properties:
        code:
          type: string
        details: {}
        fields:
          additionalProperties:
            type: string
          type: object
        message:
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: >-
        Your Daya API key, sent in the X-API-Key header. Issue and scope keys in
        the Daya dashboard.
      in: header
      name: X-API-Key
      type: apiKey

````