This endpoint allows you to get the OHLCV chart (Open, High, Low, Close, Volume) of a pool based on the provided pool address on a network
minute?aggregate=15
for 15 minutes OHLCV).1708850449
.before_timestamp
parameter to query in multiple requests.include_empty_intervals
param:
false
(default): Only intervals with trade data are returned.true
: All requested intervals are returned, those with no trade data are populated as follows:
pool contract address
"0x06da0fd433c1a5d7a4faa01111c044910a184553"
timeframe of the OHLCV chart
day
, hour
, minute
, second
time period to aggregate each OHLCV
Available values (day): 1
Available values (hour): 1
, 4
, 12
Available values (minute): 1
, 5
, 15
Available values (second): 1
, 15
, 30
Default value: 1
return OHLCV data before this timestamp (integer seconds since epoch)
number of OHLCV results to return, maximum 1000 Default value: 100
return OHLCV in USD or quote token Default value: usd
usd
, token
return OHLCV for token use this to invert the chart Available values: 'base', 'quote' or token address Default value: 'base'
include empty intervals with no trade data, default: false
Get OHLCV data of a pool
The response is of type object
.