What this endpoint does
With this API, you can:- Analyze wallet trading performance over a selected period (1d, 7d, 30d, 90d)
- Retrieve total performance metrics including realized and unrealized PnL
- Get a win rate distribution across profit/loss ranges
- Get a market cap distribution of traded tokens
- Review detailed trading statistics (buys, sells, volumes, win rate, holding behavior)
- Retrieve the wallet’s most profitable token (if available)
- Retrieve labels associated with the wallet (Smart Money, Early Adopter, etc.)
What you’ll need
- Basic knowledge of REST APIs
- A wallet address
- A Mobula API key
Get a free API key: Here Optional:
- DexScreener (to find active wallets to test)
When to use Get Wallet Trading Analysis
Use this endpoint when you want to:- Track wallet PnL and trading performance over time
- Score wallets based on win rate and trading behavior
- Identify smart wallets using distribution metrics and labels
- Analyze risk profile through market cap exposure
- Research a wallet before following or copying trades
If you need all token positions in a wallet, use wallet/positions.
Walkthrough to Get Wallet Trading Analysis for a Wallet
1. Prepare your query
Thewallet/analysis endpoint requires one parameter to work:
| Parameter | Description |
|---|---|
wallet | Wallet address to analyze |
blockchain: analyze a specific blockchain (if not provided, analysis runs across all supported chains)period: analysis period (1d,7d,30d,90d), default is7d
2. Find a wallet address to test
To retrieve real wallet data:- Open DexScreener
- Search for any token you want
- Open the Top Traders section
- Select an active wallet
- Open it in the blockchain explorer
- Copy the wallet address
wallet parameter.
3. Select your period (optional)
If you want a different window than the default:- Use
period=1dfor short-term performance - Use
period=30dorperiod=90dfor longer-term analysis
4. Fill the API form
Once the wallet address is filled (and optional filters are set), click Send to retrieve the wallet trading analysis data.Reviewing the wallet trading analysis response
The response returns a single analytics object insidedata, including:
Win Rate Distribution
This summarizes how many trades fall into profit/loss ranges:>500%200%-500%50%-200%0%-50%-50%-0%<-50%
Market Cap Distribution
This shows what size of tokens the wallet trades most:>1000M(over $1B)>100M(1B)10M-100M1M-10M100k-1M<100k
Trading Statistics (stat object)
Key trading metrics you can use for scoring and analytics, including:
totalValue(current portfolio value in USD)periodTotalPnlUSD(realized + unrealized PnL for the period)periodRealizedPnlUSDandperiodRealizedRate- Buy/sell activity:
periodBuys,periodSells,periodVolumeBuy,periodVolumeSell - Token coverage:
periodTradingTokens,periodBuyTokens,periodSellTokens - Holding behavior:
holdingTokensCount,holdingDuration - Win performance:
winRealizedPnl,winRealizedPnlRate winToken(most profitable token, if available)fundingInfo(initial wallet funding context, when available)nativeBalance(native token balance details)
Period Timeframes
A time series of realized PnL points:daterealized
Labels
An array of labels tied to the wallet (examples: Smart Money, Early Adopter, etc.). This can be used directly in UI badges or wallet ranking systems.Try It Live with Mobula Wallet Analysis Demo (UI)
You can also test this endpoint using our demo UI: Demo UI Homepage Wallet Analysis Demo UI DocsSummary
The Get Wallet Trading Analysis endpoint provides advanced wallet performance analytics, including:- PnL tracking over a selected period
- Win rate distribution across profit/loss ranges
- Market cap distribution of traded tokens
- Detailed trading statistics for wallet scoring
- Timeframe-based realized PnL series
- Wallet labels for classification (when available)
Try Mobula for Free
Try our free API today and start building in minutes.Get your free API key: Here