Wallet PnL

Solana API endpoint for fetching wallet PnL with realized and unrealized profit, win rate, trade volume and per-token performance across vetted markets.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Fetch profit and loss (PnL) data for any Solana wallet, including realized and unrealized gains, win rate, trade counts, and per-token performance. This endpoint aggregates trading activity across vetted markets to provide accurate performance analytics, helping you understand how a wallet is trading over various periods of time.

Use it to analyze profitability, identify top-performing tokens, and build trading dashboards, portfolio analytics tools, or smart money tracking systems.

Returns realized PnL, win rate, trade volume, and position details for a wallet.


Demo for Wallet Profit & Loss API

The free live demo for these endpoints can be found here:

You can visit this link to access and try the demo: https://solana-wallet-pnl-profit-and-loss-api.vybenetwork.com

Path Params
string
required

The public key (pubKey) associated with the Solana account.

Query Params
string | null
enum

Resolution of the data. Possible values: 1d, 7d, 30d, Full. Default is "1d".

Allowed:
string | null

The mint address filter for tokens. Provides the mint address to filter the requested data by.

string | null

Sort ascending by 'mintAddress', 'tokenSymbol', 'buysTransactionCount', 'buysTokenAmount', 'buysVolumeUsd', 'sellsTransactionCount', 'sellsTokenAmount', 'sellsVolumeUsd', 'realizedPnlUsd', 'unrealizedPnlUsd'. Only one of sort_by_asc or sort_by_desc can be used.

string | null

Sort descending by 'mintAddress', 'tokenSymbol', 'buysTransactionCount', 'buysTokenAmount', 'buysVolumeUsd', 'sellsTransactionCount', 'sellsTokenAmount', 'sellsVolumeUsd', 'realizedPnlUsd', 'unrealizedPnlUsd'. Only one of sort_by_asc or sort_by_desc can be used.

int32 | null
≥ 0

The limit of entries to return. If not passed, first 1000 entries are returned (the maximum).

int32 | null
≥ 0

The requested page.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json