Skip to main content
GET
/
v2
/
pnl
/
wallets
/
{wallet}
/
performance
Streaks, drawdown & best/worst day
curl --request GET \
  --url https://api.dexploit.dev/v2/pnl/wallets/{wallet}/performance \
  --header 'X-API-Key: <api-key>'
{
  "wallet": "<string>",
  "pnl_mode": "<string>",
  "from": "<string>",
  "to": "<string>",
  "best_day": {
    "day": "<string>",
    "realized_sol": 123
  },
  "worst_day": {
    "day": "<string>",
    "realized_sol": 123
  },
  "current_streak": {
    "length": 123
  },
  "longest_win_streak": 123,
  "longest_loss_streak": 123,
  "max_drawdown_realized_sol": 123,
  "max_drawdown_realized_pct": 123,
  "max_drawdown_value_sol": 123,
  "max_drawdown_value_basis": "<string>",
  "active_days": 123
}

Authorizations

X-API-Key
string
header
required

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

Path Parameters

wallet
string
required

Wallet address (base58, 32–44 characters).

Query Parameters

from
string

Inclusive start date (UTC, YYYY-MM-DD).

to
string

Inclusive end date (UTC, YYYY-MM-DD).

pnl_mode
enum<string>
default:adjusted

PnL accounting mode. strict (FIFO) and adjusted (weighted-avg cost) are realized-PnL figures; raw is net cash-flow (Σ sells − Σ buys), not realized PnL. Unknown values fall back to adjusted.

Available options:
raw,
strict,
adjusted

Response

Performance analytics

wallet
string
pnl_mode
string
from
string | null
to
string | null
best_day
object
worst_day
object
current_streak
object
longest_win_streak
integer
longest_loss_streak
integer
max_drawdown_realized_sol
number

HEADLINE: peak-to-trough of cumulative realized.

max_drawdown_realized_pct
number | null

Null when running peak <= 0.

max_drawdown_value_sol
number

SECONDARY, close-based equity.

max_drawdown_value_basis
string

Always close-based equity curve.

active_days
integer