cURL
curl --request GET \ --url https://api.0d.finance/{version}/users/{address}/vaults/{vault_id}/historical
{ "metric": "all_time_pnl", "points": [ { "t": "2023-11-07T05:31:56Z", "v": "<string>" } ], "timeframe": "7d" }
Get historical performance metrics for a user’s vault position
User wallet address
Vault identifier
User performance metric to return
all_time_pnl
unrealized_pnl
realized_pnl
Time period for data
7d
30d
1y
all
Display currency
usd
usdc
Historical User performance
Show child attributes