Prerequisites
- A WhiteBIT account with completed KYC (register)
- An API key with appropriate permissions (create key)
- HMAC-SHA512 signing configured (authentication guide)
curlandjqinstalled (for command-line examples)
1
Create a mining account
Create a new mining account with a unique name.For Go and PHP examples, see SDKs.Required field:
- cURL
- Python
name (unique, alphanumeric + underscores, max 255 characters). Optional: referralCode.Expected response:2
View stratum connection details
Retrieve stratum URLs, fee information, and worker counts for the mining account.Expected response:Use the returned stratum URL and port to configure mining hardware. Set the
- cURL
- Python
user field in the miner configuration to the mining account name (my_miner_01).3
Check hashrate
Monitor hashrate performance for the mining account.Expected response:Hashrate will be zero until mining hardware connects and submits shares. Available intervals:
- cURL
- Python
5m, 1h, 24h.4
Configure payout destination
Set the payout destination to Main balance (for trading or lending) or an external BTC address (for cold storage).Required fields:
- cURL
- Python
accountName, destination (main_balance or external_address). When destination is external_address, the address field (BTC address) is also required.Expected response:POST /api/v4/mining/rewards.
What’s Next
Mining Pool Overview
Capabilities, integration patterns, and technical details.
API Reference
Full endpoint documentation for all 11 mining endpoints.