Skip to main content
GET
/
api
/
v1
/
validator
/
{indexOrPubkey}
/
attestationefficiency
Attestation efficiency
curl --request GET \
  --url 'https://beaconcha.in/api/v1/validator/{indexOrPubkey}/attestationefficiency?apikey='
{
"status": "OK",
"data": [
{
"validatorindex": 21,
"attestation_efficiency": 1.0175
}
]
}

Authorizations

apikey
string
query
required

Path Parameters

indexOrPubkey
string
required

Comma-separated validator indices and/or public keys (maximum 100 items by default). Comma-separated list (no spaces) of validator identifiers. Each identifier must be either:

  • A validator index as a base-10 integer (for example, 652648)
  • A BLS public key as a 96-hex-character string with or without the 0x prefix (case-insensitive)

Resolution and limits:

  • The server resolves public keys to validator indices before querying data.
  • The total number of identifiers must not exceed the server-enforced limit (default 100).
  • Identifiers that cannot be parsed or resolved result in HTTP 400.
Example:

"1,2,3"

Response

Matching validators were retrieved successfully. The data array contains one entry per validator with the normalized attestation effectiveness score.

Standard success envelope used by all API endpoints.

status
enum<string>

HTTP-independent status of the API operation. For successful responses this is always "OK".

Available options:
OK
data
object[]

Response payload specific to the endpoint.