Price (DEX only)
Find best price for token trades
get
https://data-api.defipulse.com/api/v1
/dexag/price?from=ETH&to=DAI&fromAmount=1&dex=ag
price
*Note: either fromAmount or toAmount must be specified.
Response: the price for a single DEX or a list of prices.
Value
Description
price
Price denoted in the "from" token (eg ETH)
dex
DEX providing the price (eg Uniswap)
pair
​eg ETH:USDC
base
Base token of the trading pair
quote
Quote token of the trading pair
Last modified 1yr ago
Copy link