24h logs

This is a detailed documentation on how you can check various historical activity data in the last 24 hours for all of your workers. The data shows all detected events and is updated when new event happens.

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

Example response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
 "1586676902":{
  "Worker001":[
   ["consoleAlert",["GPU error (1)","5","Unable to access fan data"]],
   ["switch",["ETC","ETH"]],
   ...
  ],
  "Worker002":[
   ["switch",["ETC","ETH"]],
   ...
  ],
  ...
 },
 ...
}
Parameter
Type
Description
object
object{}
The response of the API is object.
 object.{TIMESTAMP}
object{}
List of all workers that had an event at UNIX timestamp {TIMESTAMP}.
  object.{TIMESTAMP}.{WORKER}
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