/v1/network
Chain state — tip block, epoch, block time, difficulty, hashrate
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/nervos-api/v1/network" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nervos-api/v1/network", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nervos-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/nervos-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": "nervos-ckb",
"model": "Cell model (generalised UTXO)",
"source": "Nervos CKB",
"consensus": "Eaglesong PoW (NC-MAX)",
"hash_rate": 81841176830210.33,
"epoch_index": 298,
"epoch_length": 1534,
"epoch_number": 14356,
"native_token": "CKB",
"tip_block_number": 19562575,
"average_block_time_ms": 7361.96,
"estimated_epoch_time_ms": 14364832.725474,
"transactions_last_24hrs": 16503,
"transactions_per_minute": 12,
"current_epoch_difficulty": "766385146820022311"
},
"meta": {
"timestamp": "2026-06-10T22:58:24.385Z",
"request_id": "e25c4371-8962-4ad4-9203-f3deb4aa27e5"
},
"status": "ok",
"message": "Network state retrieved successfully",
"success": true
}