Skip to main content
GET
Get portfolio

Path Parameters

account
string<hex>
required

Ethereum-style account address for the sub-account context.

from
integer<int64>
required

Start timestamp in milliseconds (inclusive). Use 0 for all available history.

Required range: x >= 0
to
integer<int64>
required

End timestamp in milliseconds (inclusive). Use 0 for the latest available snapshot.

Required range: x >= 0
interval
enum<string>
required

Aggregation interval for the portfolio curves. Candle timeframe/interval for aggregation

Available options:
1m,
5m,
15m,
30m,
1h,
4h,
1d
Example:

"1h"

Response

Portfolio curves

equity
object[]
required

Equity curve sampled from account snapshots.

pnl
object[]
required

PnL curve derived from equity, net of bridge and vault cash flows.

summary
object
required

Aggregate portfolio metrics for the requested range.