Stratu.ms API is a private API, which will help you manage and monitor your stratums outside Stratu.ms dashboard. We have prepared extensive documentation which will help you understand which data and functions are available in the API and how they can be used. Since we are currently busy developing and polishing Stratu.ms services, we are updating the API documentation page slowly. New methods and endpoints can be also added on request.
In all API endpoints, you are authorized with your API token. Some endpoints may also require other parameters, such as stratum's ID.
To use the Statu.ms API you don't need any special account. Any registered account can use the API once you generate the API token via the API settings that are available on this page.
Stratu.ms API uses the HTTPS protocol for requests. It returns the response in the JSON data format. On success, API will always return code 200 and code 201 when a new worker is created. List of error codes:
These are currently available endpoints and methods.
We are planning to add the following endpoints and methods:
If you have any suggestions or questions, let us know on our Discord.