RainbowMiner API

API data is available at http://localhost:4000/<resource>
Common Resources

Version

/version

Returns the version number of RainbowMiner.

Info

/info

Small configuration info for localhost display.

Config

/config

Shows the full configuration for the running script, after all variable substitution and pool entries are added

setup.json

/setup.json

Download a setup.json - put this file into the RainbowMiner root folder, before first start.

Computer Stats

/computerstats

Shows current computer stats

System Uptime

/systemuptime

Shows Windows/Linux uptime since last boot

RainbowMiner Uptime

/uptime

Shows RainbowMiner uptime since last start (restart and update are ignored)

Rates

/rates

Shows current bitcoin exchange rates

Miner Resources

Miner

/miners

Dump of the $Miners variable

Running Miners

/runningminers

Shows data about the miners that are currently running.

Active Miners

/activeminers

Shows data about all miners that are enabled.

Fastest Miners

/fastestminers

Shows data about the fastest miners (requires 'UseFastestMinerPerAlgoOnly = $true', otherwise will be identical to 'Miners'; see readme).

Failed Miners

/failedminers

Shows data about all miners that are failed.

Miner Benchmark Stats

/minerstats

Shows the benchmark status of all miners

Current Profit

/currentprofit

Shows the running miner's current profit.

Last Activity

/activity

Shows a list of all active miners over the past three days

Pool Resources

Pools

/pools

Dump of the $Pools variable

Pool Balances

/balances | /balances?as_csv=1

Shows the balances and earnings at the pools by currencies (add &as_csv=1 to download CSV)

/balances?add_total=1 | /balances?add_total=1&as_csv=1

Shows the balances and earnings at the pools by currencies plus a *Totals* entry, that contains a sum of all currencies (add &as_csv=1 to download CSV)

/balances?consolidate=1 | /balances?consolidate=1&as_csv=1

Shows the balances and consolidated earnings at the pools by BTC (add &as_csv=1 to download CSV)

Pool Earnings

/earnings | /earnings?as_csv=1

Lists all earning events, sorted by pool and currency (add &as_csv=1 to download CSV)

Pool Payouts

/payouts

Lists all payouts from supported pools

NewPools

/newpools

Dump of the $NewPools variable

AllPools

/allpools

Dump of the $AllPools variable

Totals

/totals

Shows sum of all calculated profits per pool since last reset

TotalsCsv

/totalscsv

Shows sum of all calculated profits per pool since last reset as csv

Device Resources

Selected Devices

/devices

Dump of the $Devices variable, used only for debugging. Shows information about selected mining devices, used only for debugging.

All Devices

/devices

Dump of the $AllDevices variable, used only for debugging. Shows information about all found mining devices, used only for debugging.

Device Groups

/devicecombos

Show a list of possible device combinations

Algorithm Resources

Algorithms

/algorithms

Shows all algorithms that can be mined with at least one pool

MiningRigRental Resources

MRR Stats

/mrrstats

Shows public available MiningRigRentals statistics

MRR Rigs

/mrrrigs

Shows private rigs informations

Command Resources

Pause

/pause

Pause and restart mining

Status

/status

Shows the status of mining: true=running, false=paused

Update

/update

Update RainbowMiner to the newest release

Stop

/stop

Exit RainbowMiner

Debugging Resources

Debug

/debug

Shows all data added to the $API hashtable, used only for debugging.

Session Vars

/sessionvars

Lists all relevant session variables.

Stats

/stats

Dump of the $Stats variable, used only for debugging. Stats data is used for internal RainbowMiner calculations.

PoolStats

/poolstats

Dump of the $PoolsStats variable, used only for debugging. PoolStats data is used for internal RainbowMiner calculations.

WatchdogTimers

/watchdogtimers

Dump of the $WatchdogTimers variable, used only for debugging. WatchdogTimers data is used for internal RainbowMiner calculations.

Asynchronous Loader Jobs

/asyncloaderjobs

Dump of the $AsyncLoader.Jobs variable, used only for debugging. These are the jobs running in the background.

Asynchronous Loader Errors

/asyncloadererrors

Dump of the $AsyncLoader.Errors variable, used only for debugging. These are the past 50 errors, the jobs running in the background have caused.

Miner Ports

/minerports

Lists all assigned localhost ports

Download List

/downloadlist

List of current miners downloading