Zum Inhalt springen
GET /v1/centralization

Decentralisation metrics incl. Nakamoto coefficient

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/miningpools-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/miningpools-api/v1/centralization" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/miningpools-api/v1/centralization", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/miningpools-api/v1/centralization");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/miningpools-api/v1/centralization",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Nakamoto coefficient = fewest known pools controlling >50% of attributed blocks; lower means more centralised.",
        "source": "blockchain.com",
        "timespan": "4days",
        "top_pool": {
            "pool": "AntPool",
            "share_pct": 44.49
        },
        "total_blocks": 515,
        "top3_share_pct": 88.57,
        "top5_share_pct": 95.92,
        "herfindahl_index": 3020.2,
        "known_pool_count": 7,
        "unknown_share_pct": 52.43,
        "nakamoto_coefficient": 2
    },
    "meta": {
        "timestamp": "2026-06-12T01:41:30.674Z",
        "request_id": "55f62002-a793-4174-a142-0bc42a212928"
    },
    "status": "ok",
    "message": "Centralization retrieved successfully",
    "success": true
}