get https://api.amberdata.com/market/defi/prices/pairs/bases//quotes//latest
Retrieves the latest minute by minute price for the specified pair (for example DAI_WETH). NOTE: DeFi Price is a reference rate established by trade data and if there is no trade data in the previous 24 hours, the response will not return a price.
Price Data Calculations
All prices are only calculated from data collected in Uniswap v2, Uniswap v3, Sushiswap and Uniswap clones.
Blockchains Supported
This endpoint only supports data from
ethereum-mainnet
.
Response Data
Field | Type | Description |
---|---|---|
timestamp | number | string | The timestamp at which the price was executed. |
pair | string | The pair ticker name, based on symbols of the assets. |
price | string | Price associated with the pair. |