API mining endpoints

Methods

miningAccountEarning(algo, optionsopt)

Mining Account Earning (USER_DATA)

GET /sapi/v1/mining/payment/uid

https://binance-docs.github.io/apidocs/spot/en/#mining-account-earning-user_data

Parameters:
NameTypeAttributesDescription
algostring

Algorithm(sha256)

optionsobject<optional>
Properties
NameTypeAttributesDescription
startDatenumber<optional>

Millisecond timestamp

endDatenumber<optional>

Millisecond timestamp

pageIndexnumber<optional>

Default 1

pageSizenumber<optional>

Min 10,Max 200

recvWindownumber<optional>

The value cannot be greater than 60000

miningAccountList(algo, userName, optionsopt)

Account List (USER_DATA)

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

https://binance-docs.github.io/apidocs/spot/en/#account-list-user_data

Parameters:
NameTypeAttributesDescription
algostring
userNamestring

Mining account

optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

miningAlgoList(optionsopt)

Acquiring Algorithm (MARKET_DATA)

GET /sapi/v1/mining/pub/algoList

https://binance-docs.github.io/apidocs/spot/en/#acquiring-algorithm-market_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

miningBonusList(algo, userName, optionsopt)

Extra Bonus List (USER_DATA)

GET /sapi/v1/mining/payment/other

https://binance-docs.github.io/apidocs/spot/en/#extra-bonus-list-user_data

Parameters:
NameTypeAttributesDescription
algostring
userNamestring
optionsobject<optional>
Properties
NameTypeAttributesDescription
coinstring<optional>
startDatenumber<optional>
endDatenumber<optional>
pageIndexnumber<optional>

Page number,default is first page, 1

pageSizenumber<optional>

minimum 10, maximum 200

recvWindownumber<optional>

The value cannot be greater than 60000

miningCoinList(optionsopt)

Acquiring CoinName (MARKET_DATA)

GET /sapi/v1/mining/pub/coinList

https://binance-docs.github.io/apidocs/spot/en/#acquiring-coinname-market_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

miningHashrateResaleCancel(configId, userName, optionsopt)

Hashrate Resale Detail (USER_DATA)

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

https://binance-docs.github.io/apidocs/spot/en/#cancel-hashrate-resale-configuration-user_data

Parameters:
NameTypeAttributesDescription
configIdnumber

Mining ID

userNamestring
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

miningHashrateResaleDetail(configId, userName, optionsopt)

Hashrate Resale Detail (USER_DATA)

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

https://binance-docs.github.io/apidocs/spot/en/#hashrate-resale-detail-user_data

Parameters:
NameTypeAttributesDescription
configIdnumber

Mining ID

userNamestring

Mining Account

optionsobject<optional>
Properties
NameTypeAttributesDescription
pageIndexnumber<optional>

Page number,default is first page, 1

pageSizenumber<optional>

minimum 10, maximum 200

recvWindownumber<optional>

The value cannot be greater than 60000

miningHashrateResaleList(optionsopt)

Hashrate Resale List (USER_DATA)

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

https://binance-docs.github.io/apidocs/spot/en/#hashrate-resale-list-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
pageIndexnumber<optional>

Page number,default is first page, 1

pageSizenumber<optional>

minimum 10, maximum 200

recvWindownumber<optional>

The value cannot be greater than 60000

miningHashrateResaleRequest(userName, algo, startDate, endDate, toPoolUser, hashRate, optionsopt)

Hashrate Resale Request (USER_DATA)

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

https://binance-docs.github.io/apidocs/spot/en/#hashrate-resale-request-user_data

Parameters:
NameTypeAttributesDescription
userNamestring

Mining Account

algostring
startDatenumber
endDatenumber
toPoolUserstring

Mining Account

hashRatenumber

Resale hashrate h/s must be transferred

optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

miningRevenueList(algo, userName, optionsopt)

Revenue List (USER_DATA)

GET /sapi/v1/mining/payment/list

https://binance-docs.github.io/apidocs/spot/en/#earnings-list-user_data

Parameters:
NameTypeAttributesDescription
algostring
userNamestring

Mining account

optionsobject<optional>
Properties
NameTypeAttributesDescription
coinstring<optional>
startDatenumber<optional>
endDatenumber<optional>
pageIndexnumber<optional>

Page number,default is first page, 1

pageSizenumber<optional>

minimum 10, maximum 200

recvWindownumber<optional>

The value cannot be greater than 60000

miningStatisticList(algo, userName, optionsopt)

Statistic List (USER_DATA)

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

https://binance-docs.github.io/apidocs/spot/en/#statistic-list-user_data

Parameters:
NameTypeAttributesDescription
algostring
userNamestring

Mining account

optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

miningWorker(algo, userName, workerName, optionsopt)

Request for Detail Miner List (USER_DATA)

GET /sapi/v1/mining/worker/detail

https://binance-docs.github.io/apidocs/spot/en/#request-for-detail-miner-list-user_data

Parameters:
NameTypeAttributesDescription
algostring
userNamestring

Mining account

workerNamestring
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

miningWorkerList(algo, userName, optionsopt)

Request for Miner List (USER_DATA)

GET /sapi/v1/mining/worker/list

https://binance-docs.github.io/apidocs/spot/en/#request-for-miner-list-user_data

Parameters:
NameTypeAttributesDescription
algostring
userNamestring

Mining account

optionsobject<optional>
Properties
NameTypeAttributesDescription
pageIndexnumber<optional>

Page number,default is first page, 1

sortnumber<optional>

sort sequence (default = 0)
0 positive sequence, 1 negative sequence

sortColumnnumber<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

workerStatusnumber<optional>

miners status (default = 0)
0 all, 1 valid, 2 invalid, 3 failure

recvWindownumber<optional>

The value cannot be greater than 60000