Subaccounts

Get subaccount portfolio history

Retrieve historical portfolio value snapshots for a subaccount.

Requires authentication.

GET
/subaccounts/portfolio/history

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).

Formatint64
end_ts?string

End time in nanoseconds (optional, default: now).

Formatint64
intv?string

Resolution in nanoseconds (optional, default: 60000000000 = 1 minute).

Formatint64

Response Body

application/json