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

# Builder integration

> Add swaps, attribute trades and earn builder fees.

1. Sign in at [build.route.fun](https://build.route.fun), name your workspace and create an API key.
2. In payout settings, register your generated builder ID, payout wallet and fee onchain.
3. Request a [builder quote](/api-reference/v2-builders-quote), then [prepare the swap](/api-reference/v2-builders-swap) with the same key.
4. Let the user review, approve and sign. [Verify the receipt](/api-reference/v2-builders-receipts) afterward.

Builder fees are separate from Route fees and capped at **50 bps (0.5%)**. Omit `builderFeeBps` to use the registered default. Amounts use token base units; `amountOut` is after both fees.

Keep API keys on your backend. The public `builderCode` is attribution, not authentication. Quotes and preparations belong to the key that requested them; workspace keys share plan limits.

Builder settlement currently supports ordinary EOA wallets. Delegated and contract wallets are not supported yet.

[Swap example](/cookbook/builder-swap) · [Plans](/api-reference/plans) · [Experimental widget](/cookbook/embed-widget)
