LogoLogo
SwapKit's websiteRegister for an API Key
  • 🏡Getting started
    • SwapKit's trade offerings
  • 💰Monetization
  • 🤝Partnership
  • SwapKit API
    • Introduction
    • /providers - Request supported chains by a swap provider
    • /tokens - Request supported tokens by a swap provider
    • /quote - Request a trade quote
    • /quote - Understanding the response
    • /chainflip/broker/channel - Opening a Chainflip deposit channel
    • /track - Request the status of a swap
    • /screen - Check AML compliance
    • /price - Lookup token prices
Powered by GitBook
On this page
  • Step 1: Register in the SwapKit Partner's Dashboard
  • Step 2: Configure the API Key
  • Step 3: Set Affiliate fee tiers
  • Step 4: Monetize API requests

Monetization

You can monetize your SwapKit integration and collect fees.

PreviousSwapKit's trade offeringsNextPartnership

Last updated 3 months ago

To monetize your integration, follow the steps below to register and set up your affiliate configuration.

Step 1: Register in the SwapKit Partner's Dashboard

You can register and manage your affiliate configuration in the .

  1. Create an account using:

    • Standard registration with email and password

    • Discord login

    • Google login

  2. Once logged in, generate an API key and name it.

Step 2: Configure the API Key

The API key must be configured with specific addresses to monetize the integration. After connecting your wallet, you should register an affiliate identifier for each of the three cross-chain providers:

  • THORName for THORChain

  • MAYAName for MAYAChain

  • Chainflip Broker for Chainflip

THORName and MAYAName

  • THORName and MAYAName are aliases to your address similar to ENS in the Ethereum chain. For our usecase, they must have a maximum of three characters, including letters and the characters -_+.

  • You can select a preferred asset among those traded on the respective provider so that the fees are automatically be received in that asset.

  • The payout address can be customized if you prefer a different address from the one that registered the alias.

Step 3: Set Affiliate fee tiers

You can define affiliate fee tiers in their configuration. Each fee tier is based on transaction value (in USD), and a different fee in basis points (bps) can be set for each tier. 1 bps equals 0.01%. The fee tiers can be applied globally or specifically for each provider.

Step 4: Monetize API requests

When making requests to the /quote or the /chainflip/broker/channel 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.

💰
SwapKit Partner's Dashboard
Example of tier settings.