Global

This is a detailed documentation on how to check global statistics data as available on minerstat dashboard. The result of this endpoint is object with various elements. Each element contains the data that is needed to display different global profitability related historical information. The data is updated every 10 minutes.

https://api.minerstat.com/v2/stats-global/{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-global/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
47
48
49
50
51
52
53
54
55
56
{
 "global": {
  "1525589401": 10.631468,
  "1525590001": 8.6616613,
  ...
 },
 "groups": {
  "amd": {
   "1525589401": 0.0245212,
   "1525590001": 0.0286454,
   ...
  },
  "msos": {
   "1525589401": 1.2432413,
   "1525590001": 1.6542534,
   ...
  },
  "S9": {
   "1525589401": 4.6553434,
   "1525590001": 4.4323434,
   ...
  },
  ...
 },
 "coins": {
  "ETH": {
   "1525589401": 2.2543542,
   "1525590001": 2.2486785,
   ...
  },
  "DCR": {
   "1525589401": 0.0546554,
   "1525590001": 0.0543538,
   ...
  },
  ...
 },
 "daily": {
  "1525564800": 9.6977841,
  "1525651200": 4.0620775,
  ...
 },
 "daily_coins": {
  "1525564800": {
   "ETH": [8958.0564,144,67.3812],
   "BTC": [561.3214,144,0.00543],
   ...
  },
  "1525651200": {
   "ETH": [9534.0564,144,67.3812],
   "BTC": [561.5342,144,0.00542],
   ...
  },
  ...
 }
}
Parameter
Type
Description
global
object{}
Historical data with global profitability in USD for all workers.
 global.{TIMESTAMP}
real
Estimated daily profitability in USD for all workers for UNIX timestamp {TIMESTAMP}.
groups
object{}
List of all groups assigned to workers. You can add custom groups to worker in your minerstat dashboard.
 groups.{GROUP}
object{}
Historical data with global profitability in USD for all workers from group with name {GROUP}.
  groups.{GROUP}.{TIMESTAMP}
real
Estimated daily profitability in USD for all workers in group {GROUP} for UNIX timestamp {TIMESTAMP}.
coins
object{}
List of all coins that were mined with user's account.
 coins.{COIN}
object{}
Historical data with global profitability in USD for all workers that mined coin with name {COIN}.
  coins.{COIN}.{TIMESTAMP}
real
Estimated daily profitability in USD for coin {COIN} for UNIX timestamp {TIMESTAMP}.
daily
object{}
Historical data with average daily profitability in USD for all workers by day.
 daily.{TIMESTAMP}
real
Estimated average daily profitability in USD for all workers for UNIX timestamp {TIMESTAMP}.
daily_coins
object{}
Historical data with average daily profitability in USD by day by coins.
 daily_coins.{TIMESTAMP}
object{}
List of all coins that were mined on the day that starts with timestamp {TIMESTAMP} and their average profitability data for that day.
  daily_coins.{TIMESTAMP}.{COIN}
array[]
Average profitabilty data for coin with name {COIN} on day that starts with {TIMESTAMP} in format [profitability_sum, count, amount_sum]. Daily average profitability of {COIN} in USD is calculated as profitability_sum/count and daily average amount of mined coins as amount_sum/count.