Skip to main content
If you’ve used other Solana data APIs, you probably ask for OHLCV by token mint. Dexploit doesn’t work that way, and here’s why.

One token, many pools

A token like BONK trades on multiple DEX pools simultaneously. Each pool has its own liquidity, price, and volume. Asking “what’s the price of BONK?” is ambiguous — it depends which pool. For example, BONK trades across pools like these (real shape — fetch the latest from /api/v1/pairs?token_address=DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263): These are different pools — different LP accounts on-chain. They’ll have small price differences and different volume profiles. protocol is one of the granular DEX names — pumpfun, pumpswap, raydium_amm, raydium_clmm, raydium_cpmm, orca, meteora_damm_v2, meteora_dbc, meteora_dlmm, meteora_pools. The full list is GET /api/v1/protocols.

What pair_address actually is

pair_address is the on-chain address of the pool / LP account. Every swap that happens against that pool is captured under that address. When you ask Dexploit for OHLCV or swap history, you’re asking about activity in that specific pool.

Discovery: find pairs for a token

Use GET /api/v1/pairs?token_address=... to list every pool we index for a given token, sorted by recent volume. Each pair has a status: migrated on a pump.fun bonding-curve pair once the token has graduated to an AMM pool, active otherwise. A migrated pair is listed last. trades_not_indexed means the token has graduated and its pool is known, but we hold no swaps for it yet (recent_volume_sol is 0, no candles); it is temporary. Each pair also names its quote side: quote_mint, quote_symbol and quote_kind (sol, or token for a pool quoted in another token such as USDC), plus native_candles and recent_volume_quote. A pool quoted in another token reads recent_volume_sol: 0 unless some of its trades could be valued in SOL; its volume is in recent_volume_quote, in the quote token’s atomic units. The list is still sorted by recent_volume_sol, so such a pool is listed after the pools with SOL volume. A trades_not_indexed pair carries null for all five.
Pick the pool you want — for charting, the first pair — and pass its pair_address to the OHLCV / swap endpoints.

What happens if you send mint or pair

The API rejects it with a clear pointer:
This is intentional. Aggregating OHLCV across pools requires us to make tradeoffs about which pool is “the” pool, and we’d rather hand that decision to you.

When mint is the right input

A few endpoints intentionally take a token mint, because they aggregate across all pools: If you’re using one of those, mint is correct. Everywhere else, use pair_address.