Aller au contenu
GET /v1/network

Network & node stats

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/maya-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/maya-api/v1/network" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/maya-api/v1/network", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/maya-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/maya-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": {
        "network": "MAYAChain",
        "bonding_apy": 0.459908,
        "liquidity_apy": 0.120673,
        "total_reserve": 18073320.53545727,
        "active_node_count": 38,
        "next_churn_height": 10016352832,
        "pool_share_factor": 0.55,
        "standby_node_count": 13,
        "total_pooled_cacao": 4955087042.356289
    },
    "meta": {
        "timestamp": "2026-06-15T02:10:04.282Z",
        "request_id": "f0687004-dbff-427c-9e51-9af6c0adc502"
    },
    "status": "ok",
    "message": "Network retrieved successfully",
    "success": true
}