API Reference
Holdings count chart
Returns time-series data for the number of unique tokens held.
Path Parameters
address*string
Wallet address (with or without 0x prefix, case-insensitive)
Match
^0x[a-fA-F0-9]{40}$Query Parameters
period?string
Time period for chart data
Default
"30d"Value in
"1d" | "7d" | "30d" | "90d" | "1y"Response Body
application/json
text/plain
curl -X GET "https://us-east-1.user-stats.sidiora.exchange/api/v1/portfolio/0xf263aB36de550bDa08b52d43eB253b3C0387e2bc/charts/holdings"{
"address": "string",
"chart_type": "portfolio_value",
"period": "string",
"data": [
{
"date": "2019-08-24",
"value": "string"
}
]
}"string"Get token holdings for a wallet GET
Returns all ERC-20 token holdings with balances, prices, and USD values.
Get perps portfolio summary GET
Returns the complete perpetuals portfolio for a user including: - Vault status and address - All open positions with unrealized PnL - Total collateral, unrealized/realized PnL - Aggregated user stats (position counts, trade counts, orders)