Get Pnl By Token With Historical Breakdown
Holdings
Fetch historical PnL by Wallet & Token
Get the Historical PnL for a given wallet address and token address.
POST
Get Pnl By Token With Historical Breakdown
This endpoint provides unrealized and realized PnL for specific wallet and token address combinations at specified time periods and granularities.Documentation Index
Fetch the complete documentation index at: https://docs.allium.so/llms.txt
Use this file to discover all available pages before exploring further.
Time Range Parameters
start_timestamp- Beginning of the time range (inclusive)end_timestamp- End of the time range (exclusive)- Both timestamps are assumed to be in UTC if no timezone is specified
- All returned data is in UTC
Granularity Options
1d- Daily intervals1h- Hourly intervals
Supported Chains
Authorizations
Body
application/json
Payload for historical PNL by token.
Start of time range (UTC ISO 8601)
End of time range (UTC ISO 8601)
Time interval granularity (1d, 1h, 5m, 1m, 15s)
Available options:
1h, 1d, 1m, 5m, 15s List of wallet chain+address+token triples
Required array length:
1 - 20 elementsResponse
Successful Response