Skip to main content
GET
/
api
/
v1
/
portfolio_chart
Get portfolio chart data
curl --request GET \
  --url https://api.mainnet.aptoslabs.com/decibel/api/v1/portfolio_chart \
  --header 'Authorization: Bearer <token>'
[
  {
    "data_points": 123,
    "timestamp": 123,
    "vault_equity": 123
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.decibel.trade/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token from Geomi. See Authentication for setup instructions.

Query Parameters

account
string
required

User account address

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.