POST
Create new worker

Post method for creating a new worker. Each worker must have name, type, and system, while other parameters can be included optionally.

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

Parameters

Parameter
Type
Description
Requiredname
string
Name of your worker.
Requiredtype
string
Type of your worker. Possible values: nvidia amd asic
Requiredsystem
string
System of your worker. Possible values: windows msos antminer innosilicon baikal dayun
ip
string
If your worker's type is asic, enter the worker's IP.
username
string
If your worker's type is asic, enter the worker's username.
password
string
If your worker's type is asic, enter the worker's password.
group
string
Group(s) of the worker. Delimiter is semicolon.
user
int
Customer's ID. If user is undefined, the worker will be added to the main account. Customer ID can be obtained via v2/customer GET API call.
config
string
Worker's configuration.
client
string
Worker's default mining client.

Example call

{"name": "Rig0001", "type": "nvidia", "system": "msos"}

Example response

{
 "message": "Worker was created successfully"
}