Skip to main content
Create a mining account, retrieve stratum connection details, monitor hashrate, and configure payout destination — all via API.

Prerequisites

  • A WhiteBIT account with completed KYC (register)
  • An API key with appropriate permissions (create key)
  • HMAC-SHA512 signing configured (authentication guide)
  • curl and jq installed (for command-line examples)
Mining account creation is fully API-driven and requires no prior UI setup. However, actual mining requires connecting ASIC hardware (or a hosted mining service) to the stratum URL provided in Step 2. Without connected hardware, hashrate will be zero and no rewards will accrue.
1

Create a mining account

Create a new mining account with a unique name.
For Go and PHP examples, see SDKs.Required field: 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 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: 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: accountName, destination (main_balance or external_address). When destination is external_address, the address field (BTC address) is also required.Expected response:
After connecting mining hardware to the stratum URL from Step 2, hashrate data appears within minutes. Rewards begin accruing once shares are submitted. Track rewards via 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.
For Go and PHP examples, see SDKs.