GET
/
v1
/
eth
/
validators
/
{validator_index_or_pubkey}
/
attestations
curl --request GET \
  --url https://api.rated.network/v1/eth/validators/{validator_index_or_pubkey}/attestations
{
  "next": "https://api.rated.network//eth/validators/{validator_index_or_pubkey}/attestations?limit=10&offset=30",
  "pages": 10,
  "previous": "https://api.rated.network//eth/validators/{validator_index_or_pubkey}/attestations?limit=10&offset=10",
  "results": [
    [
      {
        "attester_effectiveness": 95.97701149425288,
        "avg_correctness": 0.9896296296296296,
        "avg_inclusion_delay": 1.031111111111111,
        "date": "2023-01-01",
        "day": 796,
        "endDate": "2023-01-07",
        "endDay": 802,
        "hour": 19056,
        "startDate": "2023-01-01",
        "startDay": 796,
        "sum_correct_head": 219,
        "sum_correct_source": 225,
        "sum_correct_target": 224,
        "sum_inclusion_delay": 232,
        "sum_late_head_votes": 1,
        "sum_late_source_votes": 0,
        "sum_late_target_votes": 0,
        "sum_missed_attestations": 0,
        "sum_wrong_head_votes": 1,
        "sum_wrong_target_votes": 1,
        "sync_signature_count": 0,
        "total_attestation_assignments": 225,
        "total_attestations": 230,
        "total_unique_attestations": 225,
        "uptime": 1,
        "validator_index": 1
      }
    ]
  ]
}

Headers

X-Rated-Network
enum<string>
Available options:
mainnet,
holesky

Path Parameters

validator_index_or_pubkey
required
Required range: x >= 0

Query Parameters

limit
integer
default:10

The number of results returned per page

offset
integer
default:0

The number of results to skip before starting to return

toDate
string | null

End date

Example:

"2023-12-31"

fromDate
string | null

Start date

Example:

"2023-01-01"

fromDay
integer | null

Start day

Required range: x >= 0
Example:

"791"

toDay
integer | null

End day

Required range: x >= 0
Example:

"851"

utc
boolean | null
default:false

Returns results based on UTC days (true) or ETH chain days (false)

sortBy
string

The filter you want results to be sorted by

sortOrder
enum<string> | null
default:asc

The sort order for the results

Available options:
asc,
desc
granularity
enum<string> | null
default:day

The size of time increments you are looking to query

Available options:
hour,
day,
week,
month,
quarter,
year,
all

Response

200
application/json
Successful Response
previous
string | null
required
next
string | null
required
pages
integer
required
Required range: x >= 0
results
object[]
required