Get Portfolio Summary
Get a high-level summary of a user's portfolio including total value, available balance, and unrealized P&L.
Path parameters
The ID of the Privy user.
Query parameters
A string-encoded boolean query parameter on including current day profit and loss.
Headers
ID of your Privy app.
Response
Portfolio summary retrieved successfully.
Example response
{
"data": {
"result": {
"available_balance": "35000.00",
"cost_basis": "30000.00",
"currency": "USD",
"current_day_pnl": null,
"lots_upnl": "5000.00",
"open_orders": "0.00",
"portfolio_value": "35000.00",
"timestamp": "2024-04-15T12:00:00Z",
"withheld_value": "0.00"
}
}
}Changes
Changed in 1 of the 46 revisions of this API.731
- ▲
the
/response's property type changed fromobjectnullto no type for statusresponse-property-type-changed
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ○
added
subschema #2to the/response propertyanyOflist for the response statusresponse-property-any-of-added
- ▲