Get market price OHLCV (Open, High, Low, Close, Volume) data. Note: - Data is sorted asc by time field. - Time field format: yyyyMMddHHmm. - Need to pass cursor to get next page data (The cursor for pagination, which can be obtained from the response of previous page). - Data is available from 2026-01-01.
QUERY PARAMS
address
string
required
Pool market address to fetch OHLCV data for.
from_time
number
Unix timestamp specifying the start time. Filter for OHLCV data from this time onwards.
to_time
number
Unix timestamp specifying the end time. Filter for OHLCV data up to this time.
res
string
Resolution or interval of the OHLCV data candles.
candles
number
Number of candles returned in the response.
curosr
number
Pagination cursor from a previous response to fetch the next set of data.
direction
string
Direction of calculation, by quote or base token on pool.
RESPONSES
200
OK
Response Body (application/json)
success
boolean
Request status
time
number
Time (format yyyyMMddHHmm) of the OHLCV candle
volume
number
Trading volume during the interval
high_price
number
Highest price during the interval
low_price
number
Lowest price during the interval
close_price
number
Closing price at the end of the interval
open_price
number
Opening price at the start of the interval
candles
number
Number of candles returned
token
string
Price for this token
currency
string
Price will be calculated by this token
direction
string
By quote or base token on pool
res
string
Resolution of the OHLCV data
cursor
number
Pagination cursor for the next page
400
Bad Request
Response Body (application/json)
401
Authentication failed
Response Body (application/json)
429
Too Many Requests
Response Body (application/json)
500
Internal Server Error
Response Body (application/json)