Validator performance leaderboard
curl --request GET \
--url 'https://beaconcha.in/api/v1/validator/leaderboard?apikey='import requests
url = "https://beaconcha.in/api/v1/validator/leaderboard?apikey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://beaconcha.in/api/v1/validator/leaderboard?apikey=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://beaconcha.in/api/v1/validator/leaderboard?apikey=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://beaconcha.in/api/v1/validator/leaderboard?apikey="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://beaconcha.in/api/v1/validator/leaderboard?apikey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://beaconcha.in/api/v1/validator/leaderboard?apikey=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "OK",
"data": [
{
"balance": 2011101824120,
"performance1d": 126585316,
"performance7d": 1467804126,
"performance31d": 5128497140,
"performance365d": 11101824120,
"performancetotal": 11101824120,
"rank7d": 1,
"validatorindex": 2030996
}
]
}{
"status": "ERROR: could not retrieve db results",
"data": null
}{
"status": "ERROR: internal server error",
"data": null
}Rewards
Validator performance leaderboard
Retrieve the current top 100 validators ranked by 7-day consensus-layer rewards. This endpoint does not accept query parameters.
GET
/
api
/
v1
/
validator
/
leaderboard
Validator performance leaderboard
curl --request GET \
--url 'https://beaconcha.in/api/v1/validator/leaderboard?apikey='import requests
url = "https://beaconcha.in/api/v1/validator/leaderboard?apikey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://beaconcha.in/api/v1/validator/leaderboard?apikey=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://beaconcha.in/api/v1/validator/leaderboard?apikey=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://beaconcha.in/api/v1/validator/leaderboard?apikey="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://beaconcha.in/api/v1/validator/leaderboard?apikey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://beaconcha.in/api/v1/validator/leaderboard?apikey=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "OK",
"data": [
{
"balance": 2011101824120,
"performance1d": 126585316,
"performance7d": 1467804126,
"performance31d": 5128497140,
"performance365d": 11101824120,
"performancetotal": 11101824120,
"rank7d": 1,
"validatorindex": 2030996
}
]
}{
"status": "ERROR: could not retrieve db results",
"data": null
}{
"status": "ERROR: internal server error",
"data": null
}Authorizations
ApiKeyAuthQueryApiKeyAuthHeader
Response
Leaderboard retrieved successfully. The data array contains one entry per validator with performance metrics.
Was this page helpful?
⌘I

