# Dexploit ## Docs - [Historical candles for a pool](https://docs.dexploit.dev/api-reference/candles-ohlcv/historical-candles-for-a-pool.md): Returns OHLCV bars for `pair_address` between `start` and `end`. Bars are built from real swap events — see [Swap-event OHLCV](/concepts/swap-event-ohlcv). - [Most recent candles for a pool](https://docs.dexploit.dev/api-reference/candles-ohlcv/most-recent-candles-for-a-pool.md): Returns the most-recent N candles. Same `pair_address` requirement as /api/v1/candles. - [GraphQL](https://docs.dexploit.dev/api-reference/graphql.md): GraphQL endpoint for fetching multiple resources in one round-trip. Mirrors the REST surface. - [Liveness probe](https://docs.dexploit.dev/api-reference/health/liveness-probe.md): Returns 200 if the API process is alive. Requires authentication like every other endpoint. - [Readiness probe](https://docs.dexploit.dev/api-reference/health/readiness-probe.md): Returns 200 if dependencies (ClickHouse, cache) are healthy; 503 otherwise. Requires authentication. - [List pools (pairs)](https://docs.dexploit.dev/api-reference/pairs/list-pools-pairs.md): List on-chain pools indexed by Dexploit. - [Aggregate platform stats](https://docs.dexploit.dev/api-reference/stats-&-trends/aggregate-platform-stats.md): Roll-up stats across the OHLCV index. - [Global 24h stats](https://docs.dexploit.dev/api-reference/stats-&-trends/global-24h-stats.md): Aggregate stats across the platform for the last 24h. - [List supported DEX protocols](https://docs.dexploit.dev/api-reference/stats-&-trends/list-supported-dex-protocols.md) - [Stats for a token (across pools)](https://docs.dexploit.dev/api-reference/stats-&-trends/stats-for-a-token-across-pools.md): Aggregate stats for a token mint across every indexed pool. One of the few endpoints where token mint is correct (see [Pairs vs tokens](/concepts/pairs-vs-tokens)). - [Stats for a trader](https://docs.dexploit.dev/api-reference/stats-&-trends/stats-for-a-trader.md) - [Top price movers](https://docs.dexploit.dev/api-reference/stats-&-trends/top-price-movers.md): Pools with the largest absolute price change over the requested timeframe. - [Trending tokens](https://docs.dexploit.dev/api-reference/stats-&-trends/trending-tokens.md): Tokens with the largest 24h volume change. - [Latest swaps](https://docs.dexploit.dev/api-reference/swaps/latest-swaps.md): Returns recent swaps with optional filters. Use this for a real-time-ish polling view; for true real-time, use [WebSocket](/streaming/websocket) or [gRPC](/streaming/grpc). - [Single swap by transaction signature](https://docs.dexploit.dev/api-reference/swaps/single-swap-by-transaction-signature.md): Look up the swap event(s) emitted by a specific Solana transaction. - [Swap history for a token (across pools)](https://docs.dexploit.dev/api-reference/swaps/swap-history-for-a-token-across-pools.md): Returns swaps for a token across **every** pool we index. This is one of the few endpoints where token mint (not `pair_address`) is the right input — it intentionally aggregates. See [Pairs vs tokens](/concepts/pairs-vs-tokens). - [Swap history for a trader](https://docs.dexploit.dev/api-reference/swaps/swap-history-for-a-trader.md): All swaps a wallet has made, across pools and DEXs. - [Swaps in a time range](https://docs.dexploit.dev/api-reference/swaps/swaps-in-a-time-range.md): Page through historical swaps within a time or slot range. - [Whale swaps (above threshold)](https://docs.dexploit.dev/api-reference/swaps/whale-swaps-above-threshold.md): Returns recent swaps with `sol_amount` above a threshold (default 10 SOL). - [Authentication](https://docs.dexploit.dev/authentication.md): API keys, request headers, and tier-based quotas. - [Pairs vs tokens](https://docs.dexploit.dev/concepts/pairs-vs-tokens.md): Why every OHLCV endpoint asks for a pair address, not a token mint. - [Quotas & errors](https://docs.dexploit.dev/concepts/quotas-errors.md): Daily and monthly quotas, response envelope shape, and error codes. - [Swap-event OHLCV](https://docs.dexploit.dev/concepts/swap-event-ohlcv.md): How Dexploit builds candles. The short version: from real trades, not from polled pool state. - [Timeframes & resolution](https://docs.dexploit.dev/concepts/timeframes-resolution.md): Supported candle timeframes, request defaults, and timestamp conventions. - [Examples](https://docs.dexploit.dev/examples.md): Working sample apps for the most common integration patterns. Source on GitHub, runnable with one command. - [Welcome](https://docs.dexploit.dev/index.md): Real-time and historical Solana DEX data — swap streams plus swap-event-derived OHLCV. - [Quickstart](https://docs.dexploit.dev/quickstart.md): Find a pool, then pull the latest candle for it. Five minutes from API key to first chart-ready data. - [gRPC](https://docs.dexploit.dev/streaming/grpc.md): Highest-throughput swap stream. Schema-typed clients in any language via the .proto file. - [Reconnect & backpressure](https://docs.dexploit.dev/streaming/reconnect-backpressure.md): Production hardening: how to recover from drops, fill missed events, and not get disconnected for being slow. - [WebSocket](https://docs.dexploit.dev/streaming/websocket.md): Real-time swap stream over WebSocket. Subscribe by pool, get pushes as trades happen. ## OpenAPI Specs - [openapi](https://docs.dexploit.dev/api-reference/openapi.json) ## Optional - [Dashboard](https://www.dexploit.dev/dashboard) - [GitHub Examples](https://github.com/DexploitV1/Dexploit-Examples) - [Status](https://www.dexploit.dev/status)