Mining Endpoints

Acquiring Algorithm (MARKET_DATA)

mining_algo_list(self)

Acquiring Algorithm (MARKET_DATA)

GET /sapi/v1/mining/pub/algoList

https://developers.binance.com/docs/mining/rest-api/Acquiring-Algorithm

Acquiring CoinName (MARKET_DATA)

mining_coin_list(self)

Acquiring CoinName (MARKET_DATA)

GET /sapi/v1/mining/pub/coinList

https://developers.binance.com/docs/mining/rest-api/Acquiring-CoinName

Request for Detail Miner List (USER_DATA)

mining_worker(self, algo: str, userName: str, workerName: str, **kwargs)

Request for Detail Miner List (USER_DATA)

GET /sapi/v1/mining/worker/detail

https://developers.binance.com/docs/mining/rest-api/Request-for-Detail-Miner-List

Parameters:
  • algo (str)

  • userName (str) – Mining account

  • workerName (str)

Keyword Arguments:

recvWindow (int, optional) – The value cannot be greater than 60000

Request for Miner List (USER_DATA)

mining_worker_list(self, algo: str, userName: str, **kwargs)

Request for Miner List (USER_DATA)

GET /sapi/v1/mining/worker/list

https://developers.binance.com/docs/mining/rest-api/Request-for-Miner-List

Parameters:
  • algo (str)

  • userName (str) – Mining account

Keyword Arguments:
  • pageIndex (int, optional) – Page number,default is first page,start form 1

  • sort (int, optional) – sort sequence (default=0)0 positive sequence,1 negative sequence

  • sortColumn (int, optional) – Sort by (default 1): 1: miner name, 2: real-time computing power, 3: daily average computing power, 4: real-time rejection rate, 5: last submission time

  • workerStatus (int, optional) – miners status (default = 0) 0 all, 1 valid, 2 invalid, 3 failure

  • recvWindow (int, optional) – The value cannot be greater than 60000

Revenue List (USER_DATA)

mining_earnings_list(self, algo: str, userName: str, **kwargs)

Revenue List (USER_DATA)

GET /sapi/v1/mining/payment/list

https://developers.binance.com/docs/mining/rest-api/Earnings-List

Parameters:
  • algo (str)

  • userName (str) – Mining account

Keyword Arguments:
  • coin (str, optional) – Coin Name

  • startDate (int, optional) – Search date, millisecond timestamp, while empty query all

  • endDate (int, optional) – Search date, millisecond timestamp, while empty query all

  • pageIndex (int, optional) – Page number, empty default first page, starting from 1

  • pageSize (int, optional) – Number of pages, minimum 10, maximum 200

  • recvWindow (int, optional) – The value cannot be greater than 60000

Extra Bonus List (USER_DATA)

mining_bonus_list(self, algo: str, userName: str, **kwargs)

Extra Bonus List (USER_DATA)

GET /sapi/v1/mining/payment/other

https://developers.binance.com/docs/mining/rest-api/Extra-Bonus-List

Parameters:
  • algo (str)

  • userName (str) – Mining account

Keyword Arguments:
  • coin (str, optional) – Coin Name

  • startDate (int, optional) – Search date, millisecond timestamp, while empty query all

  • endDate (int, optional) – Search date, millisecond timestamp, while empty query all

  • pageIndex (int, optional) – Page number, empty default first page, starting from 1

  • pageSize (int, optional) – Number of pages, minimum 10, maximum 200

  • recvWindow (int, optional) – The value cannot be greater than 60000

Statistic List (USER_DATA)

mining_statistics_list(self, algo: str, userName: str, **kwargs)

Statistic List (USER_DATA)

GET /sapi/v1/mining/statistics/user/status

https://developers.binance.com/docs/mining/rest-api/Statistic-List

Parameters:
  • algo (str)

  • userName (str) – Mining account

Keyword Arguments:

recvWindow (int, optional) – The value cannot be greater than 60000

Account List (USER_DATA)

mining_account_list(self, algo: str, userName: str, **kwargs)

Account List (USER_DATA)

GET /sapi/v1/mining/statistics/user/list

https://developers.binance.com/docs/mining/rest-api/Account-List

Parameters:
  • algo (str)

  • userName (str) – Mining account

Keyword Arguments:

recvWindow (int, optional) – The value cannot be greater than 60000

Hashrate Resale Request (USER_DATA)

mining_hashrate_resale_request(self, algo: str, userName: str, startDate: int, endDate: int, toPoolUser: str, hashRate: int, **kwargs)

Hashrate Resale Request (USER_DATA)

POST /sapi/v1/mining/hash-transfer/config

https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Request

Parameters:
  • algo (str)

  • userName (str) – Mining account

  • startDate (int) – Resale Start Time(Millisecond timestamp)

  • endDate (int) – Resale End Time (Millisecond timestamp)

  • toPoolUser (str) – Mining Account

  • hashRate (int) – Resale hashrate h/s must be transferred

Keyword Arguments:

recvWindow (int, optional) – The value cannot be greater than 60000

Cancel hashrate resale configuration(USER_DATA)

mining_hashrate_resale_cancellation(self, configId: int, userName: str, **kwargs)

Cancel hashrate resale configuration(USER_DATA)

POST /sapi/v1/mining/hash-transfer/config/cancel

https://developers.binance.com/docs/mining/rest-api/Cancel-hashrate-resale-configuration

Parameters:
  • configId (int) – Mining ID

  • userName (str) – Mining account

Keyword Arguments:

recvWindow (int, optional) – The value cannot be greater than 60000

Hashrate Resale List (USER_DATA)

mining_hashrate_resale_list(self, **kwargs)

Hashrate Resale List (USER_DATA)

GET /sapi/v1/mining/hash-transfer/config/details/list

https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-List

Keyword Arguments:
  • pageIndex (int, optional) – Page number, empty default first page, starting from 1

  • pageSize (int, optional) – Number of pages, minimum 10, maximum 200

  • recvWindow (int, optional) – The value cannot be greater than 60000

Hashrate Resale Detail (USER_DATA)

mining_hashrate_resale_details(self, configId: int, userName: str, **kwargs)

Hashrate Resale Detail (USER_DATA)

GET /sapi/v1/mining/hash-transfer/profit/details

https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Detail

Parameters:
  • configId (int) – Mining ID

  • userName (str) – Mining account

Keyword Arguments:
  • pageIndex (int, optional) – Page number, empty default first page, starting from 1

  • pageSize (int, optional) – Number of pages, minimum 10, maximum 200

  • recvWindow (int, optional) – The value cannot be greater than 60000

Mining Account Earning (USER_DATA)

mining_account_earning(self, algo: str, **kwargs)

Mining Account Earning (USER_DATA)

GET /sapi/v1/mining/payment/uid

https://developers.binance.com/docs/mining/rest-api/Mining-Account-Earning

Parameters:

algo (str) – Algorithm(sha256)

Keyword Arguments:
  • startDate (int, optional) – Millisecond timestamp

  • endDate (int, optional) – Millisecond timestamp

  • pageIndex (int, optional) – Default 1

  • pageSize (int, optional) – Min 10,Max 200

  • recvWindow (int, optional) – The value cannot be greater than 60000