Get balance history for an address or XPUB
GET
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the balance history for the specified address or XPUB between the from and to date parameters. The balances can be optionally converted to a specified fiat currency and grouped by time intervals.
Parameters
accountstringrequiredpathXPUB or address to query balance history for
fromstring<date-time>requiredqueryStart date (ISO 8601 format, e.g. 2023-01-01T00:00:00Z)
tostring<date-time>requiredqueryEnd date (ISO 8601 format, e.g. 2023-01-10T00:00:00Z)
fiatcurrencystringqueryFiat currency code to convert balances (e.g., USD, EUR). Optional.
groupByintegerqueryGroup results by time interval in seconds (e.g., 86400 for daily). Optional.
Response
200OK
Balance history retrieved successfully
400Bad Request
Invalid or missing parameters
500Internal Server Error
Internal server error