Staking

Source validators data from the Primary Network

get
Validators

https://avascan.info/api/v1/validators
This API allows you to source data per each validator on the Primary Network.
Request
Response
Request
Path Parameters
offset
optional
number
The starting point of the search
limit
optional
number
Number of items to fetch
orderBy
optional
object
Can be used with all numeric keys with 'desc' or 'asc' value: weight, startTime, endTime, delegatedWeights, delegations, capacity, delegationFee, maxYield, potentialReward
Response
200: OK
Outputs all data shown in the Validator Details page, along with rich data about the beneficiaries.
{
"count":1004,
"results":
[
{
"id":"NodeID-3DwhPYMEQABuocceWDAZEpi8GMcLyvTYy",
"weight":3000000,
"startTime":"2020-09-22T09:24:17.000Z",
"endTime":"2021-09-22T09:24:17.000Z",
"status":"active",
"delegatedWeights":1313691.75,
"delegations":34,
"capacity":0,
"delegationFee":0.0999,
"maxYield":0.0999,
"potentialReward":197357.255653572,
"beneficiary":
{
"locktime":"0",
"threshold":"1",
"addresses":
[ "P-avax1p9w2g4nds47d83sa7vqtm2g3yr28mp7f6pd7tt"]
}
}
]
}

get
Delegations

https://avascan.info/api/v1/delegations
This API allows you to source data about all the delegations in progress. It does not provide historical delegations. No parameter is needed.
Request
Response
Request
Response
200: OK
{
"items":
[
{
"beneficiary":
{
"locktime":"0",
"threshold":"1",
"addresses":
["P-avax1ef0yud6tj9xt2t7gt8gnkzf0kksw4wfgpwm78v"]
},
"txid":"zJUu4d87L8fakqx1ayPUNcvuxk2bKiKLUnyQjqrTvCwKdtMti",
"weight":2324960,
"nodeID":"NodeID-77sRzBARyvwQk9g4d2CZaucRQeRA7SJuh",
"potentialReward":34302.056718573,
"startTime":"2021-07-06T13:48:44.000Z",
"endTime":"2021-09-04T23:00:19.000Z"
},
...
]
}