Parameters
- typestringREQUIRED
Request type identifier specifying 'portfolio' as the info endpoint method to retrieve comprehensive account portfolio overview and position summaries
- userstringREQUIRED
Ethereum-compatible wallet address in 42-character hexadecimal format (0x...) of the account whose complete portfolio data you want to retrieve
Returns
- periodstring
Time period identifier for this historical snapshot. Possible values: 'day', 'week', 'month', 'allTime', 'perpDay', 'perpWeek', 'perpMonth', 'perpAllTime'. Use for organizing account history by timeframe.
- accountValueHistoryarray
Array of [timestamp, value] pairs representing account equity over time for this period. Value is in USDC and includes realized and unrealized PnL. Timestamps are Unix milliseconds.
- timestampinteger
Unix timestamp in milliseconds of this historical snapshot.
- valuestring
Account equity at this time in USDC. Includes deposits, withdrawals, realized and unrealized PnL. Returned as string for decimal precision.
- pnlHistoryarray
Array of [timestamp, pnl] pairs representing realized/unrealized PnL over time for this period. Positive values indicate profit, negative values indicate loss.
- timestampinteger
Unix timestamp in milliseconds of this PnL snapshot.
- pnlstring
Profit or loss at this timestamp in USDC. Returned as string for decimal precision.
- vlmstring
Total volume traded during this period in USDC. Returned as string to preserve decimal precision.