Vai al contenuto
GET /v1/meta

Service metadata

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/nearvalidators-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "sample": {
            "epoch": 4464,
            "validators": 390
        },
        "source": "public NEAR RPC (rpc.mainnet.near.org), keyless",
        "service": "nearvalidators-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/network": "Live gas price, epoch length and protocol kickout thresholds.",
            "GET /v1/proposals": "Next-epoch staking proposals ranked by stake (limit).",
            "GET /v1/validators": "Current validators ranked by stake, with uptime (limit)."
        },
        "description": "Read NEAR's validator set and network economics live from a public NEAR RPC: list the current epoch's validators ranked by stake with uptime, read the next-epoch staking proposals, and read the live network economics (gas price, epoch length, kickout thresholds). The validator / staking / network layer for NEAR explorers, staking dashboards and delegators. Live, short cache only.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-14T17:03:52.079Z",
        "request_id": "65f3eb72-6c6e-41ab-b04e-004d283cf54c"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}