Skip to main content

Query Historical Portfolio

Fetches the historical portfolio for a given wallet.

URL

GET wallets/:id/portfolio/historical

Headers

NameRequiredDescription
x-api-keyYesNode API Key

Path Parameters

NameTypeDescription
idstringID of the wallet. Can be either the Ethereum address or the wallet ID.

Query Parameters

NameTypeRequiredDescription
resolutionnumberNoResolution of the data points in seconds.
startTimenumberNoUnix timestamp of the start time for the data points.
endTimenumberNoUnix timestamp of the end time for the data points.
addressstringNoEthereum address of the wallet.
chainnumberNoEthereum chain ID.
currencystringNoCurrency to use for the portfolio value.

Response

A successful response will return an array of objects with the following properties:

NameTypeDescription
timenumberUnix timestamp of the data point
totalnumberTotal value of the portfolio at the given time