/v1/network
Chain head — best block, difficulty, miner reward
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/ergo-api/v1/network" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ergo-api/v1/network", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ergo-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/ergo-api/v1/network",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"chain": "ergo",
"model": "extended UTXO (eUTXO)",
"source": "Ergo Platform",
"block_id": "e561e16ca01c0d19a116557b93f93c5791eceabd33ab400ce3ff3405157619bc",
"tx_count": 4,
"consensus": "Autolykos v2 PoW",
"best_block": 1804874,
"block_time": "2026-06-10T22:54:03.743Z",
"difficulty": 101914591100928,
"native_token": "ERG",
"total_blocks": 1804874,
"miner_reward_erg": 3
},
"meta": {
"timestamp": "2026-06-10T22:58:49.747Z",
"request_id": "db80f0c8-8950-4921-8853-46c5171ad2cb"
},
"status": "ok",
"message": "Network state retrieved successfully",
"success": true
}