Skip to main content
Fetch a wallet summary for total returns, then query positions for the tokens behind those numbers. Use history for daily changes, charts for a time series, and risk data for current exposure.

Wallet summary

The wallet summary returns total PnL, win rate, token counts, and ROI distribution.

Currency denomination

Wallet summary, history, and performance support ?currency=usd|sol|eur (default usd). When you pass sol or eur, monetary values are converted at read time and the response includes a top-level "currency" field.
Historical SOL/EUR values are approximate — each day uses that day’s reference rate, so cumulative converted values won’t chain perfectly across days. Field names stay USD-oriented in some places (e.g. activity.volume.costUsd); use the top-level currency field to determine denomination.

Token positions

The positions endpoint lists every token a wallet has traded. Sort by PnL, ROI, or value. Filter by holding state, market, minimum invested amount, and more.

PnL mode

The wallet summary, positions, and single-position endpoints support ?pnlMode=strict|adjusted|raw. Default is strict, which filters out positions with sell amounts greater than buy amounts (usually invalid). Switch to adjusted for a cost-basis-corrected view, or raw to see everything unfiltered. See the Essentials for details.

Common filters

Single position

Use the wallet token position endpoint for one mint:
Returns the full position: realized/unrealized PnL, cost basis, current value, buy/sell counts, trade timing, and token metadata.

PnL calendar

The PnL calendar endpoint shows how a wallet’s PnL changed day by day. PnL calendar showing daily green and red profit and loss cells
Each day includes:
  • Running totals — PnL, invested, and proceeds as of that day
  • Daily activity — that day’s realized PnL, volume, and trade counts
Use history when you need to explain what changed each day. Use chart when you need a visual equity curve.

Choosing a time window

Time-range parameters vary by endpoint. Use the following options for history, performance, charts, and KOL period queries: Use period or days only where the endpoint supports it. Pass start and end for an explicit date range on history and KOL period queries.

Chart data

The chart endpoint returns up to 180 daily data points for plotting equity, realized PnL, and activity. PnL chart showing realized profit over time, volume, win rate, and drawdown
Use time_from and time_to (Unix seconds) to page through older data.

Performance

The performance endpoint summarizes activity over the requested window: Wallet performance panel showing best day, worst day, streaks, and drawdown

Highlights

The highlights endpoint returns a wallet’s most notable positions: PnL highlights panel showing biggest winner, loser, bag, and fastest flip

Biggest Winner

The position with the highest realized PnL

Biggest Loser

The position with the worst realized loss

Fastest Flip

Shortest hold time with a profit

Longest Hold

The position held for the most time

Largest Bag

Current holding with the highest USD value

Most Traded

The token with the most buy/sell transactions

Risk

The risk endpoint evaluates current portfolio exposure: Wallet exposure panel showing open positions, cost basis, current value, and PnL mix
  • Portfolio concentration — how much is in the top 1 and top 5 positions
  • Realized vs unrealized split — is the wallet sitting on paper gains or locked-in profits?
  • Open position value — total USD value of current holdings
  • Risky holdings — list of tokens with low liquidity or high concentration risk
Risk only covers current holdings. Sold positions aren’t included.

Live updates

Keep a wallet in sync with the Datastream PnL V2 rooms instead of polling:
  • pnl:{wallet}:summary — total wallet PnL summary with realized/unrealized PnL, ROI, counts, averages, and open-position totals.
  • pnl:{wallet} — every token the wallet touches, tradeUpdate / balanceUpdate.
  • pnl:{wallet}:{token} — a single position.
Seed your UI with GET /v2/pnl/wallets/:wallet, then subscribe to the summary room. See the Datastream PnL guide for the full event payloads.

Token traders

See how a specific token was traded across wallets.

API Reference

Full schema details for the wallet summary response.