---
title: "Wallet - PnL Details"
method: POST
path: "/wallet/v2/pnl/details"
tags: ["Wallet, Networth & PnL"]
---

# Wallet - PnL Details

`POST /wallet/v2/pnl/details`

Retrieve a wallet's overall PnL and trading statistics, along with aggregated PnL and trading details for each token.

## Headers

- `x-chain` 'solana' | 'ethereum' | 'arbitrum' | 'avalanche' | 'bsc' | 'optimism' | 'polygon' | 'base' | 'zksync' | 'monad' | 'hyperevm' | 'mantle' | 'megaeth' | 'robinhood'

## Request body

- object
  - `wallet` string, required
  - `token_addresses` string[]
  - `duration` 'all' | '90d' | '30d' | '7d' | '24h'
  - `position_scope` 'duration_only' | 'cumulative' — Calculation mode for PnL. duration_only calculates PnL only for each selected time bucket. cumulative calculates realized_pnl cumulatively from the start time, while unrealized_pnl is based on the all-time open position. Defaults to duration_only.
  - `sort_type` 'asc' | 'desc'
  - `sort_by` 'last_trade'
  - `limit` integer
  - `offset` integer

## Response `200`

JSON object containing a wallet

- CommonResponseType
  - `success` boolean, required
  - `data` object, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized. API key is missing or invalid
- `403` — Forbidden. Request is blacklisted or not whitelisted
- `429` — Too Many Requests. Rate limit reached
- `500` — Internal Server Error

---

[API](https://skmtc.net/birdeye/apis/birdeye-data-api.md) · [All operations](https://skmtc.net/birdeye/apis/birdeye-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/birdeye/birdeye-data-api/versions/fcaba926a089/schema)
