
One API for best-price token swaps across 20+ EVM chains and Solana, with built-in fee collection.

0x Swap API lets a wallet, exchange or app offer token swaps inside its own product. The app asks for a price or a firm quote, and the API returns the best route plus an unsigned transaction the user signs and submits; on Solana it returns swap instructions the app composes into its own transaction.
It is a DEX aggregation and smart order routing service. The docs say it sources prices from 150+ public and private liquidity providers, including off-chain RFQ quotes from market makers that settle with zero slippage, and 0x's Argon Router splits orders across multihop and multiplex routes. Settlement runs through 0x's Settler contracts, with token approvals set on AllowanceHolder (recommended) or Permit2 rather than on the settlement contract. Responses flag allowance and balance issues before the user signs.
For teams that do not want to integrate and maintain dozens of DEXs per chain, it is one integration with monetization built in: integrators set their own fee, collected in the buy or sell token, including fees split across multiple recipients. A companion Trade Analytics endpoint returns historical trades with USD values for fees, slippage and settled amounts for reporting.
The EVM version is live on Ethereum, Base, Arbitrum One, BNB Smart Chain, Polygon, OP Mainnet and the other chains in the supported-chains table. The Solana Swap API has been in public beta since August 4, 2026. Start by creating an API key in the 0x Dashboard and following the docs or the 0x-examples repo.
Key features
0x Swap API is a Developer Tooling project. One API for best-price token swaps across 20+ EVM chains and Solana, with built-in fee collection.
0x Swap API is built by 0x. The product is at the mainnet stage.
0x Swap API is connected to Ethereum Foundation, Base, Arbitrum Foundation, BNB Chain and Polygon Labs on Dapping. Its categories are 0x, defi and swaps.
0x Swap API has no builder reviews on Dapping yet, so it carries no rating. Reviews are written by individual builders, and moderated or removed reviews are excluded from the rating.
0x Swap API is not currently marked verified on Dapping. Any token or contract details shown for 0x Swap API are inspection context only. Verification is an identity signal, not an audit, an endorsement, or investment advice. Check official links, contract addresses, permissions and audits independently before interacting.