Naar de inhoud
GET /v1/centralization

Decentralisation metrics incl. Nakamoto coefficient

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/miningpools-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}