Skip to main content
GET
Aggregate wallet trading statistics

Authorizations

X-API-Key
string
header
required

Preferred for the swap 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:
24h,
7d,
30d,
90d,
1y,
all
dex
string

Filter to one or more DEXes: a comma-separated list of integer IDs and/or lowercase names (e.g. pumpfun,raydium_clmm or 1,4). See DexId for the id-to-name mapping. A name that is not in DexId is ignored; if none of the values match, the result is empty.

Response

Wallet stats

Aggregate trading statistics for a wallet over a given window.

wallet
string
required
window
string
required

The time window used (all, 24h, 7d, 30d, 90d, 1y).

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. null when the window has no sell.

best_trade_mint
string | null

Mint of the best trade. null when the window has no sell.

worst_trade_pnl_sol
number | null

Realized PnL of the single worst sell, in SOL. null when the window has no sell.

worst_trade_mint
string | null

Mint of the worst trade. null when the window has no sell.

sell_count
integer

Number of sells in the window.

winning_sells
integer

Same value as win_count.

best_trade_sol
number

Same value as best_trade_pnl_sol; 0 when the window has no sell.

worst_trade_sol
number

Same value as worst_trade_pnl_sol; 0 when the window has no sell.

truncated
boolean

true when the wallet's history is too large to compute this answer. Only wallet, window and truncated are returned.