Skip to main content
GET
/
chart
/
{token}
/
{pool}
Get OHLCV Data for a token/pool pair
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
    }
  ]
}

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

token
string
required
pool
string
required

Query Parameters

type
enum<string>

Time interval (e.g., '1s', '1m', '1h', '1d')

Available options:
1s,
5s,
15s,
1m,
3m,
5m,
15m,
30m,
1h,
2h,
4h,
6h,
8h,
12h,
1d,
3d,
1w,
1mn
time_from
integer

Start time (Unix timestamp in seconds)

time_to
integer

End time (Unix timestamp in seconds)

marketCap
boolean
default:false

Return chart for market cap instead of pricing

removeOutliers
boolean
default:true

Set to false to disable outlier removal

timezone
string

Timezone for chart data (abbreviations or IANA identifiers)

fastCache
boolean
default:false

Enables a live cache on the chart API for even faster response times

Response

200 - application/json

Successful response

oclhv
object[]
⌘I