+11
Under review

API

thierryouellet 9 months ago • updated by Oliver 5 months ago 11

Hi,


Is there any API or mobile app that I can use in order to track my miners? I want to get alerts if a miner goes down.


Thanks.

+3
Under review

Not yet but optional email notifications on miner failure will be introduced soon.

+8

API would be preferable, it makes easy 3d party monitoring development.

Hey,


Any updates on this please? I can see it's in the code base... Looking to build something that means I don't need to scrape the website!

+2

This has been implemented a while ago but I forgot to announce it. You can retrieve your stats including per-worker hashrates and graph-data by sending a GET or POST to:


https://coinfoundry.org/api/pool/<poolid>/account/<wallet-address>?perfMode=day


For <poolid> substitute the pool's currency in lowercase followed by a "1" (the Id of the Monero Pool is "xmr1" - without quotes).


Example request: 


https://coinfoundry.org/api/pool/xmr1/account/4BCeEPhodgPMbPWFN1dPwhWXdRX8q4mhhdZdA1dtSMLTLCEYvAj9QXjXAfF7CugEbmfBhgkqHbdgK9b2wKA6nqRZQCgvCDm?perfMode=day

+1

is there a way we can also get a json of information on each coin such as difficulty, current price, number of miners on it etc... trying to build a profit switching c# program that would switch when other coin is more profitable to mine.

I'm afraid at the moment you will have to pull pricing information from other sources like coinmarketcap or worldcoinindex.

so a simple API for all my miner stats including a payout array (with timestamps and txids) would be amazing!

+2

I'll see what I can do. :)

let me know if that part is open source, maybe i am able to help out...