Products
Embed swaps in your app
Swap
API
Build on Solana
Coming soon
Solana
API
Any token, any chain
Coming soon
Cross-Chain
API
Simplify DeFi with gasless swaps
Gasless
API
Unlock powerful trade insights
Trade Analytics
API
Solutions
Embed swaps in your wallet
Wallets
Solutions
Bring onchain markets to your exchange
Exchanges
Embed swaps in your wallet
Coming soon
Wallets
Settle payments onchain
Coming soon
Payments
Deep liquidity for stablecoins
Coming soon
Stablecoins
.png)
Compliant real-world assets
Coming soon
RWAs
Resources
Industry reports
The SocialFi Shift Monetization across DeFi The Onchain Trading Opportunity
Latest 0x news
Blog
Developers
Get Started
Swap API Cross-Chain API Solana API
Guides
Build a token swap Monetize your app
Video tutorials
Swap API Gasless API Trade Insights
API Status API Reference Help Center
Full documentation to start integrating
Documentation
Products
Embed swaps in your app
Swap
API
Build on Solana
Solana
API
Any token, any chain
Cross-Chain
API
Simplify DeFi with gasless swaps
Gasless
API
Unlock powerful trade insights
Trade Analytics
API
Solutions
Embed swaps in your wallet
Wallets
Solutions
Bring onchain markets to your exchange
Exchanges
Embed swaps in your wallet
Coming soon
Wallets
Settle payments onchain
Coming soon
Payments
Deep liquidity for stablecoins
Coming soon
Stablecoins
.png)
Compliant real-world assets
Coming soon
RWAs
Resources
Industry reports
Latest 0x news
Blog
Developers
Get Started
Swap API Gasless API Trade Analytics API
Guides
Build a token swap Monetize your app Working in Testnets
Video tutorials
Quick links
API Status API Reference Help Center
Full documentation to start integrating
Documentation
.png).avif)
Onchain routing
built for
enterprise
wallets
payments
exchanges
Settle trades and payments across 45+ million tokens and 25+ chains with liquidity from 370+ sources to deliver a smooth, reliable onchain experience.
.avif)
.avif).avif)
.avif).avif).avif).avif).avif)
.avif).avif).avif).avif)
Battle-tested APIs for your onchain needs
Blazing fast!
<250ms
Median Response Time
99.92%
Uptime
Historical uptime for 0x services
Lowest in DeFi
4.4%
Revert Rates
521+
Projects powered by 0x APIs
211M+
Transactions
180B+
Volume USD
14M+
Unique wallets
Swap
API
How value moves onchain
Power any crypto feature set with the deepest aggregated liquidity for any use case.
Available on
.avif)
.png)
Cross-Chain
API
One resilient API for cross-chain
Keep users moving across chains with fast bridging that feels like a swap.
25 chains, 12 bridges, 1 integration
.png)
Gasless
API
Say goodbye to “insufficient gas”
Never lose a user trade because of gas. Remove the biggest challenge in the trading funnel.
Available on
### Modular onchain solutions
Composable building blocks designed to work seamlessly together, from one leading provider.
.png)
Keep track of what matters to your business
Track revenue and usage trends
Monitor key trading and revenue metrics with in-depth charts and data from onchain transactions.
.avif)
Debug faster
Quickly review API usage and spot spikes in errors.
Spin up and manage apps
Create new products in minutes and manage them all from your dashboard.
Data-driven insights and analytics
Gain actionable insights into user behavior in real-time.
Avg users swapped 3 times this month
Avg users swapped 3 times this month
Avg users swapped 3 times this month
Flexibility built-in
Add new features to each one of your apps with just one-click.
Self manage API keys
Instantly generate and manage API keys directly from the dashboard.
.avif)
Seamless integration
Build your product in days, not months with a streamlined process.
Here for the tech, but also for the dev experience
Top-tier routing
Best-in-class liquidity aggregation and smart order routing. Try it live on Matcha.
Dev friendly
Fastest way to tap into 370+ exchanges.
Battle-tested since 2017
Secure and audited DEX infrastructure with 99.92% uptime.
Integrate in 5 minutes or less
Embed crypto settlement in your product with just a few lines of code.
\ Play](https://replit.com/@0xproject/0x-Swap-API-v2-AllowanceHolder-Headless-Example?v=1)
Copy
\ Play](https://replit.com/@0xproject/0x-Gasless-v2-Headless-Example)
Copy
Developer Guides
\ \ Build with Swap API\ \ Example ERC-20 swap app built on Next.js with Swap API.](https://0x.org/docs/0x-swap-api/guides/build-token-swap-dapp-nextjs)
\ \ Code Examples\ \ A collection of 0x API code examples - copy, paste, go.](https://github.com/0xProject/0x-examples)
\ \ Monetize your app\ \ A guide on monetization options using 0x Swap API.](https://0x.org/docs/0x-swap-api/guides/monetize-your-app-using-swap)
\ \ Swap API\ \ Power crypto trading in your app with Swap API](https://0x.org/docs/0x-swap-api/introduction)
.png)\ \ Build with Gasless API\ \ Build a gasless swap app on Next.js with 0x Gasless API](https://0x.org/docs/gasless-api/guides/get-started-with-gasless-api)
\ \ Build with Swap API\ \ Example ERC-20 swap app built on Next.js with Swap API.](https://0x.org/docs/0x-swap-api/guides/build-token-swap-dapp-nextjs)
\ \ Code Examples\ \ A collection of 0x API code examples - copy, paste, go.](https://github.com/0xProject/0x-examples)
\ \ Monetize your app\ \ A guide on monetization options using 0x Swap API.](https://0x.org/docs/0x-swap-api/guides/monetize-your-app-using-swap)
\ \ Swap API\ \ Power crypto trading in your app with Swap API](https://0x.org/docs/0x-swap-api/introduction)
\ \ Build with Swap API\ \ Example ERC-20 swap app built on Next.js with Swap API.](https://0x.org/docs/0x-swap-api/guides/build-token-swap-dapp-nextjs)
\ \ Code Examples\ \ A collection of 0x API code examples - copy, paste, go.](https://github.com/0xProject/0x-examples)
\ \ Monetize your app\ \ A guide on monetization options using 0x Swap API.](https://0x.org/docs/0x-swap-api/guides/monetize-your-app-using-swap)
\ \ Swap API\ \ Power crypto trading in your app with Swap API](https://0x.org/docs/0x-swap-api/introduction)
.avif)\ MetaMask](https://0x.org/#)
\ DeFi Saver](https://0x.org/#)
\ DefiLlama](https://0x.org/#)
\ Coinbase Wallet](https://0x.org/#)
\ Matcha](https://0x.org/#)
.png)\ Phantom](https://0x.org/#)
.avif)
0x has one of the most extensive and reliable DEX API services in the Web3 ecosystem, backed by a professional and responsive team.
Coinbase Wallet
Sid Coelho-Prabhu, Sr. Director of
Product at Coinbase
Loved by our customers and their users alike
Delivering the onchain swap infrastructure running Coinbase
Discover how 0x has become a major strategic partner for Coinbase, powering an end-to-end onchain trading experience with core infrastructure across business lines - from DEX trading to the Coinbase Developer Platform.
Highlights
780k
Wallets trading
$23b
In onchain volume
293ms
Best observed response time
Loved by
\ \ Matcha\ \ DEX aggregator\ \ Matcha delivers the best price on 93% of trades with 0x v2\ \
\ \ Moxie\ \ AI agent\ \ Moxie launches onchain AI assistant with automated trading\ \ .avif)](https://0x.org/case-studies/moxie)
\ \ Phuture\ \ Index fund\ \ Phuture improves capital efficiency and performance of onchain index funds \ \
.png)\ \ Trust\ \ Self-custody wallet\ \ Trust Wallet reduces user pain point with buy/sell tax support\ \
\ \ Zora\ \ SocialFi\ \ Empowering a new creator economy with Zora and Base App\ \
\ \ Bankr\ \ AI agent\ \ Bankr enables anyone to trade directly in the social feed\ \
\ \ Burner\ \ Self-custody wallet\ \ Burner reinvents the crypto gifting experience\ \
.png)\ \ Definitive\ \ Trading platform\ \ Definitive brings advanced onchain execution to traders\ \
\ \ Interface\ \ SocialFi\ \ Interface experiments with novel swap experiences and monetization in SocialFi\ \
.png)\ \ Liquifi\ \ Token management\ \ Liquifi simplifies token vesting and lockups\ \ .avif)](https://0x.org/case-studies/liquifi)
\ \ Matcha\ \ DEX aggregator\ \ Matcha delivers the best price on 93% of trades with 0x v2\ \
\ \ Moxie\ \ AI agent\ \ Moxie launches onchain AI assistant with automated trading\ \ .avif)](https://0x.org/case-studies/moxie)
\ \ Phuture\ \ Index fund\ \ Phuture improves capital efficiency and performance of onchain index funds \ \
.png)\ \ Trust\ \ Self-custody wallet\ \ Trust Wallet reduces user pain point with buy/sell tax support\ \
\ \ Zora\ \ SocialFi\ \ Empowering a new creator economy with Zora and Base App\ \
\ \ Bankr\ \ AI agent\ \ Bankr enables anyone to trade directly in the social feed\ \
\ \ Burner\ \ Self-custody wallet\ \ Burner reinvents the crypto gifting experience\ \
.png)\ \ Definitive\ \ Trading platform\ \ Definitive brings advanced onchain execution to traders\ \
\ \ Interface\ \ SocialFi\ \ Interface experiments with novel swap experiences and monetization in SocialFi\ \
.png)\ \ Liquifi\ \ Token management\ \ Liquifi simplifies token vesting and lockups\ \ .avif)](https://0x.org/case-studies/liquifi)
\ \ Matcha\ \ DEX aggregator\ \ Matcha delivers the best price on 93% of trades with 0x v2\ \
\ \ Moxie\ \ AI agent\ \ Moxie launches onchain AI assistant with automated trading\ \ .avif)](https://0x.org/case-studies/moxie)
\ \ Phuture\ \ Index fund\ \ Phuture improves capital efficiency and performance of onchain index funds \ \
.png)\ \ Trust\ \ Self-custody wallet\ \ Trust Wallet reduces user pain point with buy/sell tax support\ \
\ \ Zora\ \ SocialFi\ \ Empowering a new creator economy with Zora and Base App\ \
Frequently asked questions
How do I get started?
Get started in less than five minutes! To get started, simply create an account on the 0x Dashboard, choose a plan, set up your app, and generate your API keys.
How can I monetize my app with 0x?
0x offers two options for monetizing your order flow so you can build a sustainable Web3 business. You can set a percentage fee and a fee recipient on trades initiated within your application via Swap API requests. Additionally, you may take the positive slippage generated from your swaps. You can find details on both approaches in our API references.
What chains does 0x support?
0x supports Ethereum, Base, Arbitrum, Optimism, Polygon, Binance Smart Chain, Avalanche, Scroll, Linea, Blast, Mode, Mantle, Unichain, Berachain, Ink, Plasma, Sonic and Monad.
What plans does 0x offer?
We offer two transparent, flexible tiers for Web3 businesses of all sizes. You can get started with them here. If you are a high volume app or have a unique business model, please contact us to discuss a custom plan.