π°Monetization
You can monetize your SwapKit integration and collect fees.
Last updated
You can monetize your SwapKit integration and collect fees.
To monetize your integration, follow the steps below to register and set up your affiliate configuration.
You can register yourself at SwapKit's dashboard and have your API key ready to use. If you need help through the process you can contact us here and schedule a short call with us.
Create an app and enter the Affiliate Config . You will be prompted to activate two-factor authentication, which is needed before you can set up affiliate configuration.

To use 2FA you will need an authenticator application. You should also store the recovery codes shown in case you lose access to your authenticator application.
General configuration allows you to set default fee tiers for all the different swap providers. It has settings for value ranges and the option to set up a specific fee tier for stablecoin swaps.

For each swap provider, you need to setup an address to collect the fees. You can use the same address for all of them but you need to register accordingly for each provider.
You can also define specific affiliate fee tiers in each provider configuration. These will override the general fee tiers.
When making requests to the /v3/quote endpoint, use the x-api-key header with the generated API key. The affiliate fee tier will be applied automatically, ensuring you earn the configured fees for each transaction.
There is no need to pass the specific affiliate settings when requesting a quote if it is already set up using our dashboard, but passing them will override any settings you have set up on the dashboard.
The affiliateFee you set on /v3/quote (or via the dashboard fee tiers) controls how much is charged per swap. This section covers what happens to those fees after they are charged.
SwapKit collects your fees and sends them to you automatically across all providers β you don't need to interact with any provider directly. What varies by provider is the asset your fees are paid in, and whether they're automatically converted to a preferred asset (only THORChain and Maya do this). The sections below cover each one.
THORChain
RUNE
Yes β auto-converts to your preferred asset (THORName); else RUNE
Maya
CACAO
Yes β auto-converts to your preferred asset (MAYAName); else CACAO
NEAR Intents
The asset being swapped (varies per swap)
No β paid in the asset earned
Jupiter
The swap's token (varies)
No β paid in the asset earned
1inch
The swap's token (varies)
No β paid in the asset earned
Garden
USDC (on Ethereum)
No β paid in USDC
Chainflip
USDC
No β paid in USDC
Flashnet
USDC (on Solana)
No β paid in USDC
Mayan
Varies by route β the token you receive or the token you sold, and it can land on different chains
No β you receive/withdraw whatever token accrued
Last updated

