Ir al contenido
GET /v1/stats

Live governance overview: totals, open count, breakdown by topic & status

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/icpgov-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/icpgov-api/v1/stats" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/icpgov-api/v1/stats", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/icpgov-api/v1/stats");
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/icpgov-api/v1/stats",
    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": "Live NNS governance overview: the all-time total proposal count, plus how the most recent proposals break down by topic and status (and how many are currently open for voting).",
        "source": "Internet Computer dashboard",
        "by_topic": {
            "Neuron Management": 9,
            "Subnet Management": 3,
            "Ic Os Version Election": 4,
            "Ic Os Version Deployment": 76,
            "Protocol Canister Management": 3,
            "Application Canister Management": 5
        },
        "by_status": {
            "OPEN": 12,
            "EXECUTED": 88
        },
        "sample_window": 100,
        "open_in_window": 12,
        "total_proposals": 122261
    },
    "meta": {
        "timestamp": "2026-06-14T08:03:45.235Z",
        "request_id": "5530572f-9c04-486a-af5a-0f07ce429e75"
    },
    "status": "ok",
    "message": "Stats retrieved successfully",
    "success": true
}