Stake pool information
curl --request GET \
--url https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/info \
--header 'api-key: <api-key>'import requests
url = "https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/info"
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}/info', 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}/info",
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}/info"
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}/info")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/info")
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": {
"pool_id_bech32": "pool174mw7e20768e8vj4fn8y6p536n8rkzswsapwtwn354dckpjqzr8",
"pool_id_hex": "f576ef654ff68f93b2554cce4d0691d4ce3b0a0e8742e5ba71a55b8b",
"active_epoch_no": 6,
"vrf_key_hash": "352196224497a0fd7bad52d113767660bf70f8b11a8c40c265f7bfb359ebe9ee",
"margin": 1,
"fixed_cost": 500000000,
"pledge": 100000000000000,
"reward_addr": "stake_test1uzkdwx64sjkt6xxtzye00y3k2m9wn5zultsguadaf4ggmssadyunp",
"owners": [
"stake_test1urcnqgzt2x8hpsvej4zfudehahknm8lux894pmqwg5qshgcrn346q"
],
"relays": [
{
"dns": "preprod-node.world.dev.cardano.org",
"srv": null,
"ipv4": null,
"ipv6": null,
"port": 30000
}
],
"meta_url": null,
"meta_hash": null,
"meta_json": null,
"pool_status": "registered",
"retiring_epoch": null,
"op_cert": "4838a036e2540d83eea0d28626f41566dbaf6d263bc9ad95e2ff89740a2a1b65",
"op_cert_counter": 5,
"active_stake": 1037439267850,
"sigma": "0.00432904657047742993",
"block_count": 145101,
"live_pledge": 1000053629698,
"live_stake": 1037439267850,
"live_delegators": 13,
"live_saturation": "1.7000"
},
"last_updated": {
"timestamp": "2022-10-10 20:25:28",
"block_hash": "5daa79fe4bf6581b59e5ebebb7a0ac6b2edd3ade5016e9db09ac67a7661010e5",
"block_slot": 32288194
}
}Pools
Stake pool information
Get detailed information about a specific Cardano stake pool including registration details and current status.
GET
/
pools
/
{pool_id}
/
info
Stake pool information
curl --request GET \
--url https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/info \
--header 'api-key: <api-key>'import requests
url = "https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/info"
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}/info', 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}/info",
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}/info"
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}/info")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/info")
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": {
"pool_id_bech32": "pool174mw7e20768e8vj4fn8y6p536n8rkzswsapwtwn354dckpjqzr8",
"pool_id_hex": "f576ef654ff68f93b2554cce4d0691d4ce3b0a0e8742e5ba71a55b8b",
"active_epoch_no": 6,
"vrf_key_hash": "352196224497a0fd7bad52d113767660bf70f8b11a8c40c265f7bfb359ebe9ee",
"margin": 1,
"fixed_cost": 500000000,
"pledge": 100000000000000,
"reward_addr": "stake_test1uzkdwx64sjkt6xxtzye00y3k2m9wn5zultsguadaf4ggmssadyunp",
"owners": [
"stake_test1urcnqgzt2x8hpsvej4zfudehahknm8lux894pmqwg5qshgcrn346q"
],
"relays": [
{
"dns": "preprod-node.world.dev.cardano.org",
"srv": null,
"ipv4": null,
"ipv6": null,
"port": 30000
}
],
"meta_url": null,
"meta_hash": null,
"meta_json": null,
"pool_status": "registered",
"retiring_epoch": null,
"op_cert": "4838a036e2540d83eea0d28626f41566dbaf6d263bc9ad95e2ff89740a2a1b65",
"op_cert_counter": 5,
"active_stake": 1037439267850,
"sigma": "0.00432904657047742993",
"block_count": 145101,
"live_pledge": 1000053629698,
"live_stake": 1037439267850,
"live_delegators": 13,
"live_saturation": "1.7000"
},
"last_updated": {
"timestamp": "2022-10-10 20:25:28",
"block_hash": "5daa79fe4bf6581b59e5ebebb7a0ac6b2edd3ade5016e9db09ac67a7661010e5",
"block_slot": 32288194
}
}Authorizations
Project API Key
Headers
Large numbers returned as strings if set to true
Path Parameters
Pool ID in bech32 format
Response
Current information regarding the specified pool
Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain's history the data was correct as-of.
Was this page helpful?
⌘I

