Get an API key
Register and generate a key in a minute. The free plan needs no approval.
Quickstart
Your first quote and swap on mainnet in five minutes.
API Reference
Every endpoint, request and response.
Monetize your flow
Set a partner fee on your swaps and get your share in USDC every month.
What you get
- Best execution across Stellar. Every quote prices the Soroban venues and, when you ask for it, the classic order book. A single trade can split across several pools and hops. See supported venues.
- Gasless trustline. A user who has never held the output asset, and has no XLM to open a trustline, can still receive it in one swap: a sponsor account you control pays for the trustline. See Gasless Trustline.
- Revenue on every swap. Configure a partner fee once on your account. It is collected on-chain and settled to you in USDC each month, with a statement per token. See Fees and revenue share.
- Two ways to execute. Let the API build the transaction for your user to sign, or take the route and execute it from your own Soroban contract. See Quickstart.
How to start
- Register and generate an API key (it starts with
sk_). - Call
POST /quotewith the two assets, the amount and the venues you want inprotocols. - Call
POST /quote/buildto get the transaction, have your user sign it, and submit it withPOST /send.
https://api.soroswap.finance for both mainnet and testnet; pick the network
with ?network=. Request limits depend on your plan, see Plans and rate limits.