# Check Solana Wallet PnL and Win Rate

**Use case:** 

Check any Solana wallet's trading performance: realized and unrealized profit, PnL, win rate, number of tokens traded, buys and sells and big-win or big-loss counts for 1 day, 7 days, 30 days or all time, as JSON, CSV or Excel.

## Input

```json
{
  "walletAddresses": [
    "13fKkRz2Fa4BV3kkgTSD9PKDMdsQaRjsZRjYTnApbYPM"
  ],
  "chain": "sol",
  "period": "30d",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  }
}
```

## Output

```json
{
  "wallet_address": {
    "label": "Wallet Address",
    "format": "text"
  },
  "address": {
    "label": "Address",
    "format": "text"
  },
  "chain": {
    "label": "Chain",
    "format": "text"
  },
  "period": {
    "label": "Period",
    "format": "text"
  },
  "buy": {
    "label": "Buy",
    "format": "number"
  },
  "buy_1d": {
    "label": "1d Buy",
    "format": "number"
  },
  "buy_7d": {
    "label": "7d Buy",
    "format": "number"
  },
  "buy_30d": {
    "label": "30d Buy",
    "format": "number"
  },
  "sell": {
    "label": "Sell",
    "format": "number"
  },
  "sell_1d": {
    "label": "1d Sell",
    "format": "number"
  },
  "sell_7d": {
    "label": "7d Sell",
    "format": "number"
  },
  "sell_30d": {
    "label": "30d Sell",
    "format": "number"
  },
  "pnl": {
    "label": "PnL",
    "format": "number"
  },
  "pnl_1d": {
    "label": "1d PnL",
    "format": "number"
  },
  "pnl_7d": {
    "label": "7d PnL",
    "format": "number"
  },
  "pnl_30d": {
    "label": "30d PnL",
    "format": "number"
  },
  "all_pnl": {
    "label": "All PnL",
    "format": "number"
  },
  "realized_profit": {
    "label": "Realized Profit",
    "format": "number"
  },
  "realized_profit_1d": {
    "label": "1d Realized Profit",
    "format": "number"
  },
  "realized_profit_7d": {
    "label": "7d Realized Profit",
    "format": "number"
  },
  "realized_profit_30d": {
    "label": "30d Realized Profit",
    "format": "number"
  },
  "unrealized_profit": {
    "label": "Unrealized Profit",
    "format": "number"
  },
  "unrealized_pnl": {
    "label": "Unrealized PnL",
    "format": "number"
  },
  "total_profit": {
    "label": "Total Profit",
    "format": "number"
  },
  "total_profit_pnl": {
    "label": "Total Profit PnL",
    "format": "number"
  },
  "balance": {
    "label": "Balance",
    "format": "text"
  },
  "eth_balance": {
    "label": "ETH Balance",
    "format": "text"
  },
  "sol_balance": {
    "label": "SOL Balance",
    "format": "text"
  },
  "trx_balance": {
    "label": "TRX Balance",
    "format": "text"
  },
  "bnb_balance": {
    "label": "BNB Balance",
    "format": "text"
  },
  "total_value": {
    "label": "Total Value",
    "format": "number"
  },
  "winrate": {
    "label": "Win Rate",
    "format": "number"
  },
  "token_sold_avg_profit": {
    "label": "Token Sold Avg Profit",
    "format": "number"
  },
  "history_bought_cost": {
    "label": "Historical Bought Cost",
    "format": "number"
  },
  "token_avg_cost": {
    "label": "Token Avg Cost",
    "format": "number"
  },
  "token_num": {
    "label": "Token Number",
    "format": "number"
  },
  "profit_num": {
    "label": "Profit Number",
    "format": "number"
  },
  "pnl_lt_minus_dot5_num": {
    "label": "PnL < -0.5 Number",
    "format": "number"
  },
  "pnl_minus_dot5_0x_num": {
    "label": "PnL -0.5-0x Number",
    "format": "number"
  },
  "pnl_lt_2x_num": {
    "label": "PnL < 2x Number",
    "format": "number"
  },
  "pnl_2x_5x_num": {
    "label": "PnL 2x-5x Number",
    "format": "number"
  },
  "pnl_gt_5x_num": {
    "label": "PnL > 5x Number",
    "format": "number"
  },
  "bind": {
    "label": "Bind",
    "format": "boolean"
  },
  "avatar": {
    "label": "Avatar",
    "format": "image"
  },
  "name": {
    "label": "Name",
    "format": "text"
  },
  "ens": {
    "label": "ENS",
    "format": "text"
  },
  "tags": {
    "label": "Tags",
    "format": "json"
  },
  "risk.token_active": {
    "label": "Risk Token Active",
    "format": "number"
  },
  "risk.token_honeypot": {
    "label": "Risk Token Honeypot",
    "format": "number"
  },
  "risk.token_honeypot_ratio": {
    "label": "Risk Token Honeypot Ratio",
    "format": "number"
  },
  "risk.no_buy_hold": {
    "label": "Risk No Buy Hold",
    "format": "number"
  },
  "risk.no_buy_hold_ratio": {
    "label": "Risk No Buy Hold Ratio",
    "format": "number"
  },
  "risk.sell_pass_buy": {
    "label": "Risk Sell Pass Buy",
    "format": "number"
  },
  "risk.sell_pass_buy_ratio": {
    "label": "Risk Sell Pass Buy Ratio",
    "format": "number"
  },
  "risk.fast_tx": {
    "label": "Risk Fast TX",
    "format": "number"
  },
  "risk.fast_tx_ratio": {
    "label": "Risk Fast TX Ratio",
    "format": "number"
  },
  "tag_rank.bluechip_owner": {
    "label": "Tag Rank Bluechip Owner",
    "format": "number"
  },
  "tag_rank.kol": {
    "label": "Tag Rank KOL",
    "format": "number"
  },
  "twitter_name": {
    "label": "Twitter Name",
    "format": "text"
  },
  "twitter_username": {
    "label": "Twitter Username",
    "format": "text"
  },
  "twitter_bind": {
    "label": "Twitter Bind",
    "format": "boolean"
  },
  "twitter_fans_num": {
    "label": "Twitter Fans Number",
    "format": "number"
  },
  "followers_count": {
    "label": "Followers Count",
    "format": "number"
  },
  "is_contract": {
    "label": "Is Contract",
    "format": "boolean"
  },
  "last_active_timestamp": {
    "label": "Last Active Time",
    "format": "number"
  },
  "avg_holding_peroid": {
    "label": "Avg Holding Period",
    "format": "number"
  },
  "updated_at": {
    "label": "Updated At",
    "format": "number"
  },
  "refresh_requested_at": {
    "label": "Refresh Requested At",
    "format": "number"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The GMGN Wallet Stat Scraper Actor is ready to run with the inputs already set for "Check Solana Wallet PnL and Win Rate". [Sign up or log in](https://console.apify.com/create-task-from-example/v9craky3UrLiGgNKQ) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Check Solana Wallet PnL and Win Rate" task

The GMGN Wallet Stat Scraper Actor will start running based on the input automatically. You can also change all the input fields, like wallet addresses, blockchain network, and more, to match your specific use case.

### 3. Receive the "Check Solana Wallet PnL and Win Rate" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as wallet address, address, chain, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Check Solana Wallet PnL and Win Rate" task via API](https://apify.com/muhammetakkurtt/gmgn-wallet-stat-scraper.md).

## FAQ

### How do I check a Solana wallet's PnL?

Paste the wallet address and run this task. It returns realized and unrealized profit, win rate, tokens traded and buy and sell counts for the period you choose.

### What is a good win rate for a Solana trader?

Many traders look for a sustained win rate above 50% across many tokens. Always read it with the number of tokens traded and realized profit, since a few lucky trades can inflate it.

### What is the difference between realized and unrealized PnL?

Realized PnL is profit or loss locked in by selling; unrealized PnL is the paper gain or loss on tokens the wallet still holds. The task returns both.

### Can I check a wallet's PnL for 7 days or all time?

Yes. Set Period to 1 day, 7 days, 30 days or all time; this task uses 30 days. Every figure in the result covers that window.

### Can I compare several Solana wallets at once?

Yes. Add multiple addresses and each wallet comes back as its own row. See the Compare Multiple Wallets' Stats task for a side-by-side example.

## About this Actor

This example demonstrates how to use [GMGN Wallet Stat Scraper](https://apify.com/muhammetakkurtt/gmgn-wallet-stat-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/muhammetakkurtt/gmgn-wallet-stat-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/muhammetakkurtt/gmgn-wallet-stat-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
