Connecting developers to
Web3 markets

Your one stop shop to build financial products on crypto rails. Enable faster trading, better prices and superior UX in your app.
Get started
Token Registry APITx History APIOrdebook APITx Relay APISwap API

Trusted by leading Web3 apps

coinbaseJumpRobinhoodPolygon
MetamaskdydxBraveDeFi SaverZapperRainbow
coinbaseJumpRobinhoodPolygon
MetamaskdydxBraveMatchaDeFi SaverGamestop WalletZapperRainbowcoinbaseJumpRobinhoodPolygon
MetamaskdydxBraveDeFi SaverGamestop WalletZapperRainbow
coinbaseJumpRobinhoodPolygon
MetamaskdydxBraveMatchaDeFi SaverGamestop WalletZapperRainbowcoinbaseJumpRobinhoodPolygon
MetamaskdydxBraveDeFi SaverGamestop WalletZapperRainbow

A fully integrated suite of APIs

Coming soon
Token Registry API
Token Registry
API
Enrich your trading app with comprehensive and curated token metadata.
Coming soon
Ordebook API
Orderbook
API
Enable limit orders in your app or take liquidity directly from the 0x Orderbook.
Coming soon
Tx History API
Tx History
API
Easily show your users their trading history in one place.
Coming soon
Token Registry API
Token Registry
API
Enrich your trading app with comprehensive and curated token metadata.
Coming soon
Ordebook API
Orderbook
API
Enable limit orders in your app or take liquidity directly from the 0x Orderbook.
Coming soon
Ordebook API
Orderbook
API
Enable limit orders in your app or take liquidity directly from the 0x Orderbook.
Coming soon
Tx History API
Tx History
API
Easily show your users their trading history in one place.

Designed to work seamlessly together

0x offers the core building blocks to create the most powerful Web3 apps.

Token Registry API
Enrich your app with comprehensive and curated token metadata.
Tx History API
Show users their trading history in one place.
Swap API and Tx Relay API
Unlock trading for thousands of tokens with the deepest liquidity.
Orderbook API
Offer limit orders in your app.

APIs and solutions
to enable Web3 exchange

Building in Web3 becomes increasingly difficult as the number of ecosystems, DEX protocols, and tokens grow. Our APIs and solutions remove this complexity and reduce the infrastructure overhead.

0x Dashboard

Generate API keys, monitor and manage your integrations, get access to new APIs and tap into more developer resources.

Price competitiveness

A single API integration unlocks thousands of pairs with unrivaled liquidity from 100+ exchanges and professional market makers.

Enriched Data APIs to help you build

Access the most comprehensive and curated token metadata to help you expand your product.

Secure and audited smart contracts

Security is critical for our developers and their users. Third party audits ensure that there are no vulnerabilities to exploit.

Enterprise-grade DEX infrastructure

Designed to meet the requirements of Web3 apps, exchanges and financial institutions with 99.9% uptime.

Enable
crypto trading
with a few
lines of code

Get price quote
Copy to clipboard
curl https://api.0x.org/swap/v1/quote
buyAmount
100
buyToken
DAI
sellToken
USDC
{
  "chainId": 1,
  "price": "0.9998894159683656",
  "guaranteedPrice": "0.989890521808681944",
  "estimatedPriceImpact": "0.0503",
  "to": "0xdef1c0ded9bec7f1a1670819833240f027b25eff",
  "data": "0x6af479b200000000000000000000000000000000",
  "value": "0",
  "gas": "119595",
  "estimatedGas": "119595",
  "gasPrice": "27000000000",
  "protocolFee": "0",
  "buyTokenAddress": "0x6b175474e89094c44da98b954eedeac495271d0f",   "sellTokenAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",   "buyAmount": "99745615969657880000",
  "sellAmount": "100000000",
  "sources": [
    {
      "name": "Uniswap_V2",
      "proportion": "1"
    },
    {
      "name": "Curve",
      "proportion": "0"
    },
    {
      "name": "Balancer",
      "proportion": "0"
    },
    {
      "name": "Balancer_V2",
      "proportion": "0"
    }
   ],
  "orders": [
    {
      "type": 0,
      "source": "Uniswap_V2",
      "makerToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
      "takerToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
      "makerAmount": "99745615969657880000",
      "takerAmount": "100000000",
      "fillData": {
         "tokenAddressPath": [
           "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
           "0x6b175474e89094c44da98b954eedeac495271d0f"
        ],
        "router": "0xf164fc0ec4e93095b804a4795bbe1e041497b92a"
      },
      "fill": {
        "input": "100000000",
        "output": "99745615969657880000",
        "adjustedOutput": "96801237004628048423",
        "gas": 90000
      }
    }
  ],
  "allowanceTarget": "0xdef1c0ded9bec7f1a1670819833240f027b25eff",
  "decodedUniqueId": "f784c3f24d-1678769219",
  "sellTokenToEthRate": "1678.50772",
  "buyTokenToEthRate": "1677.70881198281001559",
  "expectedSlippage": null
}

Powering leading
Web3 applications

0x is used by fintech companies, self-custody wallets, and Web3 native organizations with millions of users across the world.

$141B+

Trading volume

66M+

Transactions

7M+

Unique wallets
“0x has one of the most extensive and reliable DEX API services in the Web3 ecosystem, backed by a professional and responsive team. It's been a pleasure working with them to launch our DEX features on Coinbase Wallet.”

Sid Coelho-Prabhu

Director of Product at Coinbase

“We have been working with the 0x team for 3 years now and their APIs are a great choice for any builders out there looking for ultimate liquidity aggregation for their users. We definitely recommend looking into 0x as a simple, ready-made, plug and play solution.”

Nikola Jankovic

Founder at DeFi Saver

“We've been a proud 0x partner and community member for over 3 years. In order to help our users get the most efficient trading routes on Zerion, we knew we wanted to use their Swap API. It was easy to integrate and allowed us to offer users access to a wide range of liquidity sources on Ethereum and other EVM chains.”

Evgeny Yurtaev

Co-founder & CEO at Zerion

“Using Swap API was a no brainer for us. As a startup, being able to tap into 100+ exchanges with a single API integration saved us a lot of time that we can now spend focused in other areas of our product and our users. We are also excited to partner with the 0x team given their expertise working with wallets and fintechs. The team is professional, reliable and experts in their field.”

Jean Meyer

CEO at Deblock

“With Swap API we never have to worry about new liquidity sources coming out and the infrastructure overhead of searching for the best trading routes. It’s also been super easy for us to launch trading in other chains thanks to Swap API being available in the major chains. 0x turnkey solutions have allowed us to focus on other areas of our product and make Zapper one of the most popular apps in Web3.”

Justin D’Errico

Lead Engineer at Zapper

Ready to start building?
Create a 0x account and get started, for free, in less than five minutes.
Join our newsletter
Stay in the know on the latest alpha, news and product updates.
Submission sent!
Oops! Something went wrong.
To learn how we manage your data, visit our Privacy Notice