Subaccounts
Get subaccount portfolio history
Retrieve historical portfolio value snapshots for a subaccount.
Requires authentication.
Authorization
ApiKeyAuth ApiSignatureAuth ApiTimestampAuth x-api-key<token>
API key for authentication
In: header
x-api-signature<token>
HMAC-SHA256 signature: base64(HMAC(timestamp + method + path + body, secret))
In: header
x-api-timestamp<token>
Unix timestamp in seconds
In: header
Query Parameters
sub_addr?string
Subaccount wallet address (e.g., "0x1234...").
start_ts?string
Start time in nanoseconds (optional, default: 1 hour ago). start_ts must be no more than 366 days before now.
Format
int64end_ts?string
End time in nanoseconds (optional, default: now).
Format
int64intv?string
Resolution in nanoseconds. Accepted values: 1m (60000000000), 5m (300000000000), 1h (3600000000000), 4h (14400000000000), 1d (86400000000000), 1w (604800000000000). Other values default to 1m. (end-start)/intv must be <= 500 buckets.
Format
int64Response Body
application/json