Why can I only see my first 10 delegators?

Hi there!
when I usee the API to see my delegators I only see 10 of them. How can i see all? It says there are 27 delegators:

curl -s POST -k ‘https://mainnet-gateway.radixdlt.com/validator/stakes’ -H ‘Content-Type: application/json’ -d ’
{
“network_identifier”: {
“network”: “mainnet”
},
“validator_identifier”: {
“address”: “<MY_VALIDATOR_ID>”
}
}’ | jq

2 Likes

You need to repeat the same API call adding “cursor” to the request with the “next_cursor” from the previous response.

Annoyingly there’s no single API call which will pull all data in one go.

2 Likes

Oh okay thanks for the hint! Can you tell me exactly where i have to put the new “cursor” in this exmaple? :sweat_smile:

curl -s POST -k ‘https://mainnet-gateway.radixdlt.com/validator/stakes’ -H ‘Content-Type: application/json’ \ -d ’
{
“network_identifier”: {
“network”: “mainnet”
},
“validator_identifier”: {
“address”: “<VALIDATOR_ID>”
}
}’ | jq

1 Like

Try this:

Let me know if that works ok for you.

4 Likes

works fine thank you for your help!

2 Likes