/v1/network
Live chain height, total storage power and active providers
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/filecoin-api/v1/network" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/filecoin-api/v1/network", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/filecoin-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/filecoin-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": "filecoin",
"source": "Filecoin",
"chain_time": "2026-06-10T13:59:00.000Z",
"chain_height": 6093118,
"native_token": "FIL",
"active_storage_providers": 638,
"network_storage_power_eib": 1.7058,
"network_storage_power_pib": 1746.7079
},
"meta": {
"timestamp": "2026-06-10T14:00:14.229Z",
"request_id": "66a3b6b0-0dfa-43a3-9aaa-b90c4c7fb141"
},
"status": "ok",
"message": "Network state retrieved successfully",
"success": true
}