/v1/centralization
Decentralisation metrics incl. Nakamoto coefficient
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}