Balance

This is a detailed documentation on how to check your historical balance statistics data as available on minerstat dashboard. The result of this endpoint is object with pools and wallets elements. Each element contains the data that is needed to display pools and wallets related historical information. The data is updated every 20 minutes for pools and every 30 minutes for wallets.

https://api.minerstat.com/v2/stats-balance/{ACCESS_KEY}?timezone={TIMEZONE}

Parameters

Parameter
Type
Description
Required{ACCESS_KEY}
string
This is your unique access key. If you forgot what is the value, check this help article.
{TIMEZONE}
string
Optional parameter, which will return historical data in your timezone. If you skip this parameter, the results will shown for UTC.

Example call

https://api.minerstat.com/v2/stats-balance/4cc355k3y?timezone=Europe/Tallinn

Example response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
 "pools":{
  "1526106613":{
   "Ethermine (ETH)":{
    "ETH": 0.00107382,
    ...
   },
   ...
  },
  "1526107745":{
   "Ethermine (ETH)":{
    "ETH": 0.00110999,
    ...
   },
   ...
  },
  ...
 },
 "wallets":{
  "1526106613":{
   "Kraken":{
    "BTC": 0.00107382,
    "ETH": 0.75434543,
    ...
   },
   "Blockchain (BTC)":{
    "BTC": 0.20254544,
    ...
   },
   ...
  },
  "1526107745":{
   "Kraken":{
    "BTC": 0.00107382,
    "ETH": 0.75434543,
    ...
   },
   "Blockchain (BTC)":{
    "BTC": 0.20254544,
    ...
   },
   ...
  },
  ...
 }
}
Parameter
Type
Description
pools
object{}
List of all timestamps when pools were monitored.
 pools.{TIMESTAMP}
object{}
List of all pools that were monitored at UNIX timestamp {TIMESTAMP}.
  pools.{TIMESTAMP}.{POOL}
object{}
List of all coins and their balances that were monitored at timestamp {TIMESTAMP} on pool {POOL}.
   pools.{TIMESTAMP}.{POOL}.{COIN}
real
Amount of {COIN} that was monitored at UNIX timestamp {TIMESTAMP} on pool {POOL}.
wallets
object{}
List of all timestamps when wallets were monitored.
 wallets.{TIMESTAMP}
object{}
List of all wallets that were monitored at UNIX timestamp {TIMESTAMP}.
  wallets.{TIMESTAMP}.{WALLET}
object{}
List of all coins and their balances that were monitored at timestamp {TIMESTAMP} on wallet {WALLET}.
   wallets.{TIMESTAMP}.{WaLLET}.{COIN}
real
Amount of {COIN} that was monitored at UNIX timestamp {TIMESTAMP} on wallet {WALLET}.