Controlling the Price Source

By default "dex" is the primary price source. If we are unable to derive a price from DeFi DEXes, we fall back on Chainlink which derives its prices from data supplied by centralized exchanges.

A user can change the order of the sources we use for our pricing data. Passing "cex" as the value of the optional src parameter will force us to try to pull a price from Chainlink before trying to derive one from DEX data. If Chainlink is unable to find a price for the requested token, we fall back on DEX prices.

API users can check which data source was used by checking the "protocol" field in the result.

Last updated