Aggregate wallet trading statistics
Returns aggregate trading statistics for the wallet over the specified window: best and worst trades by realized PnL, win rate, total trade count, and total SOL volume.
An empty wallet (no indexed swaps) returns 200 with zero values. Response cached 60 seconds.
Authorizations
Preferred for swaps-api endpoints (/swaps/*, /stats/*, /trending, /pool-events).
Path Parameters
Wallet address (base58, 32–44 characters).
Query Parameters
Time window to compute stats over.
30d, 90d, 1y, all 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.
Number of sells that were profitable.
Fraction of sells that were profitable (0.0–1.0).
Cumulative SOL volume.
Realized PnL of the single most profitable sell, in SOL.
Mint of the best trade.
Realized PnL of the single worst sell, in SOL.
Mint of the worst trade.

