Path Parameters
- xpub_or_addressstringREQUIRED
A Bitcoin address or XPUB to query.
Query Parameters
- frominteger
The starting Unix timestamp (in seconds) for the time range.
- tointeger
The ending Unix timestamp (in seconds) for the time range.
- fiatcurrencystring
Fiat currency code for exchange rate conversion (e.g., usd, eur).
- groupByinteger
The time interval in seconds for grouping balance data (e.g., 3600 for hourly).
- gapinteger
The gap limit used when deriving addresses from an extended public key (xpub). Defaults to 20.
Returns
- timeinteger
Unix timestamp for the time interval
- txsinteger
Number of transactions in the interval
- receivedstring
Total amount received in satoshis during the interval
- sentstring
Total amount sent in satoshis during the interval
- sentToSelfstring
Amount sent to self in satoshis during the interval
- ratesobject
Exchange rates at the time of the interval
- {currency}integer
Exchange rate in the requested fiat currency
1[2{3"time": 1683684000,4"txs": 19,5"received": "1289573714",6"sent": "1331774394",7"sentToSelf": "1055024095",8"rates": {9"usd": 27639.73410}11},12{13"time": 1683687600,14"txs": 7,15"received": "838521590",16"sent": "1044980796",17"sentToSelf": "708554480",18"rates": {19"usd": 27639.73420}21}22]
1[2{3"time": 1683684000,4"txs": 19,5"received": "1289573714",6"sent": "1331774394",7"sentToSelf": "1055024095",8"rates": {9"usd": 27639.73410}11},12{13"time": 1683687600,14"txs": 7,15"received": "838521590",16"sent": "1044980796",17"sentToSelf": "708554480",18"rates": {19"usd": 27639.73420}21}22]