curl --request GET \
--url https://data.solanatracker.io/chart/{token}/{pool} \
--header 'x-api-key: <api-key>'{
"oclhv": [
{
"open": 123,
"close": 123,
"low": 123,
"high": 123,
"volume": 123,
"time": 123
}
]
}Gets OHLCV (Open, High, Low, Close, Volume) data for charts for a specific pool
curl --request GET \
--url https://data.solanatracker.io/chart/{token}/{pool} \
--header 'x-api-key: <api-key>'{
"oclhv": [
{
"open": 123,
"close": 123,
"low": 123,
"high": 123,
"volume": 123,
"time": 123
}
]
}API Key for authentication
Time interval (e.g., '1s', '1m', '1h', '1d')
1s, 5s, 15s, 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1mn Start time (Unix timestamp in seconds)
End time (Unix timestamp in seconds)
Return chart for market cap instead of pricing
Set to false to disable outlier removal
Timezone for chart data (abbreviations or IANA identifiers)
Enables a live cache on the chart API for even faster response times
Was this page helpful?