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

# Query All Market Fees



## OpenAPI

````yaml /openapi/private/http-trade-v4.yaml GET /api/v4/market/fee
openapi: 3.0.3
info:
  title: Private HTTP API V4 - Collateral Trading
  description: |
    WhiteBIT Private HTTP API V4 for collateral/margin trading operations.

    Base URL: https://whitebit.com

    All endpoints return time in Unix-time format.
    All endpoints return either a JSON object or array.
    For receiving responses from API calls please use http method POST.

    Authentication required for all endpoints.
  version: 4.0.0
  license:
    name: WhiteBIT Terms of Service
    url: https://whitebit.com/terms
servers:
  - url: https://whitebit.com
    description: WhiteBIT Global Server
  - url: https://whitebit.eu
    description: WhiteBIT EU Server
security: []
tags:
  - name: Collateral Trading
    description: Endpoints for collateral/margin trading operations
  - name: Spot Trading
    description: Endpoints for spot trading operations
  - name: Market Fee
    description: Endpoints for querying trading fees
paths:
  /api/v4/market/fee:
    get:
      tags:
        - Market Fee
      summary: Query All Market Fees
      description: >
        Returns maker and taker fees for all markets, including assigned custom
        fees.


        The `maker` and `taker` fields represent default spot trading fees.


        The `futures_maker` and `futures_taker` fields represent effective
        futures fees. The effective futures fee equals the lower value between
        the assigned custom fee and the default market fee.


        The `custom_fee` object contains market-specific custom spot fees.
      operationId: getAllMarketFees
      parameters: []
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                x-fern-type-name: GetAllMarketFeesResponse
                properties:
                  error:
                    type: string
                    nullable: true
                    example: null
                  taker:
                    type: string
                    description: Default taker fee percentage
                    example: '0.1'
                  maker:
                    type: string
                    description: Default maker fee percentage
                    example: '0.1'
                  futures_taker:
                    type: string
                    description: Futures taker fee rate (default or custom if assigned)
                    example: '0.0002'
                  futures_maker:
                    type: string
                    description: Futures maker fee rate (default or custom if assigned)
                    example: '0.0001'
                  custom_fee:
                    type: object
                    description: Custom fees for specific markets
                    additionalProperties:
                      type: array
                      items:
                        type: string
                      minItems: 2
                      maxItems: 2
                      description: '[maker fee, taker fee]'
                    example:
                      BTC_USDT:
                        - '0.1'
                        - '0.2'
                      ETH_USDT:
                        - '0.1'
                        - '0.2'
        '422':
          description: Validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        code:
          type: integer
          description: Error code
          example: 30
        message:
          type: string
          description: Error message
          example: Validation failed
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Detailed error information
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-TXC-APIKEY
      description: |
        API Key authentication for private endpoints.

        Required headers:
        - X-TXC-APIKEY: API key
        - X-TXC-PAYLOAD: Base64 encoded JSON payload
        - X-TXC-SIGNATURE: HMAC SHA512 signature

````