Skip to main content

ZeroX

API

swap

quote

Quote
  • Description: Get an easy-to-consume quote for buying or selling any ERC20 token. The return format is a valid unsigned Ethereum transaction and can be submitted directly to an Ethereum node (or the nodes of other chains if applicable) to complete the swap.
  • Docs: https://docs.0x.org/0x-api-swap/api-references/get-swap-v1-quote

price

Price
  • Description: Nearly identical to /swap/v1/quote, but with a few key differences: Rather than returning a transaction that can be submitted to an Ethereum node, this resource simply indicates the pricing that would be available for an analogous call to /swap/v1/quote.
  • Docs: https://docs.0x.org/0x-api-swap/api-references/get-swap-v1-price

sources

Sources