get-historical-bitcoin-balance-for-address
GET /v1/btc-mainnet/address/{walletAddress}/historical_balances/
Fetches the historical Bitcoin balance held by an address at a given block height or date. Response includes daily prices and other metadata.
Request
- Base URLhttps://api.covalenthq.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
walletAddressstring required
Only Bitcoin non-HD addresses are supported.
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.
block-heightinteger
Ending block to define a block range. Omitting this parameter defaults to the latest block height.
datestring
Ending date to define a block range (YYYY-MM-DD). Omitting this parameter defaults to the current date.
Response
Successful response
Changes
No recorded changes to this operation across all 3 revisions of this API.