Access all DEX liquidity through 0x Swap API

Easily integrate with 0x Swap API to swap tokens at the best prices.

Published on
January 28, 2020
News
Access all DEX liquidity through 0x Swap API

We are starting the year (and the decade) with a bang! Today we are excited to introduce 0x Swap API. We designed the Swap API to make it easy for DeFi developers like you to tap into both off-chain and on-chain DEX liquidity in a fast, reliable, and easy to use way so you can focus on what matters: your product.

With a simple GET call, you can use Swap API to fetch the best price available in the DEX ecosystem for any token. Under the hood, we aggregate liquidity from 0x Mesh and other decentralized exchange networks like Kyber, Uniswap and Oasis, and use smart order routing to find the best prices for you — saving you time and connecting you to more liquidity than any single source can provide. As we build more bridge contracts and more liquidity becomes available, the Swap API automatically upgrades without any additional work on your end.

With Swap API you can:

  • Get the best rate in the DEX ecosystem for your desired swap with a simple GET call.
  • Easily execute a swap in your smart contracts with a transaction constructed on your behalf.
  • Contribute to and access liquidity on the 0x Mesh network through a REST API endpoint.
  • Abstract away protocol fees and complete transactions on behalf of your users.
  • Reduce your product development and go to market time.

Leading open finance projects including Nuo, Zerion, Topo Finance, DeFi Saver, and more have already begun integrating with Swap API. Join the growing number of projects building on 0x by getting started today at 0x.org/products/swap!

Offering tools that make it easier for you to build and interact with the 0x protocol and the rest of the DEX ecosystem is at the core of what we do. If you are a new developer, Swap API is the easiest way to build exchange functionality into your product while you figure out product-market fit. If you are an advanced developer or have a product with traction, Swap API is the most reliable tool to offer the best prices and reach your user growth goals.

We have started working on improvements for the Swap API and, among many things, very soon you will also be able to:

  • Stream price information.
  • Easily monetize your product by collecting fees.
  • Create an advanced trading interface.
  • Submit orders to Ethereum with meta transactions.

Swap API is a superset of all other DEX protocols. Once integrated, you’ll be able to create exchange-like experiences, open margin positions, or mint new index tokens. Unlike other APIs, Swap API doesn’t require you to create an account or generate API keys. To start, simply follow our Swap Tokens with Swap API guide or jump straight into the documentation.

While the 0x Core team provides a free hosted version of the Swap API for developers to hit the ground running, the Swap API codebase is open source and anyone can run their own instance if they want to. Find everything you need here.

Start building today with Swap API at 0x.org/products/swap 🚀