/v1/centralization
Decentralisation metrics incl. Nakamoto coefficient
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}