Granite Upgrade Activates in11d:16h:53m:24s
Primary Network

Get single validator details

List validator details for a single validator. Filterable by validation status.

GET
/v1/networks/{network}/validators/{nodeId}
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"
nodeIdstring

A primary network (P or X chain) nodeId.

Query Parameters

pageToken?string

A page token, received from a previous list call. Provide this to retrieve the subsequent page.

pageSize?integer

The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.

Default10
Range1 <= value <= 100
validationStatus?string

Validation status of the node.

Value in"completed" | "active" | "pending" | "removed"
sortOrder?string

The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the sortBy query parameter, if provided.

Value in"asc" | "desc"

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/validators/NodeID-111111111111111111116DBWJs?pageSize=10&validationStatus=completed&sortOrder=asc"
{
  "nextPageToken": "string",
  "validators": [
    {
      "txHash": "string",
      "nodeId": "string",
      "subnetId": "string",
      "amountStaked": "string",
      "delegationFee": "string",
      "startTimestamp": 0,
      "endTimestamp": 0,
      "blsCredentials": {
        "publicKey": "string",
        "proofOfPossession": "string"
      },
      "delegatorCount": 0,
      "amountDelegated": "string",
      "rewards": {
        "validationRewardAmount": "string",
        "delegationRewardAmount": "string",
        "rewardAddresses": [
          "string"
        ],
        "rewardTxHash": "string"
      },
      "validationStatus": "completed"
    }
  ]
}
{
  "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?