---
title: "Deprecated: Get Wallet PnL"
method: GET
path: "/pnl/{wallet}"
tags: ["PnL"]
deprecated: true
---

# Deprecated: Get Wallet PnL

`GET /pnl/{wallet}`

> **Deprecated.**

Deprecated. Use PnL V2 instead: `GET /v2/pnl/wallets/{wallet}` for wallet summaries and `GET /v2/pnl/wallets/{wallet}/positions` for token positions.

Gets Profit and Loss data for all positions of a wallet

## Path parameters

- `wallet` string, required

## Query parameters

- `showHistoricPnL` boolean
- `holdingCheck` boolean
- `hideDetails` boolean

## Response `200`

Successful response

- WalletPnLResponse
  - `tokens` object
  - `summary` PnLSummary
    - `realized` number
    - `unrealized` number
    - `total` number
    - `totalInvested` number
    - `averageBuyAmount` number
    - `totalWins` integer
    - `totalLosses` integer
    - `winPercentage` number
    - `lossPercentage` number

---

[API](https://skmtc.dev/solanatracker/apis/solana-tracker-data-api.md) · [All operations](https://skmtc.dev/solanatracker/apis/solana-tracker-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/solanatracker/solana-tracker-data-api/revisions/c07c6f82d0c4/schema)
