get-historical-portfolio-value-over-time

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

Returns a daily portfolio balance for an address, broken down by token. The timeframe is user-configurable and defaults to 30 days.

Request

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.

Changes

No recorded changes to this operation across all 3 revisions of this API.