0x, the decentralized exchange protocol that facilities peer-to-peer exchange of Ethereum-based assets, today launched the 0x API. The 0x API was designed to make it easy for DeFi developers to tap into both off-chain and on-chain DEX liquidity in a fast, reliable, and easy to use way.
With a simple GET call, developers can use the 0x API to fetch the best price available in the DEX ecosystem for any token. Under the hood, 0x aggregates liquidity from 0x Mesh and other decentralized exchange networks including Kyber, Uniswap, and Oasis.
The API also uses smart order routing to automatically find the best available prices. This saves time and connects users to more liquidity than any single source can provide. As the 0x team builds more bridge contracts and more liquidity becomes available, the 0x API automatically upgrades without any additional work on the developer end.
Features of the 0x API:
- Get the best rate in the DEX ecosystem for the desired swap with a simple GET call.
- Easily execute a swap in smart contracts with a transaction constructed on a user’s 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 end-users.
- Reduce product development and go to market time.
Future capabilities will include the ability to:
- Stream price information.
- Easily monetize products by collecting fees.
- Create an advanced trading interface.
- Submit orders to Ethereum with meta transactions.
Open finance projects including Nuo, bZx (Fulcrum), Zerion, Topo Finance, DeFi Saver, and more have already begun integrating with 0x API.
“0x 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, 0x API doesn’t require you to create an account or generate API keys. While the 0x Core team provides a free hosted version of the 0x API for developers to hit the ground running, the 0x API codebase is open source and anyone can run their own instance if they want to.”
– The 0x Team