Developers
Swap widget & API
Embed KAIRO Swap on your site or quote Arc swaps through the KAIRO API — and earn 20% of the KAIRO fees your users pay.
1. Embed the swap widget
Pick your token, look and referral code, then paste the code on your site. Users trade from their own wallet.
2. Quote API
Live, executable quotes from the same route engine that powers KAIRO Swap (Uniswap V3 + V4 on Arc, best route, price impact, minimum received). Send your key in the x-api-key header.
curl "https://kairo.market/api/public/v1/swap/quote?tokenIn=<USDC>&tokenOut=<TOKEN>&amountIn=1000000&slippageBps=50" \ -H "x-api-key: kairo_…"
Amounts are in the token's smallest units. Quotes only — the trade itself is always signed by the user's own wallet.
Connect your wallet to create an API key.
3. Earn 20% of the fees
- Get your referral code on the Referral program page.
- Put it in your widget (
ref=) or send users to the referral link the API returns. - Each new user confirms the link once with a free signature; from then on 20% of every KAIRO fee they pay goes to you, paid weekly.