Staking
Get staking overview
Get an overview of staking statistics and metrics for the Starknet network.
GET
/
staking
/
overview
Get staking overview
curl --request GET \
--url https://public-api.voyager.online/beta/staking/overview \
--header 'x-api-key: <api-key>'import requests
url = "https://public-api.voyager.online/beta/staking/overview"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://public-api.voyager.online/beta/staking/overview', 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://public-api.voyager.online/beta/staking/overview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://public-api.voyager.online/beta/staking/overview"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://public-api.voyager.online/beta/staking/overview")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.voyager.online/beta/staking/overview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"overview": {
"tokenInfoStrk": {
"tokenAddress": "0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d",
"price": 0.119393,
"decimals": 18,
"logoUrl": "https://coin-images.coingecko.com/coins/images/26433/small/starknet.png?1696525507",
"name": "Starknet",
"symbol": "strk"
},
"tokenInfoBtc": null,
"totalSupply": "10000000000",
"totalValidators": 164,
"totalDelegators": 69161,
"maxAPRStrk": 668,
"maxAPRBtc": 0,
"mintingCurve": 160,
"securityLockup": 604800,
"minimumStake": "20000000000000000000000",
"averageCommission": 647,
"totalStakeStrk": "573308919158317718685138261",
"totalStakeBtc": "4012490000593076",
"totalPendingUnstakeBtc": "0",
"totalPendingUnstakeStrk": "0",
"epochData": {
"id": 3940,
"nextId": 3941,
"progress": 76.47,
"estimatedEndTimestamp": 1758544346.91,
"durationSeconds": 2494.53
}
},
"lastUpdated": 1758543761802
}{
"message": "Forbidden"
}{
"message": "Limit Exceeded"
}Authorizations
API key for authentication. Get your key at https://voyager.online/plans
⌘I
Get staking overview
curl --request GET \
--url https://public-api.voyager.online/beta/staking/overview \
--header 'x-api-key: <api-key>'import requests
url = "https://public-api.voyager.online/beta/staking/overview"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://public-api.voyager.online/beta/staking/overview', 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://public-api.voyager.online/beta/staking/overview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://public-api.voyager.online/beta/staking/overview"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://public-api.voyager.online/beta/staking/overview")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.voyager.online/beta/staking/overview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"overview": {
"tokenInfoStrk": {
"tokenAddress": "0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d",
"price": 0.119393,
"decimals": 18,
"logoUrl": "https://coin-images.coingecko.com/coins/images/26433/small/starknet.png?1696525507",
"name": "Starknet",
"symbol": "strk"
},
"tokenInfoBtc": null,
"totalSupply": "10000000000",
"totalValidators": 164,
"totalDelegators": 69161,
"maxAPRStrk": 668,
"maxAPRBtc": 0,
"mintingCurve": 160,
"securityLockup": 604800,
"minimumStake": "20000000000000000000000",
"averageCommission": 647,
"totalStakeStrk": "573308919158317718685138261",
"totalStakeBtc": "4012490000593076",
"totalPendingUnstakeBtc": "0",
"totalPendingUnstakeStrk": "0",
"epochData": {
"id": 3940,
"nextId": 3941,
"progress": 76.47,
"estimatedEndTimestamp": 1758544346.91,
"durationSeconds": 2494.53
}
},
"lastUpdated": 1758543761802
}{
"message": "Forbidden"
}{
"message": "Limit Exceeded"
}