Request detailed pool data via HashPoolPro's API
After submitting the request, the HashPoolPro API server will return the data for specified account with the following fields, in JSON format.
NOTE: you will need to add a token to the general URL so as to have access, since provided data is considered private. Token can be provided by User themselves.
Example of a final URL:https://demo-api.hashpoolpro.com/accounts?coin=btc&token=4619530a67797eee1ae05eaf3b2e4895
Copy
Where “token“ is the account's API token.
| query | Parameters of the request |
| coin | Allowed value: BTC, BCH, FB, BC2, FB_MERGED, NMC, ELA, SYS, B1T, LTC, DGB, CAT, SOH, BEL, BONC, BQC, DINGO, DOGE, FLOP, LKY, PEP, SHIC, DEV, TRMP |
| accountName | The account name, to which the data refers |
| balance | Unpaid user’s income |
| totalIncome | User’s income for all mining period |
| totalPayout | Paid user’s income |
| processedPayouts | Payouts that are in the process of sending |
| hashrate5m | Current hashrate (for the last 5 min) |
| rejectedHashes24h | Number of rejected hashes for last 24h |
| hashrateHistory | Hashrate history of last 24h with 5 min interval (date&time, hashrate value) |
| yesterdayRevenue | User’s income earned yesterday |
| minerNumber | Quantity of the account’s miners |
| minerNumberOnline | Quantity of the account’s online miners |
Copy
Where “token“ is the account's API token.
| query | Parameters of the request |
| coin | Allowed value: BTC, BCH, FB, BC2, FB_MERGED, NMC, ELA, SYS, B1T, LTC, DGB, CAT, SOH, BEL, BONC, BQC, DINGO, DOGE, FLOP, LKY, PEP, SHIC, DEV, TRMP |
| offset | Number of elements skipped during page generation |
| limit | Max number of the results on the page |
| accountName | The account name, to which the data refers |
| totalCount | The total of the results matching the query |
| payoutHistory | History of payouts made to user's wallet for all time (date, amount, wallet address, transaction id) |
Copy
Where “token“ is the account's API token.
| query | Parameters of the request |
| coin | Allowed value: BTC, BCH, FB, BC2, FB_MERGED, NMC, ELA, SYS, B1T, LTC, DGB, CAT, SOH, BEL, BONC, BQC, DINGO, DOGE, FLOP, LKY, PEP, SHIC, DEV, TRMP |
| offset | Number of elements skipped during page generation |
| limit | Max number of the results on the page |
| accountName | The account name, to which the data refers |
| minerNumber | Quantity of the account’s miners |
| minerNumberOnline | Quantity of the account’s online miners |
| miners | Online miners' data (list) |
| Location 0 | Miner name |
| Location 1 | Current hashrate (5 min) |
| Location 2 | Last 1 hour's hashrate |
| Location 3 | Rejected shares of past 1 hour (number) |
| Location 4 | Hashrate of last 24 hours |
| Location 5 | Rejected shares of past 24 hour |