Worker activity

This is a detailed documentation on how you can check various historical activity data for your worker. The data shows all detected events and is updated when new event happens.

https://api.minerstat.com/v2/stats-activity/{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-activity/4cc355k3y/Worker001?timezone=Europe/Tallinn

Example response

1
2
3
4
5
6
7
8
9
10
11
12
[
 [
  1586676902,
  ["consoleAlert",["GPU error (1)","5","Unable to access fan data"]],
  ["switch",["ETC","ETH"]],
  ...
 ],[
  1586860501,
  ["switch",["NH Ethash","ETC"]]
 ],
 ...
]
Parameter
Type
Description
array
array[]
The response of the API is array.
 array[i]
array[]
i-th element of array represents one timestamp instance, which can hold multiple events.
  array[i][0]
integer
Timestamp value. Please note that timestamp must be multiplied by 100 to get UNIX timestamp number.
  array[i][j]
array[]
Array with event description in [event type, [variables connected to the event]] format. Possible event types and variables:
  • triggerTemp → Fans, Shutdown, Reboot, Restart, Start, Stop, Webhook
  • triggerUnresponsive → Email, Webhook
  • triggerTime → Fans, Shutdown, Reboot, Restart, ClockTume, Start, Stop, Webhook
  • triggerIdle → Shutdown, Reboot, Restart, Webhook
  • triggerInactive → Shutdown, Reboot, Restart, Webhook
  • triggerHashrate → Shutdown, Reboot, Restart, Start, Stop, Webhook
  • triggerEfficiency → Shutdown, Reboot, Restart, Start, Stop, Webhook
  • triggerConsumption → Shutdown, Reboot, Restart, Start, Stop, Webhook
  • triggerEarnings → Restart, Webhook
  • scheduler → Start, End
  • alertTemp
  • alertEfficiency
  • alertOffline
  • alertOnline
  • alertAsic
  • alertHashrate
  • switch
  • clientChangeGpu
  • clientChangeCpu
  • changeProfitSwitch → enabled, disabled, updated
  • manual → shutdown, restart, reboot, stop, start
  • configChange
  • clocktune
  • consoleAlert → Driver error, Pool error, Config error, GPU error, Mining client error, Authorization error