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

# Builder Fees on Derive

> Charge an extra_fee on orders your users submit and receive it directly to your Derive Wallet on a 4-week cycle.

Builders can charge their users a **builder fee** (the `extra_fee` field on orders and quotes) on top of exchange fees. The full builder fee is passed directly to the builder's Derive Wallet once every four weeks, in addition to any [API Broker rewards](/integrators/programs/api-broker-program) that the same referral generates.

Builder fees are charged on top of standard exchange fees, API Broker fees, and market maker rebates. They do not replace or reduce any of them.

## Setup

<Steps>
  <Step title="Register for the API Broker program">
    Complete the [API Broker application form](https://docs.google.com/forms/d/e/1FAIpQLSe7FD6NIk6fzT0tOoOsS6jlQP1wP0RUkdiAcxseKjQzmZxy-A/viewform?usp=preview). Registering for the broker program automatically enables the builder fee feature on your account.

    You will start generating both API Broker fees and builder fees as soon as you begin sending orders with your referral code, even before your application is fully approved.
  </Step>

  <Step title="Set referral_code and extra_fee on orders">
    Pass your referral code and the fee you want to charge on every order or quote:

    * `referral_code` is **case sensitive**.
    * `extra_fee` must be between **0.000001 and 1,000 USDC**.

    See the [API Broker Program page](/integrators/programs/api-broker-program) for how to find your referral code.
  </Step>
</Steps>

## Where extra\_fee is accepted

The `extra_fee` field is available on every order-writing and RFQ method. You must set both `extra_fee` **and** `referral_code` for the builder fee to be paid.

<CardGroup cols={2}>
  <Card title="Orders" icon="arrow-right-arrow-left">
    `private/order`, `private/replace`
  </Card>

  <Card title="Algo and trigger orders" icon="timer">
    `private/algo_order`, `private/trigger_order`
  </Card>

  <Card title="RFQ workflow" icon="handshake" href="/trading/rfq">
    `private/send_rfq`, `private/rfq_get_best_quote`
  </Card>
</CardGroup>

## Viewing your rewards

Both API Broker fees and builder fees are visible on the same dashboard:

* Open the [Broker dashboard](https://pro.derive.xyz/broker).
* Type in your referral code (case sensitive).

Extra fees and API Broker rewards are distributed to the Derive Wallet you listed on the API Broker application once every four weeks.

## Related

<CardGroup cols={2}>
  <Card title="API Broker Program" icon="users" href="/integrators/programs/api-broker-program">
    Fee-share tiers, how to find your referral code, and reward calculation.
  </Card>

  <Card title="Trading Fees" icon="receipt" href="/integrators/trading/trading-fees">
    Base fees the builder fee is added on top of.
  </Card>
</CardGroup>


## Related topics

- [Trading Fees on Derive: Maker, Taker, RFQ, and Liquidation](/integrators/trading/trading-fees.md)
- [API Broker Program: Earn Fee Share on Referred Trades](/integrators/programs/api-broker-program.md)
- [Integrators and Market Makers](/integrators/introduction.md)
