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

# Get the configured and on-chain approved builder fees for the user's broker

> Returns `brokerMaxFees` — the builder fee (bps) configured for this user in the brokerExchange table — and `approvedMaxFees` — the builder fee (bps) currently approved on the exchange for that broker. Both are null when no broker is configured for the user; `approvedMaxFees` is also null when nothing is approved for the configured broker.



## OpenAPI

````yaml https://vooi-api-app.fly.dev/swagger/json get /exchange/broker/approved
openapi: 3.1.0
info:
  title: VOOI API
  description: Unified perps API
  version: '1.0'
  contact: {}
servers:
  - url: https://perps-api.vooi.io
security: []
tags: []
paths:
  /exchange/broker/approved:
    get:
      tags:
        - Exchange / Broker
      summary: >-
        Get the configured and on-chain approved builder fees for the user's
        broker
      description: >-
        Returns `brokerMaxFees` — the builder fee (bps) configured for this user
        in the brokerExchange table — and `approvedMaxFees` — the builder fee
        (bps) currently approved on the exchange for that broker. Both are null
        when no broker is configured for the user; `approvedMaxFees` is also
        null when nothing is approved for the configured broker.
      operationId: ExchangeBrokerController_getBrokerMaxFees
      parameters:
        - name: exchange
          required: true
          in: query
          schema:
            type: string
            enum:
              - aster
              - binance
              - bybit
              - extended
              - gate
              - hyperliquid
              - lighter
              - mexc
              - ondo
              - robinhood
          description: Target exchange whose configured broker approval status is checked.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrokerApprovedResponseDto'
        '503':
          description: ExchangeApiError
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDTO'
      security:
        - bearer: []
components:
  schemas:
    BrokerApprovedResponseDto:
      type: object
      properties:
        approvedMaxFees:
          description: >-
            Builder fee (in basis points) currently approved on the exchange for
            the configured broker, or null when no broker is configured or
            nothing is approved.
          type:
            - string
            - 'null'
        brokerMaxFees:
          description: >-
            Builder fee (in basis points) configured for this user in the
            brokerExchange table, or null when no broker is configured.
          type:
            - string
            - 'null'
      required:
        - approvedMaxFees
        - brokerMaxFees
      title: BrokerApprovedResponse
    ErrorResponseDTO:
      type: object
      properties:
        message:
          type: string
          example: 'Invalid order id: 123'
        statusCode:
          example: 503
          type: number
      required:
        - message
      title: ErrorResponse
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.