Retrieve comprehensive portfolio performance data for a specific user across different time periods, including account value history, PnL history, and volume metrics.
info
endpoint with type: "portfolio"
retrieves comprehensive portfolio performance data for a specific user on the Hyperliquid exchange. This endpoint provides detailed historical performance metrics across multiple time periods, enabling thorough analysis of trading performance, account value progression, and volume activity.
type
(string, required) — The request type. Must be "portfolio"
to retrieve portfolio data.user
(string, required) — Address in 42-character hexadecimal format; e.g. 0x0000000000000000000000000000000000000000."day"
— Daily portfolio performance (last 24 hours)"week"
— Weekly portfolio performance (last 7 days)"month"
— Monthly portfolio performance (last 30 days)"allTime"
— All-time portfolio performance since account creation"perpDay"
— Daily perpetual trading performance"perpWeek"
— Weekly perpetual trading performance"perpMonth"
— Monthly perpetual trading performance"perpAllTime"
— All-time perpetual trading performanceaccountValueHistory
— Array of [timestamp, value] pairs showing account value progression over timepnlHistory
— Array of [timestamp, pnl] pairs showing profit/loss progression over timevlm
— Volume metric for the time period as a stringinfo
endpoint with type: "portfolio"
is essential for applications that need to:
Successful response with portfolio data
Array of portfolio performance data across different time periods