• Wed. Nov 5th, 2025

How 0x Supports 200K+ Trading Pairs with Reliable Pricing

0x API Case Study

0x launched the first decentralized exchange protocol in 2017 and has since become a core infrastructure provider for Web3. Its Swap API enables developers to embed swaps into their applications, aggregating liquidity across more than 15 chains to ensure trades route along the optimal path. Today, 0x powers swaps for over 500 businesses and supports 9 million users across leading applications like Coinbase Wallet, Phantom, MetaMask, and Robinhood Wallet.

To achieve this scale, 0x relies on CoinGecko API for reliable and comprehensive token pricing. CoinGecko’s data powers 0x’s internal pricing data infrastructure, which in turn supports its suite of API products, ensuring token values remain accurate across hundreds of thousands of trading pairs.

Key Metrics At A Glance

  • 0x has scaled from supporting approximately 30K unique trading pairs in 2023 to more than 200K pairs today, with all pairs priced consistently using data from CoinGecko API.

  • This expanded coverage has helped 0x reach over 60 million transactions and more than $154 billion in all-time trading volume.

  • 0x now serves over 9 million users and 500+ businesses, cementing its role as the industry’s go-to DEX and swap aggregator.

Enterprise Grade Crypto API

The Challenge: Pricing a Fragmented Market at Scale

As the number of tokens, decentralized exchanges, and chains grew, liquidity became increasingly fragmented. For 0x, this created a significant challenge to deliver accurate pricing across a rapidly expanding landscape of trading pairs.

To maintain reliable swaps for millions of users and hundreds of partner applications, 0x needed a crypto market data provider with the widest token coverage, spanning both major and long-tail assets. That is why 0x chose to integrate the CoinGecko API, which met all these requirements while also offering robust scam filtering features and a 99.9% uptime SLA to support 0x’s mission-critical data infrastructure.

How 0x Leverages CoinGecko API

0x integrated the CoinGecko API to provide accurate pricing for over 200,000 unique trading pairs across its internal data pipelines, which in turn power its API products such as its Swap API and Trade Analytics API.

Swap API

0x aggregates quotes across multiple on-chain liquidity sources, while CoinGecko’s pricing data provides a reliable reference to normalize token values and backfill long-tail assets. To achieve this, 0x leverages CoinGecko API’s /simple/price, /simple/token_price, and /onchain/networks/{network}/tokens/{token_address}/pools endpoints to fetch aggregated real-time token prices and on-chain liquidity data. Together, they help ensure the Swap API is able to consistently and reliably offer the best swap quotes across a wide range of trading pairs.

0x Swap API Interface

0x’s Swap API in action

0x Swap API in action

Trade Analytics API

The Trade Analytics API gives developers programmatic access to historical trade data, enabling deeper business intelligence. Similar to the Swap API, 0x uses CoinGecko API’s token price endpoints to ensure that metrics like fees and volumes are priced accurately.

“CoinGecko has been instrumental in allowing us to accurately price our internal data pipelines. In 2023, 0x saw about 30K unique trading pairs. Today we see upwards of 200K unique pairs, all of which need pricing from CoinGecko.”

— Eric Wong, & Product Manager at 0x

What’s Next On The Roadmap?

0x is extending its infrastructure to meet the next phase of Web3 growth. The team is expanding to Monad, where it will aggregate both order book and AMM liquidity. In parallel, 0x is building towards cross-chain swaps that will enable any-to-any token exchanges across multiple L1s, L2s, and bridges.

By combining CoinGecko’s reliable pricing with 0x’s deep liquidity routing, the ecosystem is well-positioned to support the increasing demand for on-chain swaps.

Get In Touch

Ready to supercharge your crypto project? Fill in the form below to connect with our API Sales team for a custom CoinGecko API plan tailored to enterprise needs.

 

This article was written in collaboration with 0x team.