Skip to main content
GET
/
private-api
/
v1
/
{workspace_id}
/
farms
/
{farm_id}
/
miner
/
latest
List Miners
curl --request GET \
  --url https://api.nonce.app/private-api/v1/{workspace_id}/farms/{farm_id}/miner/latest \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "data": [
    {
      "id": "002b1a50fa281efe0f320ebc39f5047b",
      "farm_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "farm": {
        "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "name": "Farm Name"
      },
      "workspace_id": "org_xxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "serial_number": "HTM3FS28HD25011939878367054H36045",
      "model": "Antminer S19",
      "ip": "192.168.1.100",
      "mac": "00:1B:44:11:3A:B7",
      "firmware_version": "20250304.15.REL",
      "is_mining": true,
      "last_check_succeed": true,
      "stale": false,
      "overheat": false,
      "low_hashrate": false,
      "overpower": false,
      "underpower": false,
      "lifecycle_status": "online",
      "health_status": "error,low_hashrate",
      "mining_mode": "normal",
      "hashrate": 100120000000000,
      "hashrate_24h": 100120000000000,
      "power": 9771,
      "temp": 75.5,
      "efficiency": 34,
      "uptime": 86400,
      "last_updated_at": "2025-08-27T00:00:00Z",
      "errors": [
        {
          "code": "E001",
          "message": "Temperature too high"
        }
      ],
      "hashboards": [
        {
          "serial_number": "HB123456",
          "hashrate": 25120000000000,
          "chips": 4,
          "chip_frequency": 650
        }
      ],
      "total_chips": 5,
      "expected_chips": 4,
      "pools": [],
      "psus": []
    }
  ],
  "pagination": {
    "total": 50,
    "limit": 10,
    "offset": 0,
    "hasNext": true,
    "hasPrevious": false
  },
  "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

page
number

Page number (default: 1)

Required range: x >= 1
Example:

1

pageSize
number

Number of items per page (default: 10, max: 10000)

Required range: 1 <= x <= 10000
Example:

10

agent_id
string

Agent Id (uuid generated by nonce system)

Example:

"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

sn
string

Miner sn/hashboard sn/power supply sn/controller sn.(single value)

Example:

"HTM3FS28HD25011939878367054H36045, HLM3FSFF594C06X60006"

mac
string

Filter miners by MAC address

Example:

"AA:BB:CC:DD:EE:FF"

status
string

Filter miners by status. Supports multiple values separated by , (e.g., "online,offline") or multiple query parameters (e.g., "status=online,low_hashrate"). Available statuses:

  • online: Miner is actively mining and connected
  • offline: Miner is not connected or powered off
  • stale: Miner data is stale (no recent updates)
  • unknown: Miner status is unknown
  • archived: (Asset) Miner has been archived
  • off_rack: (Asset) Miner is removed from rack
  • transit: (Asset) Miner is in transit
  • maintenance: (Asset) Miner is under maintenance
  • retired: (Asset) Miner has been retired
  • error: Miner has error condition
  • low_hashrate: Miner hashrate is below expected/theo
  • overheated: Miner temperature is too high
  • overpower: Miner power consumption is too high
  • underpower: Miner power consumption is too low
  • overclocking: Miner is running in overclocking mode
Example:

"online"

Response

Successfully retrieved miner status

success
boolean
required

Indicates if the request was successful

Example:

true

data
Miner · object[]
required

Array of items

pagination
object
required

Pagination metadata

error
null
required

Error object (null on success)

Example:

null