API Reference
Get PnL history
Returns daily PnL history showing portfolio value changes over time. Each entry includes total value, component breakdown, and daily change.
Path Parameters
address*string
Wallet address (with or without 0x prefix, case-insensitive)
Match
^0x[a-fA-F0-9]{40}$Query Parameters
days?integer
Number of days of history (max 365)
Default
30Range
value <= 365Response Body
application/json
text/plain
curl -X GET "https://us-east-1.user-stats.sidiora.exchange/api/v1/portfolio/0xf263aB36de550bDa08b52d43eB253b3C0387e2bc/pnl"{
"address": "string",
"days_requested": 0,
"history": [
{
"date": "2019-08-24",
"total_value_usd": "string",
"native_value_usd": "string",
"token_value_usd": "string",
"pnl_usd": "string",
"pnl_percent": "string"
}
]
}"string"PnL chart GET
Returns time-series PnL data (change between consecutive snapshots).
Get full portfolio for a wallet GET
Returns the complete portfolio for a wallet address including: - Native PAX balance with USD value - All ERC-20 token holdings with prices - Perpetuals portfolio summary (vault, positions, PnL) - Total portfolio value in USD