GET
/
core
/
portfolio
/
accounts
/
{accountId}
/
performance
Get account performance
curl --request GET \
  --url https://api.enterprise.sandbox.uphold.com/core/portfolio/accounts/{accountId}/performance \
  --header 'Authorization: Bearer <token>'
{
"performance": {
"averagePricePaid": "2445.52",
"totalInvested": "1243.02",
"unrealizedGains": "14.66"
}
}
You can retrieve the performance of several accounts in the portfolio by using the Get Many Accounts Performance endpoint.

Denomination

The denomination query parameter allows you to denominate rates against another asset. If no value is set for this parameter, it defaults to USD.

Interval

The interval query parameter determines the time period for which performance data is calculated and returned. This allows you to analyze account performance over different timeframes, from recent short-term activity to comprehensive long-term investment tracking. Each interval value corresponds to a specific historical period:
IntervalDescription
one-hourPast hour of historical data
one-dayPast day of historical data
all-timeAll historical data available

Authorizations

Authorization
string
header
required

OAuth 2.0 authentication.

Path Parameters

accountId
string<uuid>
required

The account id.

Query Parameters

denomination
string
default:USD

Specifies the asset code to use as the denomination for value conversion. If not provided, USD is used by default.

Minimum length: 1
interval
enum<string>
default:one-day

The interval for the portfolio performance.

Available options:
one-hour,
one-day,
all-time

Response

200
application/json

Portfolio account performance retrieved.

The response is of type object.