Primary Network
Get network details
Gets network details such as validator and delegator stats.
x-glacier-api-key<token>
Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://build.avax.network/console/utilities/data-api-keys.
In: header
Path Parameters
networkstring
Either mainnet or testnet/fuji.
Value in
"mainnet" | "fuji" | "testnet"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://data-api.avax.network/v1/networks/mainnet"{
"validatorDetails": {
"validatorCount": 0,
"totalAmountStaked": "string",
"estimatedAnnualStakingReward": "string",
"stakingDistributionByVersion": [
{
"version": "string",
"amountStaked": "string",
"validatorCount": 0
}
],
"stakingRatio": "string"
},
"delegatorDetails": {
"delegatorCount": 0,
"totalAmountStaked": "string"
}
}{
"message": "string",
"statusCode": 400,
"error": "Bad Request"
}{
"message": "string",
"statusCode": 401,
"error": "Unauthorized"
}{
"message": "string",
"statusCode": 403,
"error": "Forbidden"
}{
"message": "string",
"statusCode": 404,
"error": "Not Found"
}{
"message": "string",
"statusCode": 429,
"error": "Too Many Requests"
}{
"message": "string",
"statusCode": 500,
"error": "Internal Server Error"
}{
"message": "string",
"statusCode": 502,
"error": "Bad Gateway"
}{
"message": "string",
"statusCode": 503,
"error": "Service Unavailable"
}Is this guide helpful?