Improved
2026.08.26 - Add Market Cap For OHLCV endpoints
about 17 hours ago by Dqd
A new OHLCV chart type option is now available for token OHLCV endpoints, allowing callers to return market cap candles instead of price candles without changing the response schema.
OHLCV - Market Cap Chart Type
GET /defi/v3/ohlcv
GET /defi/ohlcv
Features
- Add
chart_typesupport for token OHLCV endpoints - Support
chart_type=priceandchart_type=mcap - Keep
priceas the default for backward compatibility - Return market cap OHLC values when
chart_type=mcap
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
x-chain | string | No | solana | Chain header. Market cap charting applies to Solana token OHLCV only. |
address | string | Yes | - | Token address to query. |
type | string | Yes | - | Candle interval. |
currency | string | No | usd | Quote currency. Supports usd and native for token OHLCV. |
ui_amount_mode | string | No | raw | Display mode for OHLCV output: raw, scaled, or both. |
mode | string | No | range | Query mode: range or count. |
count_limit | integer | No | 5000 | Maximum candles returned when mode=count. Range: 1..5000. |
chart_type | string | No | price | OHLC chart type: price or mcap. |
Response
The response keeps the existing OHLCV structure and can return:
o,h,l,c- OHLC values as either price candles or market cap candles depending onchart_typev- token volume, unchangedv_usd/vUsd- USD volume, unchangedscaledO,scaledH,scaledL,scaledC- present according toui_amount_mode; forchart_type=mcap, these mirror market cap OHLC valuesscaledV- unchanged and still follows existing scaled volume behavioraddress- token addresstype- candle intervalcurrency- requested quote currencyunix_time/unixTime- candle timestamp
Use cases
- Chart token market cap history with the same OHLCV integration already used for price charts
- Switch between price candles and market cap candles without changing downstream parsing
- Analyze market cap structure over time for meme coins, new listings, and volatile tokens
- Build charting or analytics features that need backward-compatible OHLCV responses with alternative candle semantics
