OHLCV - Base/Quote

Retrieve candlestick data in OHLCV format of a specified base-quote pair. Maximum 1000 records.

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

Aggregated OHLCV for a base/quote market.

  • Use this endpoint when you want candles across markets that share the same base and quote assets, rather than one explicit pair address.
  • Provide the base and quote token addresses plus time_from, time_to, and candle type.
  • This is useful for consolidated market views where the same asset pair trades across multiple pools or venues.
  • Switch to OHLCV - Pair when venue-specific candles matter more than aggregate market behavior.
Compute Unit ⚙️
  • This endpoint consumes 35 CU per request.
Use Cases 💡
  • Build consolidated base/quote charts across multiple markets.
  • Reduce venue noise when the same pair trades across fragmented liquidity.
  • Compare aggregate market direction with individual-pair behavior.
  • Power dashboards that focus on the trading relationship between two assets, not one pool.
How to Use 🛠️
  • Set x-chain for the target network.
  • Pass the base and quote addresses using the documented query parameters.
  • Set time_from, time_to, and the candle type needed for your chart.
  • Use pair-level OHLCV if you later need to drill into one venue behind the aggregate.
Best Practices ✅
  • Use this endpoint first for a broad market read, then drill down into individual pairs where anomalies appear.
  • Keep your base/quote ordering consistent so chart histories do not flip direction unexpectedly.
  • Pair aggregate OHLCV with per-pair liquidity or price spreads when explaining divergences across venues.

Query Params
string
required

The address of the base token.

string
required

The address of the quote token.

string
enum
required

OHLCV time frame.

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