Skip to content
Alchemy Logo

Get wallet PnL (Premium)

GET
https://api.g.alchemy.com/trading/v1/{apiKey}/premium/wallets/{address}/pnl

Private preview: Paths, parameters, response fields, and tier names are provisional.

Compute units: 1,400 (proposed; pending validation).

Measure realized profit or loss over the selected period. History is hourly for 1d and 7d, and daily for 30d and all. General and Premium use different methodologies and their numbers are not comparable.

Omit networks to combine all supported EVM networks. To query Solana, set networks to solana-mainnet alone. Do not mix Solana and EVM networks.

Each history point and the summary identify the combined networks in a networks array.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

stringrequired

Wallet address.

Query Parameters

anyoptional

Networks to combine. Omit to combine all supported EVM networks. Request solana-mainnet on its own; do not combine Solana with EVM networks.

enumdefaults to 30d

Realized PnL measurement period.

Defaults to "30d".

Allowed values:

Responses

200

Successful response.

400

Invalid request parameters.

401

Invalid API key.

429

Request limit reached. Retry with backoff.

503

Data temporarily unavailable. Retry with backoff.

Was this page helpful?