Skip to main content
GET
Get portfolio chart data

Authorizations

Authorization
string
header
required

Bearer token from Geomi. See Authentication for setup instructions.

Query Parameters

account
string
required

User account address (user query alias is also accepted)

range
enum<string>
required

Time range for chart data

Available options:
24h,
7d,
30d,
90d,
all
data_type
enum<string>
required

Data type: pnl or account_value

Available options:
pnl,
account_value

Response

Portfolio chart data retrieved successfully

data_points
number<double>
required
timestamp
integer<int64>
required
vault_equity
number<double> | null

Vault equity: user's proportional share of vault NAV(s). None for users with no vault deposits, or for PnL data_type.