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": "<string>",
  "from": 123,
  "to": 123,
  "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

from
integer

Unix timestamp of starting point

to
integer

Unix timestamp of final point

interval
enum<string>
default:1h

Timestamp interval

Available options:
5m,
1h,
24h

Response

Successful response

data
object