Example. You set 50 bps. On a $10,000 swap your user pays a $50 fee. You receive $30 and RAVN
$20.
Set your fee
Any self-serve key can set its fee, from 0 to 100 bps (1%), with your secret key:Revenue share
On almost every venue the split is 60% to you, 40% to RAVN. A few venues take their own cut of the fee first, and the rest is split in the same proportion:
A few routes can’t carry a fee at all: Eco Routes from Solana or Bitcoin, Houdini Swap from
Bitcoin, and Layerswap from Bitcoin into WBTC. Their quotes show
fee.supported: false. In the
widget, swaps from Bitcoin carry no fee either.
NEAR Intents takes its own fee: 20 bps, or 1 bp when both tokens are stablecoins or the same
asset. A NEAR quote’s
fee shows the total, so it never reads bps: 0.- No fee of yours: users pay NEAR’s 20 bps.
- Public swaps with your fee: NEAR takes half of it, but at least 20 bps. From 40 bps (2 bps on those pairs) users pay exactly your fee. Below that they pay half your fee plus 20 bps: a 5 bps fee comes to 23.
- Private swaps: users pay your fee plus NEAR’s 20 bps.
The fee on each quote
Every quote, and each of itsalternatives, carries:
bps: the fee applied to this quote.0when your key has none or the route can’t carry it.amount: the fee intoken’s smallest unit. The quoted output is already net of it.token: the token the fee is taken in. Usually the output token, but some routes take it in the input token or in USDC on the destination chain, so read it from each quote.supported:falsewhen this route can’t carry a fee.
feeBps.
Getting paid
RAVN sells the fees it collects each day for their chain’s stablecoin: USDG on Robinhood Chain, USDT on BNB Chain and USDC elsewhere. Every Monday it pays your share of what they sold for, in that stablecoin on that chain: one transfer per chain, once your share there is worth $5. Fees not sold yet, and smaller shares, wait for a later week. Register a payout address per ecosystem withPATCH /v1/keys:
payoutAddresses.evm, .solana, .thorchain and .bitcoin. The weekly payout goes to your EVM
address, or your Solana address on Solana. Without one, that ecosystem’s balance accrues until you
add it.
- A new or changed payout address takes effect 24 hours after you set it. Until then payouts go to the previous address. This keeps a leaked key from redirecting your payouts.
- Use an EVM address you control on every chain you earn on. A contract wallet, such as a Safe, is paid only on chains where it’s deployed; on the others its payout waits.
- Only swaps that reached
settledcount, which is why you poll every swap to a final status. Sandbox swaps never count.
Fee by access path
Need custom terms or rate limits? DM @ravnexchange or reach out via
ravn.exchange.

