JSON API

Read-only JSON, no auth, open CORS (Access-Control-Allow-Origin: *). Amounts are in base units (1 coin = 100 000 000 for every coin, Monero included) and timestamps are unix seconds. Miner IPs are never exposed. Per-IP rate-limited - a 429 with a Retry-After header means slow down (the health probe is exempt).

This is a multi-coin hub, so every data endpoint is namespaced by coin: /api/<coin>/stats, /api/litecoin/blocks, and so on. /api/coins lists the coins.

Endpoints

endpointreturns
/apiThis index. JSON to a script, a docs page in a browser.
/api/infoPool rules per coin + software version - verify against the source.
/api/coinsPer-coin summary (hub mode only).
/healthzLiveness probe: 200 when every pool has a fresh template, 503 if any is stalled.
/api/<coin>/statsLive snapshot: hashrate windows, miners, blocks, reject reasons, mempool, node health.
/api/<coin>/chart?range=1h|24h|1w|1m[&address=ADDR]Hashrate time series (pool, or one miner with &address).
/api/<coin>/minersMiner overview (addresses + balances; never IPs).
/api/<coin>/miner/<address>One miner: workers, hashrate, balance, best share, live rigs.
/api/<coin>/worker/<address>/<worker>One rig: hashrate, best share, live session.
/api/<coin>/templateTransactions in the current block template - every tx the next block will include.
/api/<coin>/blocksFound blocks (all statuses incl. orphaned/stale).
/api/<coin>/block/<height>One block's detail (round diff, luck, finder).
/api/<coin>/payoutsRecent payouts (txids).
/api/<coin>/luckPer-block effort/luck + pool luck + orphan rate.
/api/<coin>/leaderboardBest-share high scores (addresses; never IPs).

Example

Every response is plain JSON. The live snapshot:

$ curl -s https://testnetpool.com/api/<coin>/stats { "coin": "litecoin", "chain": "test", "mode": "public", "height": 4763340, "connected_miners": 3, "active_miners": 7, "pool_hashrate": { "1m": 1.9e14, "5m": 2.1e14, "1h": 2.0e14, "1d": 1.8e14 }, "network_difficulty": 167314008.0, "network_hashrate_hs": 4.79e15, "best_share": 4812993.0, "blocks_found": 12, "node_health": { "peers": 8, "tip_age_seconds": 142, "synced": true } }

This same list is JSON from GET /api to a script (a browser gets this page); the exact per-coin rules are at /api/info.

Blocks, shares, and payouts are not guaranteed. This software is open source under the AGPL, and the hosted service is provided as-is, without warranty. Run your own node and verify.