curl --request GET \
--url https://nexus.gerowallet.io/api/pools/{poolId}/history \
--header 'X-Api-Key: <api-key>'import requests
url = "https://nexus.gerowallet.io/api/pools/{poolId}/history"
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://nexus.gerowallet.io/api/pools/{poolId}/history', 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://nexus.gerowallet.io/api/pools/{poolId}/history",
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://nexus.gerowallet.io/api/pools/{poolId}/history"
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://nexus.gerowallet.io/api/pools/{poolId}/history")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://nexus.gerowallet.io/api/pools/{poolId}/history")
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""[
{
"margin": 123,
"epoch_no": 123,
"active_stake": 123,
"active_stake_pct": 123,
"saturation_pct": 123,
"block_cnt": 123,
"delegator_cnt": 123,
"fixed_cost": 123,
"pool_fees": 123,
"deleg_rewards": 123,
"epoch_ros": 123
}
][
{
"margin": 123,
"epoch_no": 123,
"active_stake": 123,
"active_stake_pct": 123,
"saturation_pct": 123,
"block_cnt": 123,
"delegator_cnt": 123,
"fixed_cost": 123,
"pool_fees": 123,
"deleg_rewards": 123,
"epoch_ros": 123
}
][
{
"margin": 123,
"epoch_no": 123,
"active_stake": 123,
"active_stake_pct": 123,
"saturation_pct": 123,
"block_cnt": 123,
"delegator_cnt": 123,
"fixed_cost": 123,
"pool_fees": 123,
"deleg_rewards": 123,
"epoch_ros": 123
}
][
{
"margin": 123,
"epoch_no": 123,
"active_stake": 123,
"active_stake_pct": 123,
"saturation_pct": 123,
"block_cnt": 123,
"delegator_cnt": 123,
"fixed_cost": 123,
"pool_fees": 123,
"deleg_rewards": 123,
"epoch_ros": 123
}
]Get the epoch-by-epoch history of a stake pool
Retrieves the per-epoch stake and performance history for a specific Cardano stake pool, oldest epoch first. Omit both count and page to receive the complete history in one response. Supplying either one pages the result: count defaults to 100 and page defaults to 1, matching Blockfrost’s conventions.
curl --request GET \
--url https://nexus.gerowallet.io/api/pools/{poolId}/history \
--header 'X-Api-Key: <api-key>'import requests
url = "https://nexus.gerowallet.io/api/pools/{poolId}/history"
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://nexus.gerowallet.io/api/pools/{poolId}/history', 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://nexus.gerowallet.io/api/pools/{poolId}/history",
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://nexus.gerowallet.io/api/pools/{poolId}/history"
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://nexus.gerowallet.io/api/pools/{poolId}/history")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://nexus.gerowallet.io/api/pools/{poolId}/history")
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""[
{
"margin": 123,
"epoch_no": 123,
"active_stake": 123,
"active_stake_pct": 123,
"saturation_pct": 123,
"block_cnt": 123,
"delegator_cnt": 123,
"fixed_cost": 123,
"pool_fees": 123,
"deleg_rewards": 123,
"epoch_ros": 123
}
][
{
"margin": 123,
"epoch_no": 123,
"active_stake": 123,
"active_stake_pct": 123,
"saturation_pct": 123,
"block_cnt": 123,
"delegator_cnt": 123,
"fixed_cost": 123,
"pool_fees": 123,
"deleg_rewards": 123,
"epoch_ros": 123
}
][
{
"margin": 123,
"epoch_no": 123,
"active_stake": 123,
"active_stake_pct": 123,
"saturation_pct": 123,
"block_cnt": 123,
"delegator_cnt": 123,
"fixed_cost": 123,
"pool_fees": 123,
"deleg_rewards": 123,
"epoch_ros": 123
}
][
{
"margin": 123,
"epoch_no": 123,
"active_stake": 123,
"active_stake_pct": 123,
"saturation_pct": 123,
"block_cnt": 123,
"delegator_cnt": 123,
"fixed_cost": 123,
"pool_fees": 123,
"deleg_rewards": 123,
"epoch_ros": 123
}
]Authorizations
API key (programmatic access — recommended)
Send your API key in the X-Api-Key header. Keys start with nxs_ and are
created in the dashboard (or via POST /api/keys with a session JWT).
Each key is scoped to one chain and one network (for example
CARDANO_MAINNET), fixed at creation time. It cannot query a different network
on the same chain, and it cannot query a different chain at all. A mismatched
network parameter returns 400 Network Mismatch. Create one key per chain
and network under the same account.
This is the credential most integrations should use.
Path Parameters
Cardano stake pool identifier (accepts both bech32 and hex formats)
Query Parameters
Accepts either the value listed here (CARDANO_MAINNET) or its kebab-case alias (cardano-mainnet); matching is case-insensitive. Omit it and the network is taken from the API key. A value that disagrees with the key's own network returns 400 Network Mismatch.
CARDANO_MAINNET, CARDANO_PREPROD, CARDANO_PREVIEW, APEX_PRIME_MAINNET, APEX_VECTOR_MAINNET, APEX_VECTOR_TESTNET, MIDNIGHT_MAINNET, MIDNIGHT_PREPROD, MIDNIGHT_STAGENET, BITCOIN_MAINNET, BITCOIN_TESTNET4 Number of epochs per page. Omit together with page for the full history.
Page number (1-based). Defaults to 1 when count is supplied.