> For the complete documentation index, see [llms.txt](https://www.aevo.xyz/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.aevo.xyz/docs/trading-and-staking-rewards/aevo-builder-codes.md). Agents can also search and read this documentation through its [MCP server](https://www.aevo.xyz/docs/~gitbook/mcp).

# Builder Codes

## Build on Aevo, earn on the trades you route

A **builder** is any application that routes trades to Aevo: a trading terminal, a bot, a wallet, a portfolio app, or an AI agent. Builder Codes let a builder charge a fee on the perpetual and option trades it places for its users.

Users stay in control. A builder can charge a user only after that user approves it, and only up to the maximum the user approved.

***

## How it works

1. **A builder registers.** A main Aevo account holding at least 100 USDC registers a builder in the app or through the API. Aevo generates a `builder_id`, and that account becomes the builder's fee account.
2. **A user approves the builder** once, with a wallet signature that sets the maximum fee rate, for example 5 bps (0.05%).
3. **The builder's app places the user's orders** with its `builder_id` and a fee rate at or below that maximum.
4. **On each fill,** the user pays the builder fee in USDC to the builder's fee account. Aevo's trading fee is a separate charge.

***

## Highlights

* **Perpetuals and options.** Builder fees work on both. On options, the builder fee uses the same two-part formula as Aevo's own options fee, with a lower cap: 5% of the premium, against 12.5% for Aevo's fee. See [Perpetuals vs Options Fees](https://www.aevo.xyz/docs/trading-and-staking-rewards/aevo-builder-codes/perps-vs-options-fees.md).
* **Per-order pricing.** A builder sets its fee rate on each order, within the user's approved maximum and Aevo's cap. The cap is **5 bps of notional on perpetuals**. On options it is **3 bps of index notional or 5% of the premium, whichever is smaller**.
* **User-controlled.** Users see and revoke their approvals under **Settings → Builders → Connected Builders**.
* **Built-in analytics.** Builders get a dashboard and a reporting API covering volume, fees, traders, markets, and individual fills, with a CSV export for reconciliation.
* **Self-service.** Registration needs no application and no manual onboarding.

***

## Terms used in this section

| Term           | Meaning                                                                               |
| -------------- | ------------------------------------------------------------------------------------- |
| bps            | Basis points. 1 bps is 0.01%, so 5 bps is 0.05%.                                      |
| Notional       | Trade price × number of contracts.                                                    |
| Index notional | The underlying asset's index price × number of contracts. Option fees use this basis. |
| Premium        | The price of an option.                                                               |
| Fill           | One execution of an order. A large order can fill in several parts.                   |
| Resting order  | An order waiting on the order book for a match.                                       |
| Fee account    | The Aevo account that registered the builder. Aevo credits the builder's fees to it.  |

***

## Get started

* **Building an app?** See [For Builders](https://www.aevo.xyz/docs/trading-and-staking-rewards/aevo-builder-codes/for-builders.md).
* **Trading through an app?** See [For Traders](https://www.aevo.xyz/docs/trading-and-staking-rewards/aevo-builder-codes/for-traders.md).
* **Integrating?** See the [Builder Codes API reference](https://www.aevo.xyz/docs/api-reference/builder-codes.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.aevo.xyz/docs/trading-and-staking-rewards/aevo-builder-codes.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
