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

# Get withdrawal limits

> Get the per-request and daily withdrawal limits for your Broker.

Get the per-request and daily withdrawal limits for your Broker.

> [!NOTE]
>
> Use a Broker API Key. This endpoint reads Broker configuration and does not require X-User-Wallet-Address. See [Broker API Key and signing](https://dexbuilder.mintlify.site/en/api-reference/common/broker-authentication.md).

## Usage notes

* `once` and `day` are limits denominated in USDT. Optionally pass `network` to query `min_withdraw` for that network; the field is omitted when no network is specified. Pass the required `x-perp-device-type` header; see [Platform API authentication](https://dexbuilder.mintlify.site/en/api-reference/dexbuilder/authentication.md).


## OpenAPI

````yaml openapi/dexbuilder-en.yaml GET /api/v4/dexbuilder/withdraw_limit
openapi: 3.0.3
info:
  title: DexBuilder Platform Broker API
  version: 1.0.0
  description: >-
    DexBuilder Platform Broker API for asset configuration, user queries,
    deposits, and withdrawals. See the shared gateway documentation for
    authentication and wallet verification.
servers:
  - url: https://api.dexbuilder.com
security: []
paths:
  /api/v4/dexbuilder/withdraw_limit:
    get:
      tags:
        - Asset configuration
      summary: Get withdrawal limits
      description: Return the withdrawal limits for the current Broker.
      operationId: getDexBuilderWithdrawLimit
      parameters:
        - $ref: '#/components/parameters/DeviceType'
        - name: network
          in: query
          required: false
          description: 'Network identifier: base, bsc, ethereum, solana, or arbitrum.'
          schema:
            $ref: '#/components/schemas/OpenAPIChainId'
      responses:
        '200':
          description: Query successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvelopePerpWithdrawLimit'
        '401':
          $ref: '#/components/responses/GatewayUnauthorized'
        '403':
          $ref: '#/components/responses/ProjectAccessDenied'
      security:
        - BrokerAPIKey: []
          Timestamp: []
          Signature: []
components:
  parameters:
    DeviceType:
      name: x-perp-device-type
      in: header
      required: true
      description: >-
        DexBuilder device type: 1 Android, 2 iOS, 3 WEB. A missing or invalid
        value returns INVALID_DEVICE_TYPE. Required only on the platform
        endpoints that specify this header.
      schema:
        type: string
        enum:
          - '1'
          - '2'
          - '3'
      example: '3'
  schemas:
    OpenAPIChainId:
      type: string
      enum:
        - base
        - bsc
        - ethereum
        - solana
        - arbitrum
      description: 'Network identifier: base, bsc, ethereum, solana, or arbitrum.'
      example: ethereum
    EnvelopePerpWithdrawLimit:
      allOf:
        - $ref: '#/components/schemas/EnvelopeBase'
        - type: object
          properties:
            data:
              $ref: '#/components/schemas/PerpWithdrawLimitResponse'
    EnvelopeBase:
      type: object
      properties:
        code:
          type: integer
          example: 0
          description: Business code; 0 indicates success
        message:
          type: string
          example: success
          description: Human-readable message; success responses use success
        reason:
          type: string
          description: Error reason identifier; usually empty on success
        trace_id:
          type: string
          description: Trace ID to provide when requesting support
    PerpWithdrawLimitResponse:
      type: object
      properties:
        once:
          type: string
          description: Maximum amount per withdrawal, as a USDT decimal string
          example: '50000'
        day:
          type: string
          description: >-
            Maximum cumulative withdrawal amount per calendar day, as a USDT
            decimal string
          example: '100000'
        min_withdraw:
          type: string
          description: Minimum withdrawal amount in display token units, when configured.
          example: '20'
    ErrorEnvelope:
      allOf:
        - $ref: '#/components/schemas/EnvelopeBase'
        - type: object
          required:
            - label
          properties:
            label:
              type: string
              description: Stable machine-readable error label
            data:
              nullable: true
              description: Usually null on error
  responses:
    GatewayUnauthorized:
      description: Invalid Broker API Key, signature, or timestamp
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          examples:
            invalidKey:
              summary: Invalid API Key
              value:
                label: INVALID_KEY
                message: Invalid key provided
                code: 401
                trace_id: abc123
            invalidSignature:
              summary: Invalid signature
              value:
                label: INVALID_SIGNATURE
                message: Invalid signature
                code: 401
                trace_id: abc123
    ProjectAccessDenied:
      description: Project not bound, or Broker and API Key do not match
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          example:
            code: 40300801
            reason: P_DEX_BUILDER_IN_PROJECT_ACCESS_DENIED
            label: PROJECT_ACCESS_DENIED
            message: project access denied
            data: null
  securitySchemes:
    BrokerAPIKey:
      type: apiKey
      in: header
      name: KEY
      description: Broker API Key
    Timestamp:
      type: apiKey
      in: header
      name: Timestamp
      description: Unix timestamp in seconds
    Signature:
      type: apiKey
      in: header
      name: SIGN
      description: Hexadecimal HMAC-SHA512 signature generated with the Broker Secret Key

````

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