Get stakers
List stakers for a specific subnet, with pagination.
Last updated
Was this helpful?
Was this helpful?
curl "https://dashboard.mor.org/api/builders/stakers?subnet_id=0xSUBNET_ID&limit=100&offset=0"async function getAllStakers(subnetId) {
const stakers = [];
let offset = 0;
const limit = 100;
while (true) {
const url = `https://dashboard.mor.org/api/builders/stakers?subnet_id=${subnetId}&limit=${limit}&offset=${offset}`;
const response = await fetch(url);
const body = await response.json();
stakers.push(...body.data.stakers);
if (!body.pagination.hasMore) break;
offset += limit;
}
return stakers;
}import requests
def get_all_stakers(subnet_id: str):
stakers = []
offset = 0
limit = 100
while True:
response = requests.get(
'https://dashboard.mor.org/api/builders/stakers',
params={'subnet_id': subnet_id, 'limit': limit, 'offset': offset},
)
body = response.json()
stakers.extend(body['data']['stakers'])
if not body['pagination']['hasMore']:
break
offset += limit
return stakers{
"success": true,
"network": "base",
"timestamp": "2026-01-03T01:51:20.218Z",
"subnetId": "0x415471125cc4d03b89818acb8426981fa28a3eee03a9097176297a9a6ae87c8d",
"pagination": {
"limit": 100,
"offset": 0,
"total": 1,
"hasMore": false
},
"data": {
"stakers": [
{
"address": "0x504b01387db33d7a412d906022d23b35c82fe28d",
"staked": "1000000000000000000",
"stakedFormatted": 1,
"lastStake": "1767400847",
"lastStakeDate": "2026-01-03T00:40:47.000Z"
}
],
"totals": {
"totalStakers": 1,
"totalStaked": "1000000000000000000",
"totalStakedFormatted": 1
}
}
}