Worker hashrate

This is a detailed documentation on how you can check hashrate data of your worker. Besides hashrate, this API will also show some other data that is used on the worker's profile, such as temperatures, fans speeds, power consumptions, coins' colors, and units. The result of this endpoint is object with various elements. Each element contains the data that is needed to display different worker related historical information. The data is updated every 10 minutes.

https://api.minerstat.com/v2/stats-hashtemp/{ACCESS_KEY}/{WORKER_NAME}?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.
Required{WORKER_NAME}
string
This is the name of your worker. API won't return any result if you didn't add a worker with this name in your minerstat dashboard.
{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-hashtemp/4cc355k3y/Worker001?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
{
 "colors: "{
   "ETH": "#7b8fed",
   "HNS": "#bcbcbc",
   ...
 },
 "units": {
   "ETH": "MH",
   "HNS", "MH",
   ...
 },
 "resultsHash": {
  "ETH": [
   [15276708, 121.5432],
   [15276714, 123.6354],
   [15276720, 125.1423],
   [15276726, 121.1432],
   ...
  ],
  "HNS: [
   [15276708, 6.09861],
   [15276714, 6.40408],
   [15276720, 6.83237],
   [15276726, 6.86901],
   ...
  ],
  ...
 },
 "resultsTemp": [[
   [15276708, 59, 75, 121],
   [15276714, 60, 74, 124],
   [15276720, 60, 75, 123],
   [15276726, 59, 75, 123],
   ...
  ],[
   [15276708, 61, 75, 122],
   [15276714, 62, 75, 121],
   [15276720, 62, 75, 124],
   [15276726, 63, 76, 123],
   ...
  ],
  ...
 },
 "resultsPower": [
  [15276708, 1041],
  [15276714, 1047],
  [15276720, 1045],
  [15276726, 1042],
  ...
 ]
}
Parameter
Type
Description
colors
object{}
List of all colors that represent the coins this worker mined.
 colors.{COIN}
string
Color of the coin with name {COIN} in HEX format.
units
object{}
List of all units for the coins this worker mined.
 units.{COIN}
string
Unit for coin with name {COIN}.
resultsHash
object{}
List of all coins this worker mined and its hashrates.
 resultsHash.{COIN}
array[]
Array of historical data in [timestamp, hashrate] format for coin with name {COIN}. Please note that timestamp must be multiplied by 100 to get UNIX timestamp number.
resultsTemp
array[]
List of all hardware this worker used for mining.
 resultsTemp[i]
array[]
Array of historical data in [timestamp, temperature, fans, power] format for i-th hardware. Please note that timestamp must be multiplied by 100 to get UNIX timestamp number.
resultsPower
array[]
Array of historical data in [timestamp, power] format. Please note that timestamp must be multiplied by 100 to get UNIX timestamp number.