API Reference
Get total balance with daily PnL
Returns the current total portfolio balance broken down by native, tokens, and perps, plus the daily PnL compared to yesterday's snapshot. Also saves a daily snapshot for historical tracking.
Path Parameters
address*string
Wallet address (with or without 0x prefix, case-insensitive)
Match
^0x[a-fA-F0-9]{40}$Response Body
application/json
text/plain
curl -X GET "https://us-east-1.user-stats.sidiora.exchange/api/v1/portfolio/0xf263aB36de550bDa08b52d43eB253b3C0387e2bc/balance"{
"address": "string",
"native_balance_usd": "string",
"token_balance_usd": "string",
"perps_value_usd": "string",
"total_balance_usd": "string",
"native_balance": "string",
"token_count": 0,
"daily_pnl_usd": "string",
"daily_pnl_percent": "string",
"computed_at": "2019-08-24T14:15:22Z"
}"string"