TRON, TON and XRP Ledger included
One key and request format cover EVM, Solana, TRON, TON and XRP Ledger. The 1inch Classic Swap API covers none of TRON, TON or XRP Ledger and has no testnets (as of 25 October 2026).
DEX aggregator API New
One request format for EVM, TRON, Solana, TON and XRP Ledger. Your wallet signs; you pay per API call, not per trade. For wallets, payment providers, exchanges and fintech teams.
Non-custodial: MetaMask, TronLink, Phantom, Tonkeeper, Xaman or your backend signs. We never hold keys or funds.
Already on the RPC Gateway? Your project key and credits work here.
/v1/quoteExpected output
0.263157 ETH
10 mainnets · 7 testnets · one request format
10 + 7
From rehearsal to mainnet.
1
For EVM, TRON, Solana, TON and XRP Ledger.
$0.0011
One priced and built swap, paid from your API credits.
1 key
Same project. Same credit balance.
No fee taken from your swap. TRON, TON and XRP Ledger alongside EVM and Solana. And nothing to build or run yourself: pool indexes and liquidity integrations for ten networks, a routing and simulation engine, gas and energy models, router verification and five transaction formats are behind two HTTP calls.
The Swap API adds no fee of its own to the swap, so the API bill does not grow with trade size.
Quote + build$0.0001 + $0.001
No subscription, no separate plan: the RPC Gateway credits pay for it. Quotes cost less than builds, so build only the route your user confirms.
Example: 1,000,000 quotes and 100,000 builds a month cost $200 in credits. 1inch Startup covers 1 million calls for $149 to $199 a month and takes 7 to 20 bps of every swap on top: $7,000 to $20,000 on $10 million of monthly volume. 1inch x402 pay-per-call is $0.00024 a call with no swap fee. As of 25 October 2026.
Providers that take a fee from the swap · Jupiter (Solana only) and KyberSwap state no swap fee, see the table
Fees taken from the swap itself, from public pricing pages as of 25 October 2026 (OpenOcean: 26 October 2026). Fees vary by plan and pair; 0x also takes Trade Surplus, and 1inch takes none in x402 pay-per-call mode. Network and pool fees apply on every route and are not included.
One key and request format cover EVM, Solana, TRON, TON and XRP Ledger. The 1inch Classic Swap API covers none of TRON, TON or XRP Ledger and has no testnets (as of 25 October 2026).
Routes are ranked by net output: what lands in your wallet after network costs and an execution-risk penalty, not by the headline rate. Every build is simulated first; a failed simulation returns an error, never a transaction.
Take an on-chain partner fee: up to 100 bps on EVM networks, TRON and TON, up to 300 bps on Solana and XRP Ledger.
fee_bpsfee_recipientFrom a token pair to a settled swap in three steps. Only your wallet can authorize the transaction.
POST /v1/quoteSend the network, the two tokens and the amount. You get the expected output, the guaranteed minimum, every fee, the route and a risk score. Nothing is signed and nothing moves.
POST /v1/buildAdd the wallet address that will swap. Pools are re-read on a fresh block and the swap is simulated: a failed simulation returns an error, not a transaction. An approval or, on XRP Ledger, a trust line comes back as its own step before the swap.
your walletYour wallet or backend signs each step and sends it in the order returned, waiting for each to confirm. If a step is marked rebuild_after_previous, call build again first.
Plain HTTPS and JSON. The project key goes in the URL path, so there is no Authorization header to manage.
https://swap-api.crypto-chief.com/YOUR_API_KEY/v1/ # price 1,000 USDC → ETH on Ethereum
curl -X POST "https://swap-api.crypto-chief.com/YOUR_API_KEY/v1/quote" \
-H "Content-Type: application/json" \
-d '{
"network": "ETH_MAINNET",
"token_in": "USDC",
"token_out": "NATIVE",
"amount_in": "1000000000",
"slippage_bps": 50
}'{
"quote_id": "0b6f8c7e-6a43-4d0a-9d7e-3c2f5a1e9b10",
"amount_out": "263157894736842105",
"amount_out_human": "0.263157894736842105",
"amount_out_min": "261842105263157894",
"net_amount_out": "260971578947368421",
"price_impact_bps": 4,
"fees": {
"network": { "native_symbol": "ETH", "cost_usd": "8.21", … },
"pools": [ … ],
"service": { "bps": 0, "amount": "0" }
},
"route": { "splits": [ … ] },
"risk": { "level": "low", "score": 12, "factors": [ … ] },
"setup_required": true,
"expires_at": "2026-10-25T12:00:30Z"
}Expected output
0.263157 ETH
Route
Split across 2 pools
One quote answers what you get, what it costs and what can go wrong, before a transaction exists.
0x7a3…91c2Your walletConfirm 2 steps
Signed in your wallet. Keys never leave it.
The Swap API returns unsigned transactions and stops there: it does not sign, does not send and does not take custody. The swap settles on-chain between your address and the pools.
The checks the API runs before you sign, and the risks it measures but does not remove.
Pools are re-read on a fresh block and the swap is simulated. A failed simulation returns 422 SIMULATION_FAILED and no steps to sign; if it cannot run or finish, simulation.status says why.
You set the slippage: 50 bps (0.5%) by default, up to 5000. The quote turns it into amount_out_min, and below that minimum the transaction does not execute.
Router addresses and their runtime code are pinned and re-checked; a mismatch takes that router out of use. Approvals default to the exact amount.
Token traits such as transfer fees, rebasing, pausing or blacklists are flagged and counted in the execution-risk score of every quote.
Through the public mempool, the risk block can carry an mev_exposure factor with the estimated cost of a sandwich attack, counted against the route. Private submission is not offered.
Every quote carries expires_at. A quote is not a guarantee of execution: once you send, the network decides.
10 mainnets and 7 testnets under one request format and one key. Liquidity sources differ by network.
The request stays the same. Where the liquidity comes from, what your wallet signs and the partner fee depend on the network.
Six EVM mainnets in one request format. Whether you integrate it as an Ethereum, BSC, Polygon or Arbitrum swap API, only the network and the token addresses change.
Moving USDT on TRON too? TRON Energy rents energy for TRC-20 transfers so they stop burning TRX.
The same two calls, quote and build, behind four kinds of product.
The swap button is two calls: a quote to show the rate, the fees and the guaranteed minimum, then a build for a transaction in the format that wallet signs. The partner fee lets the feature earn its keep.
Convert the token a customer pays with into the one you settle in, from a treasury wallet whose keys you hold or from a Crypto Processing wallet: the Processing API signs and sends each step on EVM networks, TRON, TON and Solana.
Signing from a processing wallet: guide. Invoicing: Crypto Processing API. A PSP under your brand: Whitelabel Processing.
Offer an in-product convert feature without maintaining pool integrations for every network. One credit balance pays for this and your RPC Gateway traffic.
Screen counterparties with AML Intelligence where your compliance process requires it.
Token symbols instead of contract addresses, decimal amounts, one key for every network and transactions in the format a wallet signs. You still need a wallet or backend signer that holds the keys and sends each step.
Teams comparing swap APIs ask three things: what a call costs, what is taken from each swap and which networks are covered.
| Provider | Fee taken from the swap | How you pay | Networks | API key and access |
|---|---|---|---|---|
| Crypto Chief Swap APILive | None taken from the swap; network and pool fees are shown in every quote | Quote $0.0001, build $0.001 per call, from the credit balance shared with the RPC Gateway; no separate Swap API plan | 6 EVM networks plus TRON, Solana, TON and XRP Ledger, and 7 testnets | The project key (project UUID) in the URL path; the same key as the RPC Gateway |
| 1inch (Classic Swap API)Figures as of 24-25 October 2026 | 2 to 30 bps infrastructure fee taken from the swap output on the Dev to Business plans, by plan and pair; listed prices exclude it. None in x402 mode | Free Dev plan: 100,000 calls a month at 60 requests a minute. Startup $149 or $199, Professional $299 or $399, Business $599 or $799 a month, billed annually or monthly, for 1, 3 or 7 million calls. x402 pay-per-call: $0.00024 per Swap API call in USDC | 18 networks, including Base, zkSync, Gnosis and Linea; Solana is served through Intents and Cross-chain, not the Classic Swap API. TRON, TON, XRP Ledger and testnets are not in its support matrix | API key from the 1inch Business portal; new accounts pass KYC |
| 0x Swap APIFigures as of 25 October 2026 | 0.15% on selected pairs, plus Trade Surplus collection | Standard $1,000 and Enterprise $2,500; the billing period is not stated on the pricing page. 5 requests a second on Standard | 16 EVM networks on the Swap API product page; 0x docs describe liquidity across EVM, Solana, Tron and HyperCore, with Solana as a separate product and Tron in the Cross-Chain API | API key required |
| LI.FIFigures as of 25 October 2026 | 0.25% service fee per transaction; integrators can add their own fee | Standard plan free to integrate, up to 200 requests a minute; Enterprise by agreement | 60+ chains, including EVM networks, Solana, Tron, Sui and Bitcoin; mainly a bridge and DEX aggregation API | API key from the LI.FI Partner Portal |
| Jupiter Swap APIFigures as of 25-26 October 2026 | No Jupiter swap fee on the Swap API build endpoint; integrators can set a platform fee | Free tier at 1 request a second; Developer $25, Launch $100 and Pro $500 a month, for 10, 50 and 150 requests a second | Solana only | API key from the Jupiter developer platform |
| KyberSwap Aggregator APIFigures as of 26 October 2026 | KyberSwap states a 0% swap fee; integrator fees are configurable | Public access at 3 requests a second; higher limits through an API key from the KyberSwap team | 18+ EVM chains and 420+ DEXs for the Aggregator in its docs; Solana appears under Cross-chain Swaps, not the Aggregator | No key for public access; an X-Api-Key header unlocks higher limits |
| OpenOcean Swap APIFigures as of 26 October 2026 | Tiered trading fee on the public API: 0.01% stable, 0.1% correlated, 0.25% common and 0.5% exotic pairs; a referrerFee parameter for integrators | Public access at 2 requests a second; a 2-week trial under 10 requests a second and Pro terms through its team | 40+ networks, mostly EVM, plus Solana | The public API examples in its guide send no API key; Pro access through its team or developer portal |
| Velora Market API (formerly ParaSwap)Figures as of 26 October 2026 | Requests without a partner run as anon with a flat 1 bps fee; Market partner fees split 85% to the partner and 15% to Velora | Free partner ID at 1 request a second and 5,000 requests a day; Basic $500, Pro $700 and Enterprise $2,000 a month | EVM networks only, including Ethereum, BNB Chain, Polygon, Arbitrum One, Base and Avalanche | Free access identifies the integration with a partner string in the request, without signup; the free partner ID does not unlock partner fees |
Figures from each provider's public pages, checked on the date in its row. Network and pool fees are extra with every provider.
1inch sells monthly plans sized by call volume, takes an infrastructure fee from the swap output on those plans and asks new Business accounts to pass KYC (as of 25 October 2026). Here each call is paid from the project's credit balance, nothing is taken from the swap, and the key is the project UUID the RPC Gateway already uses.
0x API pricing combines a plan price with a 0.15% fee on selected pairs and Trade Surplus collection, so part of the cost grows with the size of each trade (as of 25 October 2026). A Crypto Chief call costs the same whatever the trade size: a quote $0.0001 and a build $0.001.
The Jupiter Swap API covers Solana only, and Crypto Chief Solana routes are built through it. LI.FI is mainly a bridge and DEX aggregation API; this Swap API keeps both tokens on one network and does not bridge. KyberSwap, OpenOcean and Velora offer public or partner access, mostly on EVM networks. Odos shut down its trading and API services in July 2026, so teams that used its API are choosing among the providers above.
Pass fee_bps and fee_recipient on a quote or build call and your fee is taken on-chain inside the swap transaction. Some providers call this an integrator fee.
0x7BE3a58eBe99a7946fe107378DE8775958C32FF9Calls are paid from the same project credit balance as the RPC Gateway, at 10,000,000 credits per US dollar. There is no separate Swap API plan, and the Swap API adds no fee of its own to the swap.
POST /v1/quotePOST /v1/buildPOST /v1/approve/spender, /v1/approve/allowance, /v1/approve/transactionPOST /v1/networks, /v1/tokens and /v1/liquidity-sourcesCredits are debited when a call is accepted, before the route is computed. A quote costs less than a build, so you can price many routes and build only the one your user confirms.
When a call fails for an availability reason your request could not cause: no response from the swap service, a 502 or 504, a 503 caused by network state on our side, or a 429 for too many calls in flight.
Errors the swap service returns for your request: every 4xx other than 429, including 422 NO_ROUTE, 422 INSUFFICIENT_LIQUIDITY and 422 SIMULATION_FAILED, as well as 500 errors and calls you cancel yourself.
Calls turned away for missing credits or rate limits before the debit cost nothing.
Already on the RPC Gateway?
Your project key and credits already work here. Credit plans and top-ups are on the pricing page.
Networks, keys, billing, safety and how the Swap API compares with other DEX aggregator APIs.
Register, create a project and send your first quote. The same key and credit balance work for the RPC Gateway.