Skip to main content
GET
OHLCV

Legacy token OHLCV candles.

  • Request one token address plus time_from, time_to, and candle type.
  • This endpoint returns open, high, low, close, and volume buckets for charting and historical analysis.
  • Use the legacy OHLCV endpoint when the standard interval set is enough and you do not need V3-only options like second-level intervals or count mode.
  • Prefer V3 OHLCV when you need 1s, 15s, 30s, count_limit, padding, outlier, or inversion.
  • This endpoint consumes 35 CU per request.
  • Render classic candlestick charts for token detail pages and trading dashboards.
  • Backtest price action with volume-aware buckets over fixed historical windows.
  • Compare regime shifts before and after launches, liquidity adds, or large wallet activity.
  • Feed technical-analysis indicators that rely on candle structure rather than spot price alone.
  • Set x-chain for the target network.
  • Pass the token address in address.
  • Define the candle window with time_from and time_to.
  • Choose type from the supported legacy intervals such as 1m, 5m, 1H, 1D, 1W, or 1M.
  • Pick the coarsest interval that still answers the question to keep charts lighter and easier to scan.
  • Keep chart timezone and bucket labels consistent with your other historical endpoints.
  • Move to OHLCV V3 when you need finer launch-time analysis or more control over returned buckets.

Authorizations

X-API-KEY
string
header
required

API key for authentication

Headers

x-chain
enum<string>
default:solana

A chain name listed in supported networks.

Available options:
solana,
ethereum,
bsc,
base,
robinhood,
sui,
mantle,
hyperevm,
arbitrum,
avalanche,
optimism,
polygon,
zksync,
monad,
aptos,
fogo,
megaeth

Query Parameters

address
string
required

The address of the token contract.

type
enum<string>
required

OHLCV time frame.

Available options:
1m,
3m,
5m,
15m,
30m,
1H,
2H,
4H,
6H,
8H,
12H,
1D,
3D,
1W,
1M
currency
enum<string>
default:usd

Currency in which OHLCV data is presented. Choose between usd or native token.

Available options:
usd,
native
chart_type
enum<string>
default:price

Display OHLC as token price or market cap. mcap mode only applies to token OHLCV on Solana and falls back to price if supply is unavailable. Default: price

Available options:
price,
mcap
time_from
integer
required

Specify the start time using unix timestamps in seconds

Required range: 0 <= x <= 10000000000
time_to
integer
required

Specify the end time using unix timestamps in seconds

Required range: 0 <= x <= 10000000000
ui_amount_mode
enum<string>
default:raw

Indicate whether to use the scaled amount for scaled ui amount tokens. Only support solana

Available options:
raw,
scaled,
both

Response

JSON object containing list of ohlcv data of a token

success
boolean
required

Whether the request completed successfully.

data
object
required

OHLCV candle series for the requested token.