Links

/eth/v1/beacon/states/{state_id}/validators

Get validators from state
get
https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/
/eth/v1/beacon/states/{state_id}/validators
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.

Parameters
Path
state_id*
string
State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", \<slot\>, \<hex encoded stateRoot with 0x prefix\>.
Body
*
array
*
array
Responses
200: OK
Success
400: Bad Request
Invalid state or validator ID, or status
404: Not Found
State not found
500: Internal Server Error
Beacon node internal error.
Mainnet
Testnet
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"
curl -X GET \
"curl https://goerli.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/beacon/states/head/validators?status=active \
-H "Content-Type: application/json"