API Reference
Log In
API Reference

Pool OHLCV chart by Pool Address

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

Path Params
string
required

network ID
*refers to /networks

string
required

pool contract address

string
enum
required

timeframe of the OHLCV chart

Allowed:
Query Params
string

time period to aggregate each OHLCV
Available values (day): 1
Available values (hour): 1 , 4 , 12
Available values (minute): 1 , 5 , 15
Default value: 1

integer

return OHLCV data before this timestamp (integer seconds since epoch)

integer

number of OHLCV results to return, maximum 1000
Default value: 100

string
enum

return OHLCV in USD or quote token
Default value: usd

Allowed:
string

return OHLCV for token
use this to invert the chart
Available values: 'base', 'quote' or token address
Default value: 'base'

boolean
Defaults to false

include empty intervals with no trade data, default: false

Response

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json