GET
cURL

Authorizations

Authorization
string
header
required

The authorization field takes the session bearer returned by sign-in, or an API key where the route allows keys. Paste the token itself into the authorization field. When invitation-only access is enabled, private operations require the account's sign-in email to be invited. Sign-in can complete without an invitation, but private HTTP, MCP and FIX operations refuse with access_not_allowlisted (HTTP 403): "Private access is limited to invited accounts. Contact support to request access." Public market data remains available. Invitation changes apply to the next private operation, including existing FIX sessions. Do not retry until support confirms access.

Path Parameters

accountId
string
required
Minimum string length: 1

Query Parameters

range
enum<string>

Optional chart range ending now. 3m is 90 days, 6m is 180 days, and 1y is 365 days. Defaults to 30d.

Available options:
1d,
7d,
14d,
30d,
3m,
6m,
1y
method
enum<string>

Optional valuation method. Defaults to held-tokens-at-candle-close/v1. Select live-total-value-past-equity-less-later-cash-flows/v1 for the legacy series.

Available options:
held-tokens-at-candle-close/v1,
live-total-value-past-equity-less-later-cash-flows/v1

Response

Success

version
string
required
Allowed value: "account-portfolio-history/v1"
accountId
string
required
Minimum string length: 1
asset
string
required

The account asset every value is counted in.

Minimum string length: 1
method
string
required

The method that built the values. Clients must accept new method names. held-tokens-at-candle-close/v1 is the default. Earlier points add the held spot tokens to account equity. Fill quantities, credited deposits, completed withdrawals and committed account transfers rewind the projected token balances to each point. Each token uses the latest completed one-minute trade candle close at or before the point on an Edel spot market quoted in the account asset. This carries the last earlier close through gaps. A token with no eligible close contributes zero. The last point uses the live total account value when available and the same candle method otherwise. Collateral is already in equity. live-total-value-past-equity-less-later-cash-flows/v1 is the legacy method. It reports token value at the live point only. When the legacy live token valuation is unavailable it returns live-equity-less-later-cash-flows/v1. Both methods estimate earlier equity from live equity less subsequent credited deposits, settled withdrawals, committed account transfers, fees, spot quote amounts, and realized profit and loss plus recorded funding at position close. An account transfer counts at receipt time. A deposit held for a receipt check counts once credited. Untimed changes such as unrealized profit and loss are treated as constant across the range. Late projections and any balance movements without a timed record can affect earlier estimates.

Minimum string length: 1
range
enum<string>
required
Available options:
1d,
7d,
14d,
30d,
3m,
6m,
1y
fromEpochMs
integer
required
Required range: x >= 0
toEpochMs
integer
required
Required range: x >= 0
bucketMs
integer
required
points
object[]
required
Required array length: 2 - 400 elements
freshness
object
required

The least fresh of the fill, transfer and position projections the cash flows come from.