1. Get Your API Key
- Sign up or log in at the LeoKit Dashboard
- Navigate to API Keys → Create New Key
- Copy your key (keep it secret!)
2. Make Your First Quote
Use the/quote endpoint to fetch real-time routes:
3. Display & Execute
- Parse the response for best route (sort by expectedAmountOutNum or flags)
- Show users the quote with your custom fee applied
4. Set Your Fees & Address to Receive Them
https://leokit.dev/assets/fees-screenshot_1767462365419-Do79Bq68.png To earn on your swaps, use LeoKit’s dashboard to:- Set your fee rate (how much you’ll charge your users)
- Set the address(es) you’ll earn fees into