/v1/network
Live Aptos chain state
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/aptos-api/v1/network" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/aptos-api/v1/network", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/aptos-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/aptos-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": {
"epoch": 16115,
"source": "Aptos",
"chain_id": 1,
"git_hash": "7f0840cc711a8415e765e15a6bf06955107df741",
"node_role": "full_node",
"block_height": "820275931",
"ledger_version": "5654251983",
"ledger_timestamp": "2026-06-09T20:24:51.978Z"
},
"meta": {
"timestamp": "2026-06-09T20:24:52.176Z",
"request_id": "1dbffce3-e122-420a-9256-a64772c58945"
},
"status": "ok",
"message": "Network state retrieved successfully",
"success": true
}