v1

latestOpenAPI 3.1.02026-07-228799577.7 KB
Wallet

Get Wallet PnL Calendar

Returns daily wallet snapshots with cumulative PnL plus per-day realized PnL, volume, buy and sell counts, and averages. Use period for quick windows or start and end for exact ranges. Pass ?currency=sol or ?currency=eur to convert monetary fields at read time using historical daily reference rates.

get/v2/pnl/wallets/{wallet}/history

Path parameters

walletstring required

Solana wallet address (base58, 32-44 characters).

Query parameters

currency'usd' | 'sol' | 'eur'

Denomination for monetary fields in the response. Defaults to usd. Pass sol or eur to convert USD snapshot values at read time using ClickHouse reference prices. Historical endpoints use the daily rate for each snapshot date; wallet summary uses current spot. Counts, percentages, timestamps, and ROI are not converted. Invalid values return 400.

period'1d' | '7d' | '14d' | '30d' | '90d' | 'all'

Quick date range shorthand. Ignored if start/end are set.

startstring date

Start date (YYYY-MM-DD). Defaults to 30 days ago.

endstring date

End date (YYYY-MM-DD). Defaults to today.

limitinteger

Maximum number of days to return. If more days exist, returns the most recent ones.

Response

Successful response.

walletstring
currency'sol' | 'eur'

Response denomination when ?currency=sol or ?currency=eur is requested. Omitted for the default USD response.