v1

latestOpenAPI 3.1.02026-08-0466147138.0 KB
Auxiliary

Get historical portfolio balances for an address.

Get historical portfolio balances for an address. The default and only granularity is daily. The data is collected at a daily interval. The response is cached for 4 hours.

get/user/portfolio/{address}

Path parameters

addressstring required

The user's address

Example:0x1234567890abcdef

The user's address

Query parameters

start_timestampinteger

Unix timestamp for the start of the time series data, trimmed to 8 decimal places.

Example:1706225932

Unix timestamp for the start of the time series data, trimmed to 8 decimal places.

end_timestampinteger

Unix timestamp for the end of the time series data, trimmed to 8 decimal places

Example:1706539710

Unix timestamp for the end of the time series data, trimmed to 8 decimal places

Response

OK

balance_btcstring required

The user's balance across all of Superform at this point in time, in BTC

balance_ethstring required

The user's balance across all of Superform at this point in time, in ETH

balance_usdstring required

The user's balance across all of Superform at this point in time, in USD

timestampinteger required

Unix timestamp at which this user balance was calculated

Example response

[
  {
    "balance_btc": "0.59378",
    "balance_eth": "125.435",
    "balance_usd": "1000",
    "timestamp": 1706225932
  }
]