Aller au contenu
GET /v1/centralization

Stake centralisation incl. Nakamoto coefficient

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/solanavalidators-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/solanavalidators-api/v1/centralization" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/solanavalidators-api/v1/centralization", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/solanavalidators-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/solanavalidators-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 validators controlling >1/3 of stake (the share that could halt Solana under BFT); higher is more decentralised.",
        "source": "Solana RPC",
        "top1_share_pct": 3.6,
        "top10_share_pct": 23.76,
        "top20_share_pct": 35.01,
        "validator_count": 722,
        "delinquent_count": 49,
        "herfindahl_index": 99,
        "nakamoto_coefficient": 19,
        "total_active_stake_sol": 424047658.84
    },
    "meta": {
        "timestamp": "2026-06-12T01:41:20.044Z",
        "request_id": "d81c7b43-1b21-4bea-b3a7-51f300905f6e"
    },
    "status": "ok",
    "message": "Centralization retrieved successfully",
    "success": true
}