Skip to main content
GET
Streaks, drawdown & best/worst day

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 | null
worst_day
object | null
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