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>' \
  --data '
{
  "account": "miner123",
  "from": 1640995200,
  "to": 1641081600,
  "interval": "1h"
}
'
{
  "data": {
    "account": "<string>",
    "hashrate": [
      {
        "timestamp": 123,
        "hashrate": "<string>"
      }
    ]
  }
}

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication using signed requests

Body

application/json
account
string
required

Mining pool account

Example:

"miner123"

from
integer

Start Unix timestamp. When omitted, defaults to returning the last 14 data points from the to timestamp.

Example:

1640995200

to
integer

End Unix timestamp. Defaults to the current time when omitted.

Example:

1641081600

interval
enum<string>
default:1h

Time interval for data points.

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

"1h"

Response

Successful response

data
object