Skip to content

Explorer API

Pool summaries and public share reads

Permitted network context, or one opted-in miner at a time

Reads cover opted-in mining records, including the address a miner chose to publish. Exact pool totals stay withheld until contributor privacy and coverage are verified.

The three reads

Looking up one miner by wallet address is served by the Melanin gateway, not by this explorer. No key, no account, one address at a time.

MethodPath
GET/api/pool-stats?project=btc

This explorer · A publicly listed project (optional) · 404 when unavailable

GET/api/public-shares/{shareId}

This explorer · An opaque share id · 404 when unpublished

GETmelanin.engineering/api/v1/miner/<address>

The Melanin gateway · One wallet address, no key · 404

Try a read

Synthetic examples, not live readings. Replace the example share id or address with one you already know; examples may return 404. Null means unknown or withheld, never zero. Use source observation time for freshness; collection time is separate.

Fields named acceptedShares, rejectedShares, metrics.shares and accepted_shares retain their existing API names. They carry source-reported work measures, not independently verified submission counts. Their units and reset windows are not yet confirmed; the examples do not establish those definitions.

Timing and resource fields

Pool summaries can be up to 60 seconds behind the latest stored report. A null observation time means source freshness is unknown. Collection time records storage; it cannot make an old source report current. Pool totals (users, workers and the 1-hour, 1-day and 7-day hashrates) are published only while a current report shows at least 5 miners; otherwise they are null. Other legacy pool metrics stay null. Resource fields separate power and energy, hardware inventory and mining, with methods, intervals and coverage. A source share timestamp does not establish accepted work.

Pool summary

curl -i 'https://explorer.melanin.global/api/pool-stats?project=btc'
200 response from an isolated test
{
  "projectId": "btc",
  "observedAt": null,
  "collectionComplete": true,
  "metrics": {
    "users": null,
    "workers": null,
    "hashrate1h": null,
    "hashrate1d": null,
    "hashrate7d": null,
    "networkDifficulty": null,
    "roundProgressPercent": null,
    "acceptedShares": null,
    "rejectedShares": null,
    "bestShare": null
  },
  "collectedAt": "2026-09-06T12:00:00.000Z",
  "lastAcceptedWorkAt": null,
  "scope": "Selected public network; pool totals withheld unless a current report and a recent publication decision allow them",
  "evidenceType": "reported",
  "rateType": "estimated",
  "shareMeasureUnit": "source-defined; not independently verified",
  "counterWindow": "source-defined; reset period not verified",
  "resources": {
    "schemaVersion": 1,
    "scope": "network",
    "projectId": "btc",
    "origin": "live",
    "observedAt": null,
    "collectedAt": null,
    "period": {
      "start": null,
      "end": null
    },
    "coverage": {
      "reporting": null,
      "eligible": null
    },
    "privacy": {
      "status": "withheld",
      "reason": "privacy_unverified"
    },
    "energy": {
      "status": "unavailable",
      "method": "not_measured",
      "reason": "source_unavailable",
      "powerWatts": null,
      "energyKwh": null
    },
    "compute": {
      "status": "unavailable",
      "method": "not_measured",
      "reason": "source_unavailable",
      "cpuCores": null,
      "gpuCount": null,
      "asicCount": null
    },
    "inference": {
      "status": "unavailable",
      "method": "not_measured",
      "reason": "source_unavailable",
      "requests": null,
      "completions": null,
      "failures": null,
      "fallbacks": null,
      "throughputPerSecond": null,
      "latencyMs": null
    },
    "mining": {
      "status": "withheld",
      "method": "estimated",
      "reason": "privacy_unverified",
      "hashrateHs": null,
      "windowSeconds": null
    }
  },
  "disclosure": {
    "status": "withheld",
    "reason": "below_threshold",
    "minimumMiners": 5
  }
}
404 response
{
  "error": "not_found"
}

Public share

curl -i 'https://explorer.melanin.global/api/public-shares/share_0000000000000000000000'
200 response from an isolated test
{
  "shareId": "share_0000000000000000000000",
  "projectId": "btc",
  "walletAddress": null,
  "observedAt": "2026-09-06T12:00:00.000Z",
  "metrics": {
    "hashrate1h": "5000000000000",
    "hashrate1d": "4900000000000",
    "hashrate7d": "4000000000000",
    "workerCount": 2,
    "shares": "12",
    "bestShare": "1234",
    "bestEver": "1234",
    "lastShareAt": "2026-09-06T11:59:00.000Z"
  }
}
404 response
{
  "error": "not_found"
}

One address at the gateway

curl -i 'https://melanin.engineering/api/v1/miner/bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq'
200 response from an isolated test
{
  "ok": true,
  "address": "bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq",
  "projectId": "btc",
  "observedAt": "2025-09-02T08:00:00Z",
  "metrics": {
    "hashrate1m": 5000000000000,
    "hashrate5m": 4900000000000,
    "hashrate1h": 0,
    "hashrate1d": 0,
    "hashrate7d": 0,
    "shares": 12,
    "bestShare": 1234,
    "bestEver": 1234,
    "lastShareAt": "2025-09-02T07:59:50Z"
  },
  "sourceObservedAt": "2025-09-02T08:00:00Z",
  "collectedAt": "2025-09-02T08:00:02Z",
  "lastAcceptedWorkAt": null,
  "evidenceType": "reported",
  "rateType": "estimated",
  "scope": "address"
}
404 response
{
  "ok": false,
  "error": "not_found"
}

Rules every read obeys

Poll at most once per minute and back off on errors. The explorer currently has no per-client request quota; the gateway limits public reads to 60 requests per ten minutes for each client and route bucket. Respect Retry-After when a service returns 429 or 503.

Public share pages, API responses and generated preview images are not cached by this application. Withdrawing consent prevents subsequent reads here; a third-party site may retain a copy it fetched while sharing was enabled. A null collectionComplete value means an older pool report did not record whether every configured lane was included.

A miss
For a public share, unknown, unpublished and withdrawn return the same 404 body. A pool-summary 404 also covers an unlisted project or the absence of a saved report.
Lists
The leaderboard pages rank only shares whose owners opted in, and carry share ids only. The wallet address appears solely on a share's own page.
Writes
There is no public write API: sharing is turned on and off from the Melanin dashboard, and the explorer exposes no account records and no profile-management actions.
Retired routes
/api/users, /api/users/togglePrivacy and /api/resetUser return 410 Gone. The old address URLs under /users/… are not served.
API documentation - Melanin Network Global Explorer