GET
/
core
/
portfolio
/
historical-balance
curl --request GET \
  --url https://api.enterprise.sandbox.uphold.com/core/portfolio/historical-balance \
  --header 'Authorization: Bearer <token>'
{
  "historicalBalance": [
    {
      "timestamp": "2020-01-01T00:00:00Z",
      "balance": {
        "total": "1000.00",
        "available": "950.00"
      }
    },
    {
      "timestamp": "2020-01-02T00:00:00Z",
      "balance": {
        "total": "1200.00",
        "available": "1150.00"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

OAuth 2.0 authentication.

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 historical data.

Available options:
one-hour,
one-day,
one-week,
one-month,
one-year

Response

200 - application/json

Portfolio historical balance retrieved.

The response is of type object.