get-historical-portfolio-value-over-time

Commonly used to render a daily portfolio balance for an address broken down by the token. The timeframe is user-configurable, defaults to 30 days.

get/v1/{chainName}/address/{walletAddress}/portfolio_v2/

Path parameters

chainNamestring required

The chain name eg: eth-mainnet.

walletAddressstring required

The requested address. Passing in an ENS, RNS, Lens Handle, or an Unstoppable Domain resolves automatically.

Query parameters

quote-currencystring

The currency to convert. Supports USD, CAD, EUR, SGD, INR, JPY, VND, CNY, KRW, RUB, TRY, NGN, ARS, AUD, CHF, and GBP.

daysinteger

The number of days to return data for. Defaults to 30 days.

Response

Successful response

addressstring

The requested address.

updated_atstring date-time

The timestamp when the response was generated. Useful to show data staleness to users.

quote_currencystring

The requested quote currency eg: USD.

chain_idinteger

The requested chain ID eg: 1.

chain_namestring

The requested chain name eg: eth-mainnet.