Skip to main content
GET
Get per-token profitability for a wallet across multiple chains.
This is the multi-chain successor to the legacy Deep Index Wallet PnL Breakdown endpoint. Pass multiple chains (or mainnets) to get per-token profitability across chains in a single request.

Authorizations

X-Api-Key
string
header
required

Path Parameters

walletAddress
string
required

The address

Query Parameters

chains
enum<string>[]

Chains to query

Available options:
0x1,
ethereum,
0x171,
pulse,
0x2105,
base,
0x38,
binance,
0x89,
polygon,
0xa,
optimism,
0xa86a,
avalanche,
all,
mainnets
tokenAddresses
string[]

Filter to specific token addresses. A single value is coerced to a one-element array. Omit to return all tokens.

period
string

Period (e.g. 7d, 30d, all). Ignored when fromTimestamp/toTimestamp are provided.

Example:

"7d"

fromTimestamp
string

From timestamp in ms.

toTimestamp
string

To timestamp in ms.

limit
number
default:100
Required range: x >= 1
cursor
string

Encoded v2 cursor (JWT).

sortBy
enum<string>
default:totalPnl
Available options:
realizedPnl,
unrealizedPnl,
totalPnl,
volume,
tradeCount
excludeLowLiquidity
boolean
minVolumeUsd
number
Required range: x >= 0
minTradeCount
number
Required range: x >= 0

Response

200 - application/json
meta
object
required
result
object[]
required
cursor
string | null
required

Encoded v2 cursor (JWT) — refresh within 5 minutes per cursor staleness contract

limit
number
required
Example:

100