Stake pool delegator history
curl --request GET \
--url https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators/{epoch_no} \
--header 'api-key: <api-key>'import requests
url = "https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators/{epoch_no}"
headers = {"api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'api-key': '<api-key>'}};
fetch('https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators/{epoch_no}', 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://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators/{epoch_no}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators/{epoch_no}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("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://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators/{epoch_no}")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators/{epoch_no}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"stake_address": "stake1u83feq9ks8lc5gyre0c3fqr7e643604jgec9jp0tau220mgyj0a8n",
"amount": "18272086108353"
},
{
"stake_address": "stake1uxz2du6vka7emfclsgd2we8znyu2edy9exkxnd7n5xg63qga7u2jf",
"amount": "4002283786898"
}
],
"last_updated": {
"timestamp": "2023-12-18 10:13:03",
"block_hash": "fb42be66ef3ca55b0538c9c69c4f9b55f16b286b45f1817f89e481feb8d5b7bf",
"block_slot": 111328092
},
"next_cursor": "AAAAAAAAAAA"
}Pools
Stake pool delegator history
Get historical snapshot of delegators for a Cardano stake pool at a specific epoch with stake amounts.
GET
/
pools
/
{pool_id}
/
delegators
/
{epoch_no}
Stake pool delegator history
curl --request GET \
--url https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators/{epoch_no} \
--header 'api-key: <api-key>'import requests
url = "https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators/{epoch_no}"
headers = {"api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'api-key': '<api-key>'}};
fetch('https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators/{epoch_no}', 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://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators/{epoch_no}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators/{epoch_no}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("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://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators/{epoch_no}")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators/{epoch_no}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"stake_address": "stake1u83feq9ks8lc5gyre0c3fqr7e643604jgec9jp0tau220mgyj0a8n",
"amount": "18272086108353"
},
{
"stake_address": "stake1uxz2du6vka7emfclsgd2we8znyu2edy9exkxnd7n5xg63qga7u2jf",
"amount": "4002283786898"
}
],
"last_updated": {
"timestamp": "2023-12-18 10:13:03",
"block_hash": "fb42be66ef3ca55b0538c9c69c4f9b55f16b286b45f1817f89e481feb8d5b7bf",
"block_slot": 111328092
},
"next_cursor": "AAAAAAAAAAA"
}Authorizations
Project API Key
Path Parameters
Pool ID in bech32 format
Epoch number to fetch results for
Query Parameters
The max number of results per page
Required range:
x >= 0Pagination cursor string, use the cursor included in a page of results to fetch the next page
Response
Array of information about delegators for a given pool in a specific epoch
A paginated response. Pass in the next_cursor in a subsequent request as the cursor query parameter to fetch the next page of results.
Was this page helpful?

