Aller au contenu
GET /v1/network

Live IC state: block height, canisters, nodes, subnets

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/icp-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/icp-api/v1/network" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/icp-api/v1/network", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/icp-api/v1/network");
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/icp-api/v1/network",
    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": {
        "chain": "internet-computer",
        "source": "Internet Computer",
        "subnets": 58,
        "up_nodes": 683,
        "total_nodes": 712,
        "block_height": 8307257176,
        "native_token": "ICP",
        "running_canisters": 1152617,
        "stopped_canisters": 102795,
        "message_execution_rate": 616994269.26
    },
    "meta": {
        "timestamp": "2026-06-10T13:59:49.784Z",
        "request_id": "fe18a72b-9001-4941-97c3-4a7956b151d2"
    },
    "status": "ok",
    "message": "Network state retrieved successfully",
    "success": true
}