Kraken Embed
Get Master Account Portfolio Summary
Get a high-level summary of the master account's portfolio including total value, available balance, and unrealized P&L.
get/v1/kraken_embed/master_account/summary
Query parameters
quotestring
include[current_day_pnl]'true' | 'false'
A string-encoded boolean query parameter on including current day profit and loss.
Headers
privy-app-idstring required
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"
}
}
}