2026.08.30 - Add Market Cap Chart Mode to WebSocket OHLCV Subscriptions
Expand WebSocket OHLCV subscriptions with a newchartBy selector so clients can receive OHLCV candles by token price or by market cap.
WebSocket - Subscribe OHLCV
Token/Pair OHLCV
Features
- Add
chartByto OHLCV subscriptions - Support
priceandmcapas validchartByvalues - Default
chartBytopricewhen omitted - Support market cap OHLCV output for token subscriptions on Solana
- Fall back to price-based OHLCV if token supply is unavailable
- Keep existing OHLCV subscription behavior unchanged for clients that do not send
chartBy
Parameters
Compatibility Note
- Existing clients continue receiving price-based OHLCV data without any request changes
chartBy=mcapis only applicable to token OHLCV on Solana- Unsupported
chartByvalues are rejected

