curl --request GET \
--url https://data.solanatracker.io/chart/{token} \
--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
curl --request GET \
--url https://data.solanatracker.io/chart/{token} \
--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
Dynamically picks the main pool over time to create the best and most consistent chart
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?