OHLCV

Retrieve candlestick data in OHLCV format of a specified token. Maximum 1000 records.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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.
Compute Unit ⚙️
  • This endpoint consumes 35 CU per request.
Use Cases 💡
  • 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.
How to Use 🛠️
  • 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.
Best Practices ✅
  • 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.

Query Params
string
required

The address of the token contract.

string
enum
required

OHLCV time frame.

string
enum
Defaults to usd

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

Allowed:
integer
required
0 to 10000000000

Specify the start time using unix timestamps in seconds

integer
required
0 to 10000000000

Specify the end time using unix timestamps in seconds

string
enum
Defaults to raw

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

Allowed:
Headers
string
enum
Defaults to solana

A chain name listed in supported networks.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json