curl -X GET \
"curl https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/beacon/states/head/validators?status=active \
-H "Content-Type: application/json"
Get validators from state
Returns filterable list of validators with their balance, status and index.
Information will be returned for all indices or public key that match known validators. If an index or public key does not match any known validator, no information will be returned but this will not cause an error. There are no guarantees for the returned data in terms of ordering; both the index and public key are returned for each validator, and can be used to confirm for which inputs a response has been returned.
State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", <slot>, <hex encoded stateRoot with 0x prefix>.
"head"
Either hex encoded public key (any bytes48 with 0x prefix) or validator index
Either hex encoded public key (any bytes48 with 0x prefix) or validator index
Possible statuses:
"active_ongoing"
Success
false
True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.
"1"
Index of validator in validator registry.
"1"
Current validator balance in gwei.
Possible statuses:
"active_ongoing"
The validator's BLS public key, uniquely identifying them. 48-bytes, hex encoded with 0x prefix, case insensitive.
"0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a"
^0x[a-fA-F0-9]{96}$
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
Root of withdrawal credentials
"1"
Balance at stake in Gwei.
Was validator slashed (not longer active).
false
"1"
When criteria for activation were met.
"1"
Epoch when validator activated. 'FAR_FUTURE_EPOCH' if not activated
"1"
Epoch when validator exited. 'FAR_FUTURE_EPOCH' if not exited.
"1"
When validator can withdraw or transfer funds. 'FAR_FUTURE_EPOCH' if not defined