Retrieves the historical (time series) open-high-low-close for the specified pair. Includes data for exchanges depending on where the pair is traded.
Base & Quote information is using the first and second asset in a pool/pair, which is the represented price.
This endpoints supports Uniswap v2, Uniswap v3, Sushiswap and Uniswap clones.
This endpoint does not support Curve or Balancer.
This endpoint only supports data from
Time Range Limit
The maximum time range (difference between endDate and startDate) is:
- 12 months of daily data
- 30 days of hourly data
- 24 hours of minutely data.
In order to get more than the maximum allowed, you can use the
endDateparameters to move the time frame window to get the next n days/hours/minutes of data.
Not specifying startDate and endDate
If the startDate and endDate query parameters are not provided, the API will return the data from the previous 12 months of daily data.
|metadata||The metadata associated with the ohlcv data.|
|data||The ohlcv data corresponding to the |
|columns||The name of the columns associated with the returned data e.g. |
|timestamp||The timestamp associated with this record.|
|open||The opening price of the market pair.|
|high||The highest price of the market pair.|
|low||The lowest price of the market pair.|
|close||The closing price of the market pair.|