Skip to main content
POST
/
api
/
v4
/
mining
/
workers
/
hashrate
Worker Hashrate History
curl --request POST \
  --url https://whitebit.com/api/v4/mining/workers/hashrate \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "account": "my_miner_01",
  "worker": "worker_001",
  "interval": "1h",
  "from": 1709290000,
  "to": 1709340000
}
'
{
  "data": {
    "hashrates": [
      {
        "time": 1709290000,
        "hashrate": "42.1"
      },
      {
        "time": 1709293600,
        "hashrate": "43.5"
      }
    ]
  }
}

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication using signed requests

Body

application/json
account
string
required

Mining pool account name

Maximum string length: 255
Example:

"my_miner_01"

worker
string
required

Worker name

Maximum string length: 255
Example:

"worker_001"

interval
enum<string>
default:1h

Time frame granularity

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

"1h"

from
integer

Start timestamp in Unix seconds. Must be <= now

Example:

1709290000

to
integer

End timestamp in Unix seconds. Must be <= now

Example:

1709340000

Response

Successful response

data
object