
Everything developers need to build great apps on Base
"If you're building an onchain app you need to touch tokens at some point, and swap into them, so we wanted to reduce that from multiple weeks to like two lines of code. And that’s what we did."
$181.8k$154.5k
In volume264224
Apps with Swap API22.6k19.2k
TransactionsSet integration guidance
The Coinbase Developer Platform (CDP) is a unified infrastructure suite that uses 0x under the hood to allow developers and enterprises to embed token swaps and other primitives in their crypto-native applications.
With a single API key, developers can access modular APIs and SDKs for payments, trading, wallets, on- and off-ramps, staking and validation, onchain data, and multi-chain support.
Designed for scalability and composability, builders can combine tools flexibly and manage tokens with ease, unified by Coinbase's trusted custody, compliance, and on-chain tooling.
Get integration guidance
Our suite of APIs has processed over 211 million transactions and $180 billion in volume from more than 14 million wallets.
The challenge
Base, launched in 2023, is Coinbase's low-cost, developer-friendly chain and home to its onchain products
For Base to succeed, builders needed:
- A unified toolkit to build and ship quickly
- Native trading primitives that didn't require each team to integrate swaps from scratch
A goal of onboarding 10,000 developers in 2024 made the Coinbase Developer Platform critical to the Base ecosystem. Token swaps were key to this, and the CDP team identified swap functionality as a critical pain point, taking teams weeks to build from scratch.
CDP wanted to reduce that engineering time from weeks to just a few lines of code
The CDP team approached 0x to provide Base developers with a tool to embed production-grade token swaps within their apps, without vast resource or engineering overhead.
The solution
239ms
Best observed response time<500ms
Median response timePolicy-Controlled Swaps
Agentic WalletsCompatible
With other CDP productsMulti-plex, multi-hop trading
Via 0x API (v2)Designed for performance and composability, CDP Swap API is powered by 0x, giving developers on Base access to market-leading pricing across millions of tokens acros 373+ liquidity sources, without the complexity.
By bringing 0x into CDP, developers can now:
- Enable seamless token swaps in minutes
- Build multi-chain DeFi tools for consumers or institutions
- Create new user onboarding flows
All while 0x manages pricing, routing, liquidity, and smart contract infrastructure.
The results
Coinbase is known for a professional trading experience
In June 2025, the Coinbase team shipped the Coinbase Developer Platform's own Swap API, a simple way to embed production-grade token swaps with a few lines of code.
Powered by 0x Swap API under the hood, CDP Swap API is:
- Backend-first: ideal for bots, agents, and fast-moving services
- Programmatic: not reliant on front-end prompts or manual approvals
- Fully managed: no infrastructure to deploy or contracts to maintain
Now, developers on Base can automate advanced flows like real-time liquidity management, portfolio rebalancing, or dynamic token allocation.
While the API handles quoting, signing, and routing under the hood, agents and services can focus on decision logic, not transaction plumbing.
0x Swap API is
full developer stack
Swap API is foundational to the CDP stack and fully compatible with other CDP products so developers can build full-stack solutions fast. It can be used with:
- Coinbase Onramp for fiat-to-token onboarding
- AgentKit to let agents respond to onchain events
- x402 to enable token-powered API payments
Since launch, the Swap API has been integrated into 264 apps through the Coinbase Developer Platform, and has powered $181.8k in volume across 22.6k transactions.
Partnership
Coinbase's drive to deliver best-in-class swaps with the widest token coverage led them to 0x
To expand into the onchain economy, Coinbase needed a swap provider with:
- DEX market expertise
- Proven API infrastructure
- Reliable, secure, enterprise-grade performance
That search led to 0x. Today, 0x powers Coinbase's end-to-end swap infrastructure throughout its product portfolio:
- Base App: SocialFi, custom token routing, and gasless swaps
- Coinbase App: onchain DEX trading and full token coverage
- Coinbase Developer Platform: Swap API for teams building on Base
Coinbase has accelerated its onchain leadership in part through its long term partnership with 0x.
If you lead product or business development at an exchange and want to explore how 0x can power decentralized trading in your app, contact us.
Discuss your use case
Join Coinbase and hundreds of exchanges using 0x APIs for enterprise-grade liquidity.



