Skip to main content

Get token exchange rate

Get the exchange rate for two assets on a specific provider

Query Parameters
sellAsset string REQUIRED

Token to sell (e.g. ETH.UNI-0x1f9840a85d5af5bf1d1762f925bdaddc4201f984)

buyAsset string REQUIRED

Token to buy (e.g. BTC.BTC)

provider string REQUIRED

Possible values: [UNISWAPV2, UNISWAPV3, THORCHAIN, ZEROX, ONEINCH, SUSHISWAP]

The provider to query

Responses
200

The exchange rate

Schema
string