Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.dexploit.dev/llms.txt

Use this file to discover all available pages before exploring further.

You’ll need an API key before you start. Free tier is fine for this walkthrough.

1. Find pools for your token

Dexploit indexes swap data per pool (pair), not per token. A token like BONK has separate pools on Pump.fun, PumpSwap, Raydium, and Meteora — each with its own price and volume. Read Pairs vs tokens for the full picture. Start by listing pools for your token:
curl -H 'X-API-Key: ohlcv_live_sk_<your_key>' \
  'https://api.dexploit.dev/api/v1/pairs?token_address=DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263&limit=3'
You’ll get back something like:
{
  "success": true,
  "data": [
    {
      "pair_address": "<pool_address>",
      "protocol": "pumpswap",
      "recent_volume_sol": 1234.56
    }
  ]
}
Pick the pair_address of the pool you want — usually the one with the highest recent_volume_sol.

2. Pull the latest candles for that pool

curl -H 'X-API-Key: ohlcv_live_sk_<your_key>' \
  'https://api.dexploit.dev/api/v1/candles/latest?pair_address=<from_step_1>&timeframe=1m&limit=10'
Each candle is built from real trade events — volume_sol, volume_token, trade_count, buy_count, sell_count, and unique_traders are exact, not approximations. See Swap-event OHLCV for why this matters.

What’s next

Pairs vs tokens

Why every OHLCV endpoint takes pair_address, not the token mint.

Stream live swaps

Replace polling with a WebSocket subscription.

GitHub Examples

Working sample apps for chart, dashboard, and backfill workflows.

Authentication

API keys, headers, and tier limits.