Skip to main content
GET
/
wallets
/
{w}
/
stats
Aggregate wallet trading statistics
curl --request GET \
  --url https://api.dexploit.dev/wallets/{w}/stats \
  --header 'X-API-Key: <api-key>'
{
  "wallet": "<string>",
  "window": "<string>",
  "total_trades": 123,
  "win_count": 123,
  "win_rate": 123,
  "total_volume_sol": 123,
  "best_trade_pnl_sol": 123,
  "best_trade_mint": "<string>",
  "worst_trade_pnl_sol": 123,
  "worst_trade_mint": "<string>"
}

Authorizations

X-API-Key
string
header
required

Preferred for swaps-api endpoints (/swaps/*, /stats/*, /trending, /pool-events).

Path Parameters

w
string
required

Wallet address (base58, 32–44 characters).

Query Parameters

window
enum<string>
default:all

Time window to compute stats over.

Available options:
30d,
90d,
1y,
all
dex
integer

Filter to a single DEX by integer ID. See DexId for the mapping.

Response

Wallet stats

Aggregate trading statistics for a wallet over a given window.

wallet
string
required
window
string
required
total_trades
integer
win_count
integer

Number of sells that were profitable.

win_rate
number

Fraction of sells that were profitable (0.0–1.0).

total_volume_sol
number

Cumulative SOL volume.

best_trade_pnl_sol
number | null

Realized PnL of the single most profitable sell, in SOL.

best_trade_mint
string | null

Mint of the best trade.

worst_trade_pnl_sol
number | null

Realized PnL of the single worst sell, in SOL.

worst_trade_mint
string | null

Mint of the worst trade.