Stake pool delegators
curl --request GET \
--url https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators \
--header 'api-key: <api-key>'import requests
url = "https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators"
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', 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",
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"
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")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators")
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": "stake1u82hrwv9ucsa38k4qejwenmq5zmleexlsplc4acpvl3g6asxr8aay",
"amount": 838095398379,
"active_epoch_no": 234,
"latest_delegation_tx_hash": "94019e466d8c1a89f88df4127980bc6fb3f432b21c3f498ceb2daaedd721f04b"
},
{
"stake_address": "stake1uy0yzgwlv2898qwap6qtg7uwavknxtqfs3c2u8x35rgf5jcx0z2tv",
"amount": 19763135363,
"active_epoch_no": 363,
"latest_delegation_tx_hash": "659911f1d712961c6795c1c082b216704351f368ef52388b9c0564e7d947218c"
},
{
"stake_address": "stake1uy7cha5x6k67xq0c5adpsknf8982pdr4vwrn9yaxapzz9esmllnll",
"amount": 22896634615,
"active_epoch_no": 234,
"latest_delegation_tx_hash": "100124ac08d9beaa68c9592a35bd4479ccdf20f74b6ff60bc87311fa4ca6b248"
},
{
"stake_address": "stake1uylvs9r8f98cjfehvdy8ypa9feslckdy48m4vn8ruvaupas47scvy",
"amount": 1474,
"active_epoch_no": 263,
"latest_delegation_tx_hash": "c317381b0d9e243dea2eacefe1a85d9e2186b6a80e70ca9c9680a757353a7a3e"
}
],
"last_updated": {
"timestamp": "2022-10-10 20:25:28",
"block_hash": "525024696e2a2fa3312bc726d443aebae17763387207299c3e8b394dddf592e4",
"block_slot": 96404843
},
"next_cursor": null
}Pools
Stake pool delegators
Get list of delegators staking to a specific Cardano stake pool with their stake amounts and addresses.
GET
/
pools
/
{pool_id}
/
delegators
Stake pool delegators
curl --request GET \
--url https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators \
--header 'api-key: <api-key>'import requests
url = "https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators"
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', 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",
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"
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")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/delegators")
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": "stake1u82hrwv9ucsa38k4qejwenmq5zmleexlsplc4acpvl3g6asxr8aay",
"amount": 838095398379,
"active_epoch_no": 234,
"latest_delegation_tx_hash": "94019e466d8c1a89f88df4127980bc6fb3f432b21c3f498ceb2daaedd721f04b"
},
{
"stake_address": "stake1uy0yzgwlv2898qwap6qtg7uwavknxtqfs3c2u8x35rgf5jcx0z2tv",
"amount": 19763135363,
"active_epoch_no": 363,
"latest_delegation_tx_hash": "659911f1d712961c6795c1c082b216704351f368ef52388b9c0564e7d947218c"
},
{
"stake_address": "stake1uy7cha5x6k67xq0c5adpsknf8982pdr4vwrn9yaxapzz9esmllnll",
"amount": 22896634615,
"active_epoch_no": 234,
"latest_delegation_tx_hash": "100124ac08d9beaa68c9592a35bd4479ccdf20f74b6ff60bc87311fa4ca6b248"
},
{
"stake_address": "stake1uylvs9r8f98cjfehvdy8ypa9feslckdy48m4vn8ruvaupas47scvy",
"amount": 1474,
"active_epoch_no": 263,
"latest_delegation_tx_hash": "c317381b0d9e243dea2eacefe1a85d9e2186b6a80e70ca9c9680a757353a7a3e"
}
],
"last_updated": {
"timestamp": "2022-10-10 20:25:28",
"block_hash": "525024696e2a2fa3312bc726d443aebae17763387207299c3e8b394dddf592e4",
"block_slot": 96404843
},
"next_cursor": null
}Authorizations
Project API Key
Headers
Large numbers returned as strings if set to true
Path Parameters
Pool ID in bech32 format
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 current delegators for a given pool
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?

