Skip to content
Mining Pool Hub edited this page Jul 15, 2020 · 16 revisions

Methods Table

Miningpoolhub supports some API methods to fetch information in JSON format. This list reflects the current state of the API. All methods used are called via:

http://[<coin_name>.]miningpoolhub.com/index.php?page=api&action=<method>&api_key=<user_api_key>[&<argument>=<value>]

This table lists all methods and their arguments available.

Token: Requires a valid API Key (api_key in the URL); Admin: Y, requires admin, B, with or without admin, N, no admin required

API ActionArgumentsDescriptionToken
getminingandprofitsstatisticsnoneGet mining profits statisticsN
getautoswitchingandprofitsstatisticsnoneGet current auto switching infoN
getuserallbalancesnoneGet all currency's balancesY
getblockcountnoneGet current block height in blockchainY
getblocksfoundnoneGet last N blocks found as configured in admin panelY
getblockstatsnoneGet pool block statsY
getcurrentworkersnoneGet amount of current active workersY
getdashboarddataidFetch all dashboard related informationY
getdifficultynoneGet current difficulty in blockchainY
getestimatedtimenoneGet estimated time to next block based on pool hashrate (seconds)Y
gethourlyhashratesnoneCurrently brokenY
getnavbardatanoneGet the data displayed on the navbarY
getpoolhashratenoneGet current pool hashrateY
getpoolinfononeGet the information on pool settingsY
getpoolshareratenoneGet current pool share rate (shares/s)Y
getpoolstatusnoneFetch overall pool status, only user token is requiredY
gettimesincelastblocknoneGet time since last block found (seconds)Y
gettopcontributorsnoneFetch top contributors dataY
getuserbalanceidFetch a users balanceY
getuserhashrateidFetch a users hash rateY
getusersharerateidFetch a users share rateY
getuserstatusidFetch a users overall status, both id and username work for id. If not admin, will fetch current users status.Y
getusertransactionsidGet a users transactionsY
getuserworkersidFetch a users worker status, both id and username work for id. If not admin, will fetch current users workers.Y
publicnoneFetch public pool statistics, no authentication requiredN

Clone this wiki locally