Minerstat API: Coins + Monitoring + Management

minerstat
minerstat
Published in
4 min readApr 17, 2020

We took a step further in our API coverage and extended the private API for management to two new public APIs.

  • Coins: The first is API that provides all coins details and was highly anticipated. Since a growing number of developers contacted us in the past months, we decided to provide full API for rewards, which will allow developers to work on their projects easier by using proper JSON format.
  • Monitoring: The second is API for which we already introduced the documentation in the past and now decided to return it - this is API for monitoring. We have extended previous documentation to offer even more data you can monitor.

All of our APIs are free to use. You can use management and monitoring APIs for your accounts without any special requirement, while coins API requires providing credits for all public and/or commercial projects.

Coins API

Coins API is a public API that doesn’t need any special authentication. Just open the endpoint in your browser or call the endpoint URL in your favorite programming language and you are ready to use the data.

Here is the data that is available in the Coins API endpoint. Full documentation is available on Coins API documentation.

  • Coin: Ticker;
  • Name: Coin’s full name;
  • Type: coin or pool;
  • Algorithm: Coin’s algorithm.
  • Network hashrate: Coin’s network hashrate in H/s.
  • Price: Coin’s price.
  • Volume: Last 24h volume in USD.
  • Difficulty: Mining difficulty.
  • Reward: Estimated reward in USD for 1 hour of mining for 1 H/s.
  • Reward unit: Coin’s ticker or BTC or XMR for multi pools.
  • Block reward: The number of coins in one block.
  • Updated: The UNIX time of when the coin was last updated.

Example calls

Monitoring API

Monitoring API is an API that requires authentication with your access key. It allows you to monitor workers’ real-time data, such as hashrate and hardware data, and historical data about mining, profitability, and balance on pools and wallets.

Here is the data that is available in the Monitoring API endpoint. Full documentation is available on Monitoring API documentation.

  • Workers: List of all workers, hashrate, hardware details, temperature, fans, power consumption, estimated earnings, accepted and rejected shares, and basic system information.
  • Worker: Similar to workers but for only 1 worker.
  • Worker hashrate: Historical information on hashrates, temperatures, fans, and power consumptions.
  • Worker statistics: Historical information on estimated earnings, temperatures, fans, power consumption, and efficiency.
  • Worker activity: List of logs for a specific worker for the last 3 days.
  • Group statistics: Historical information on estimated earnings of a specific group.
  • Global statistics: Historical information on estimated earnings.
  • 24h logs: List of logs for all workers for the last 24 hours.
  • Balance statistics: Historical information on monitored pools and wallets.

Management API

We wrote about private management API in this introductory blog post, so we won’t introduce it in more detail at this point. Here is a short summary of what you can currently do with private management API.

  • Workers: Creating, updating, deleting, and getting system information for your workers and customers’ workers.
  • Tags: Creating, updating, deleting, and getting information about tags on your account and your customers’ accounts.
  • Customers: Creating, updating, deleting, and getting system information of your customers.

Want to improve your project by using our API? You can start using Coins API right away or register a new account to start with monitoring and management API.

--

--

minerstat
minerstat

minerstat® is the top platform for ASIC and GPU crypto mining monitoring and management. Enjoy hassle-free mining with our cutting-edge software.