Zum Inhalt springen
GET /v1/validator

One validator by index or public key

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/ethstakingqueue-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "One Ethereum validator by index or public key: its current status (pending_queued, active_ongoing, active_exiting, exited, slashed…), its actual and effective balance in ETH, whether it has been slashed, and its activation/exit/withdrawable epochs with wall-clock times. Live, cached ~90s.",
        "index": 0,
        "pubkey": "0x933ad9491b62059dd065b560d256d8957a8c402cc6e8d8ee7290ae11e8f7329267a8811c397529dac52ae1342ba58c95",
        "source": "Ethereum Beacon API (ethereum-beacon-api.publicnode.com), keyless",
        "status": "active_ongoing",
        "slashed": false,
        "exit_time": null,
        "exit_epoch": null,
        "balance_eth": 32.9378,
        "activation_time": "2020-12-01T12:00:23.000Z",
        "activation_epoch": 0,
        "withdrawable_epoch": null,
        "effective_balance_eth": 32
    },
    "meta": {
        "timestamp": "2026-06-13T04:42:43.400Z",
        "request_id": "4cddcd15-9e65-46d6-b314-0ca7e4502cd2"
    },
    "status": "ok",
    "message": "Validator retrieved successfully",
    "success": true
}