PRLDASH Miner — stats API
With --api ADDR:PORT, PRLDASH Miner serves a read-only JSON stats endpoint over HTTP.
prldash-miner -o <pool:port> -u <wallet> --api 127.0.0.1:4068
- Endpoint:
GET http://ADDR:PORT/stats - Bind address: whatever you pass to
--api(there is no default — the API is off unless set). Use127.0.0.1:4068for local-only access, or0.0.0.0:4068to expose it on the LAN.4068is the port the HiveOS package uses by default. - Response:
200 OK,Content-Type: application/json,Cache-Control: no-store, one JSON object. - Any method other than
GETon/statsreturns405; any other path returns404.
Response schema
Top-level object:
| Field | Type | Meaning |
|---|---|---|
miner |
string | Stable machine identifier of the miner ("prlminer"). Fixed for API consumers; not the display name. |
version |
string | Miner version, e.g. "0.2.23". |
uptime_s |
number | Seconds since the miner started. |
pool |
string | Pool HOST:PORT in use. |
worker |
string | Worker name. |
gpus |
array | One object per mining GPU (see below). |
telemetry_error |
string | null | Why per-GPU telemetry is missing (e.g. NVML unavailable, driver reset), if it is. |
Each entry of gpus:
| Field | Type | Meaning |
|---|---|---|
index |
number | CUDA device index. |
name |
string | GPU model name. |
pci_bus_id |
string | PCI bus id, e.g. "0000:01:00.0". |
profile |
string | null | Mining profile: "sm86" (RTX 30), "sm89" (RTX 40) or "sm120" (RTX 50); null if the GPU is not mining. A held GPU ("unsupported_job") keeps its profile. |
state |
string | "starting", "mining", "restarting" or "unsupported_job": the pool's current job has a certificate version this build can't mine (V4, or a version it doesn't know), so the GPU is held. It mines nothing, ths is null and it runs no self-check until the pool sends a job it can mine; then the state returns to "mining". |
ths |
number | null | Hashrate of the last report interval, in TH/s; null before the first report, while "restarting" and while "unsupported_job". |
accepted |
number | Accepted shares since start (kept while held; a held GPU finds no new shares). |
rejected |
number | Rejected shares since start. |
telemetry |
object | null | Per-GPU sensors (see below), or null if unavailable. |
notice |
object | Only while state is "unsupported_job", omitted otherwise (see below). |
notice object (since 0.2.23):
| Field | Type | Meaning |
|---|---|---|
kind |
string | "fp8_gpu" (RTX 20, 30 or 40: this GPU can't mine PRL after Pearl's FP8 fork), "fp8_build" (RTX 50: this build can't mine certificate V4 jobs; an update is needed) or "unknown_cert_version". |
cert_version |
number | null | The job's certificate version; null when the pool's value isn't a whole number. |
message |
string | The miner's notice for the user, in English: printable ASCII, at most 160 characters. |
telemetry object (any sensor the GPU does not report is null, and the last three fields are
present only when known):
| Field | Type | Meaning |
|---|---|---|
pci |
string | PCI bus id as CUDA reports it. |
temp_c |
number | null | GPU temperature, °C. |
power_w |
number | null | Board power draw, W. |
limit_w |
number | null | Current power limit, W. |
default_limit_w |
number | null | Default (stock) power limit, W. |
fan_pct |
number | null | Fan speed, %. |
sm_mhz |
number | null | SM (core) clock, MHz. |
mem_mhz |
number | null | Memory clock, MHz. |
reasons |
array of string | Active clock-throttle reasons: power_cap, power_brake, thermal, hw_slowdown, idle, app_clocks, sync_boost, display. |
others_sm_pct |
number | SM time used by every process but the miner, % (e.g. a display GPU's desktop). |
dec_pct |
number | Video decoder use, %. |
enc_pct |
number | Video encoder use, %. |
Example
GET /stats HTTP/1.1
Host: 127.0.0.1:4068
{
"miner": "prlminer",
"version": "0.2.23",
"uptime_s": 3600,
"pool": "pearl-eu2.luckypool.io:3360",
"worker": "rig1",
"gpus": [
{
"index": 0,
"name": "NVIDIA GeForce RTX 4070",
"pci_bus_id": "0000:01:00.0",
"profile": "sm89",
"state": "mining",
"ths": 123.2,
"accepted": 412,
"rejected": 0,
"telemetry": {
"pci": "0000:01:00.0",
"temp_c": 61,
"power_w": 176.4,
"limit_w": 180.0,
"default_limit_w": 200.0,
"fan_pct": 55,
"sm_mhz": 2985,
"mem_mhz": 10501,
"reasons": []
}
}
],
"telemetry_error": null
}
Notes for integrators:
- Read the version from .version (semver). The HiveOS agent uploads it as prlminer_version.
- Hashrate in kH/s = round(ths * 1e9); a rig total is the sum over gpus[].ths.
- Shares in HiveOS form: [sum(accepted), sum(rejected)].
- A GPU in state unsupported_job is held, not failed: count it as 0 hashrate, not as an error.