Skip to main content
POST
/
api
/
v4
/
mining
/
hashrate
Get Mining Account Hashrate
curl --request POST \
  --url https://whitebit.com/api/v4/mining/hashrate \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --header 'X-TXC-PAYLOAD: <api-key>' \
  --header 'X-TXC-SIGNATURE: <api-key>' \
  --data '
{
  "account": "miner123",
  "from": 1640995200,
  "to": 1641081600,
  "interval": "1h"
}
'
{
  "data": {
    "account": "<string>",
    "hashrate": [
      {
        "timestamp": 123,
        "hashrate": "<string>",
        "rejectRate": 123
      }
    ]
  }
}

Authorizations

X-TXC-APIKEY
string
header
required

The public WhiteBIT API key.

X-TXC-PAYLOAD
string
header
required

Base64-encoded JSON request body.

X-TXC-SIGNATURE
string
header
required

HMAC-SHA512 signature of the payload, hex-encoded. Computed as hex(HMAC-SHA512(payload, api_secret)).

Body

application/json
account
string
required

Mining pool account

Example:

"miner123"

from
integer

Unix timestamp of starting point

Example:

1640995200

to
integer

Unix timestamp of final point

Example:

1641081600

interval
enum<string>
default:1h

Timestamp interval

Available options:
5m,
1h,
24h
Example:

"1h"

Response

Successful response

data
object