Earn on every swap your users make.
Add swaps to your wallet, app or bot with one API. We take only 0.1% per swap, where other swap APIs take 0.15% to 0.25%. Your own fee goes on top, paid to you in the same transaction.
Three steps, one transaction
Your app asks, your user signs once, and everyone is paid inside that same transaction.
- 1Ask for a quote
Send the tokens, the amount and your fee to GET /v1/quote.
- 2Your user signs once
The answer is a ready transaction. Your user signs it in their own wallet.
- 3Everyone is paid
Your user gets the output, your fee goes to your wallet, the router keeps 0.1%.
A lower fee than other swap APIs
On a $10,000 swap the router takes $10, where other swap APIs take $15 to $25. The difference stays with your user, or becomes room for your own fee.
What other swap aggregator APIs take for themselves on a swap, as their own docs publish it. Your fee is separate, and all yours.
Your fee, paid on-chain
Set your fee from 0 to 0.9%. It reaches your wallet in the trade itself: no invoice, nothing to claim. For example, a $1,000 swap at 0.5% pays you $5.
Built for integrators
- One API: the same request and answer on every network.
- Paid on-chain: your fee lands in your wallet inside the trade. Nothing to claim.
- Non-custodial: no funds held, nothing upgradeable, 2-day delay on any change.
- Verified: contract source verified on the explorers.
curl "https://api.soheil.fi/v1/quote?fromChainId=8453&toChainId=8453\
&fromToken=0x8335…2913&toToken=0x0000…0000\
&fromAmount=100000000&fromAddress=0xYourUser" \
-H "x-api-key: sk_…"Live on
The same contract and the same API on each network.
Loading networks…
Start earning on every swap
- Your fee, paid to you in every trade
- 60 requests a minute to start, more on request
- The same key on every network
Questions? Write to developers [at] soheil.fi