Skip to main content
GET
/
private-api
/
v1
/
{workspace_id}
/
farms
/
{farm_id}
/
miner-pool-diff
List Pool Diffs
curl --request GET \
  --url https://api.nonce.app/private-api/v1/{workspace_id}/farms/{farm_id}/miner-pool-diff \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "data": [
    {
      "miner_id": "<string>",
      "before_record": {
        "id": "<string>",
        "miner_id": "002b1a50fa281efe0f320ebc39f5047b",
        "agent_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "farm_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "workspace_id": "org_xxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "hashrate": 100120000000000,
        "wattage": 9771,
        "temp": 75.5,
        "serial_number": "HTM3FS28HD25011939878367054H36045",
        "model": "Antminer S19",
        "ip": "192.168.1.100",
        "mac": "00:1B:44:11:3A:B7",
        "firmware_version": "20250304.15.REL",
        "period": "2025-09-07T00:00:00.000Z",
        "pool_url": "stratum+tcp://pool.example.com:4444",
        "worker_id": "worker1.100x0x217"
      },
      "after_record": {
        "id": "<string>",
        "miner_id": "002b1a50fa281efe0f320ebc39f5047b",
        "agent_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "farm_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "workspace_id": "org_xxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "hashrate": 100120000000000,
        "wattage": 9771,
        "temp": 75.5,
        "serial_number": "HTM3FS28HD25011939878367054H36045",
        "model": "Antminer S19",
        "ip": "192.168.1.100",
        "mac": "00:1B:44:11:3A:B7",
        "firmware_version": "20250304.15.REL",
        "period": "2025-09-07T00:00:00.000Z",
        "pool_url": "stratum+tcp://pool.example.com:4444",
        "worker_id": "worker1.100x0x217"
      },
      "changes": {
        "pool_url": {
          "before": "<string>",
          "after": "<string>",
          "changed": true
        },
        "worker_id": {
          "before": "<string>",
          "after": "<string>",
          "changed": true
        }
      }
    }
  ],
  "error": null
}

Authorizations

x-api-key
string
header
required

Legacy Private API Key for authentication

Path Parameters

workspace_id
string
required
farm_id
string
required

Query Parameters

from_time
string<datetime>
required

Start time for the history data in ISO 8601 format with timezone offset. Must be within the last 7 days

Example:

"YYYY-MM-DDTHH:MM:SSZ"

to_time
string<datetime>
required

End time for the history data in ISO 8601 format with timezone offset. Must be within the last 7 days

Example:

"YYYY-MM-DDTHH:MM:SSZ"

Response

Successfully retrieved miner pool diffs

success
boolean
required

Indicates if the request was successful

Example:

true

data
Miner Pool Diff · object[]
required

Array of items

error
null
required

Error object (null on success)

Example:

null