I am trying to use 0x for a project and I am getting a lot of Invalid token combination
errors when trying to get price quotes.
So this works (USDC / ETH):
https://api.0x.org/swap/v1/quote?buyToken=USDC&sellToken=ETH&sellAmount=100000000000000000
However this does not work (BUSD/BNB):
https://api.0x.org/swap/v1/quote?buyToken=BUSD&sellToken=BNB&sellAmount=100000000000000000
I have not been able to get any combinations working with anything except Eth based tokens. Is there a list anywhere of what token combinations are supported?
swap
API is a DEX aggregator. It looks at a large variety of DEXs on the chain you're trying to swap on and finds a supposedly optimal route through the DEXs, including "curve" type exchanges. 0x'sswap
API is very much not dead/dying