v1

latestOpenAPI 3.1.02026-07-2410781551.8 KB
Price & OHLCV

Liquidity OHLC - Pair

A historical liquidity time-series API for Solana pools, converting raw on-chain pool states into OHLC data for TVL, token balances, and USD-denominated liquidity. It enables TradingView-style liquidity charting, deep liquidity analytics, pool-level liquidity provider tracking, abnormal liquidity event detection, manipulation and rug-risk surveillance, and quantitative backtesting of liquidity-driven strategies. Unlike traditional APIs limited to current snapshots or price/volume data, this dataset reveals the full historical evolution of pool liquidity structure over time, unlocking a new analytical layer for DeFi market intelligence and risk modeling. Maximum 100 records.

get/defi/v3/liquidity/ohlc/pair

Query parameters

addressstring required

The address of a pair contract

timeinteger

Unix timestamp in seconds used as the anchor time for the liquidity candle window. Defaults to the latest available candle.

direction'back' | 'forward'

Direction to query candles from the anchor time. Use back for older candles and forward for newer candles.

countinteger

Maximum number of liquidity candles returned. Defaults to 100 and is capped at 100.

Headers

x-chain'solana'

Solana network only.

Response

JSON object containing liquidity OHLC data of a pair

successboolean required