Partners
Get paid for the swaps you send us
Quoting stays free and keyless — nothing here is required to use the SDK. This is only for taking a cut. There is no signup and no API key: you tell us where to be paid, and a contract does the paying.
Pay me at
Your fee
The person swapping pays 80 bps (0.80%) in total. The contract pays 62.5% of that to you and 37.5% to SwapsPro — which is exactly 50 and 30 basis points. On a $1,000 swap you receive $5.00.
Then pass it to the SDK
import { SwapsPro } from "@swapspro/sdk";
const swaps = new SwapsPro({
partner: "0xYourPayoutAddress",
partnerFeeBps: 50,
});Every quote comes back with a partnerFee block saying whether the route could carry your fee and where it actually landed. Until the split exists on that chain, it says so plainly and the fee goes to SwapsPro — paidToPartner: false.
Same-chain EVM routes filled by 0x or CoW pay your split directly. LI.FI registers one fee wallet per integrator rather than accepting one per request, so those routes cannot; Bitcoin, THORChain and Hive have no split contract at all. The response tells you which case you are in every time.