Start building with 0x API on Binance Smart Chain

0x Labs
by on

TL;DR

  • 0x API adds support for Binance Smart Chain, aggregating liquidity across all existing liquidity sources on BSC — including PancakeSwap, SushiSwap, DODO and more.
  • We are proud to be launching 0x API’s BSC support alongside our initial partners Matcha, Zapper, Dex Guru, Zerion, Dodo and DexKit.
  • Check out our documentation and start building on BSC with 0x API today!

The 0x API is designed to make it easy for DeFi developers to tap into DEX liquidity in a fast, reliable, and easy to use way so you can focus on what matters: your product. Since launch in January 2020, 0x API has facilitated nearly 700,000 trades from over 150K unique traders that in total represent more than $7 billion in trading volume.

0x API powers the top DeFi teams on Ethereum and today we are excited to bring the experience our integrators know and love to developers building on the Binance Smart Chain (BSC). With this, we want to help our integrators and the broader BSC developer ecosystem onboard the next 100,000 users to crypto.

Why BSC and why now?

0x Labs’ mission is to create a tokenized world where all value can flow freely. We believe that exposing the broadest set of users to smart contracts, self-custody wallets, and DEX markets is key to achieving that mission.

We shared our framework for evaluating new networks in October 2020 and our phased approach for rolling out support in February 2021. Given the role of 0x protocol as a middleware protocol that sits in between the blockchain consensus layer and the application layer that’s exposed to end users, the needs of users and integrators weigh heavily in the evaluation. Binance Smart Chain (BSC) unambiguously satisfies the criteria we set out and the decision to expand to BSC was impartial. Over the past 3–6 months, BSC has developed a vibrant ecosystem. Today, BSC represents an exciting opportunity to expand the reach of 0x protocol and that of our 0x API partners to a large and growing global user base.

We are proud to launch 0x API support for BSC alongside our initial launch partners Matcha, Zapper, Dex Guru, Zerion, Dodo and DexKit.

However, BSC is the first of many EVM blockchains where 0x API will be available. In the coming weeks and months we will add support for more L1 chains and L2 solutions and we look forward to working with more teams that want to help their users explore decentralized exchange in a multichain world.

Learn more about our phased approach to porting 0x Protocol to new blockchains.

Start building on BSC with 0x API

If you are looking to add BSC trading to your product, 0x API is the best place to start. 0x API currently aggregates all existing liquidity sources on BSC — including PancakeSwap, SushiSwap, DODO and more. Support for 0x RFQ and open order book orders will be available in our next iteration.

You can find our updated docs here.

If you are familiar with 0x API /swap on Ethereum, you will notice the integration process is very similar. Here’s an example quote request.

If you are new to building with 0x API, don’t hesitate to reach out on StackExchange for developer support (tag your question with '0x' so we are properly notified). For general inquiries, you can always find us on Discord.

comments

Sign in or become a 0x Blog member to join the conversation.


Ready to build on 0x?

Get Started

Chat with the community

Join 0x Discord