JSON API

If you wish to access the pool / worker stats via your own remote script you can use the inks below to return data.

http://pool.mylinx.io/api/stats - Raw Statistics
http://pool.mylinx.io/api/pool_stats - Historical Time
http://pool.mylinx.io/api/live_stats - Live Stats
http://pool.mylinx.io/api/getblocksstats - Block Stats

Example of returned code from /stats :

{
	"time": 1495647636,
	"global": {
		"workers": 2,
		"hashrate": 0
	},
	"algos": {
		"scrypt": {
			"workers": 2,
			"hashrate": 3914683.7333333334,
			"hashrateString": "3.91 MH"
		}
	},
	"pools": {
		"linx": {
			"name": "linx",
			"symbol": "LINX",
			"algorithm": "scrypt",
			"poolStats": {
				"validShares": "9608",
				"validBlocks": "1189",
				"invalidShares": "11",
				"invalidRate": "0.0011",
				"totalPaid": "51596.36005460999966843"
			},
			"blocks": {
				"pending": 142,
				"confirmed": 1047,
				"orphaned": 0
			},
			"workers": {
				"XGzCZvZiCR5ZcpPv5GaaxBQU9Mk9b3qT8H": {
					"shares": 7168,
					"invalidshares": 0,
					"hashrate": 1565873.4933333334,
					"hashrateString": "1.57 MH"
				},
				"XaZeMM962joajSm3JaHeJ6gZEaYJi1iGMc": {
					"shares": 10752,
					"invalidshares": 0,
					"hashrate": 2348810.24,
					"hashrateString": "2.35 MH"
				}
			},
			"hashrate": 3914683.7333333334,
			"workerCount": 2,
			"hashrateString": "3.91 MH"
		}
	}
}