Skip to content
GET /v1/network

Live gas price, epoch length, kickout thresholds

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/nearvalidators-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/nearvalidators-api/v1/network" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nearvalidators-api/v1/network", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nearvalidators-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/nearvalidators-api/v1/network",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "NEAR's live network economics and protocol parameters — the current gas price (in yoctoNEAR), the epoch length in blocks, the protocol version and the block/chunk producer kickout thresholds (the uptime % below which a validator is removed). Combine with /v1/validators to judge validator health.",
        "source": "NEAR RPC",
        "chain_id": "mainnet",
        "gas_limit": 1000000000000000,
        "epoch_length": 43200,
        "gas_price_yocto": "100000000",
        "protocol_version": 84,
        "max_gas_price_yocto": "10000000000000000000000",
        "block_producer_kickout_threshold": 80,
        "chunk_producer_kickout_threshold": 80
    },
    "meta": {
        "timestamp": "2026-06-14T17:03:52.006Z",
        "request_id": "41910221-7ed6-436f-a280-871fcf4b5caf"
    },
    "status": "ok",
    "message": "Network retrieved successfully",
    "success": true
}