get https://api.amberdata.com/market/defi/ohlcv//latest/
Retrieves the latest open-high-low-close for the specified pair. Includes data for exchanges depending on where the pair is traded.
Asset information is included in the payload.
Base & Quote information is using the first and second asset in a pool/pair, which is the represented price.
Protocols Supported
This endpoints supports Uniswap v2, Uniswap v3, Sushiswap and Uniswap clones.
This endpoint does not support Curve or Balancer.
Blockchains Supported
This endpoint only supports data from
ethereum-mainnet
.
Response Data
Field | Type | Description |
---|---|---|
[EXCHANGE] | object | The name of the exchange, as specified by the filter provided or representing the supported exchanges for this pair. |
timestamp | string | The timestamp associated with this record. |
open | number | The starting result of the time unit's price action. |
high | number | The highest point of the time unit's price action |
low | number | The lowest point of the time unit's price action |
close | number | The ending result of the time unit's price action |
volume | number | The volume traded in within the time period. |