GET
Get worker details

Get method to get worker's static information, such as system, type, group, and saved configurations. Worker data can be obtained either by user's ID, worker's name, or worker's group(s) and shows different data that is defined in the fields parameter. This get method will not obtain worker's dynamic data, such as current hashrate and temperatures. To get dynamic data you will need to use public API.

https://api.minerstat.com/v2/worker

Parameters

Parameter
Type
Description
user
int
Customer's ID. If user is undefined, the main account will be checked. Customer ID can be obtained via v2/customer GET API call.
name
string
Name of the worker.
group
string
Group(s) of the worker.
fields
array[]
The array of information you need about worker.
 fields[i]
string
Information you are requesting. Possible values: system type group config asicssh client electricityprice consumption date notes clocktune

Example call

{"name": "Antminer001", "fields": ["type", "system", "date", "clocktune"]}

Example response

{
 "data": {
  "Antminer001": {
   "type": "asic",
   "system": "antminer",
   "date": "2018-09-16 16:25:28",
   "clocktune": "532005"
  }
 },
 "message": "Results found"
}