---
title: "POST /validators"
method: POST
path: "/validators"
---

# POST /validators

`POST /validators`

## Request

- The document declares no server URL.
- Auth: none declared

Queries active validators on the network. Returns details and the state of validation on the blockchain.

## Request body

- JsonRpcRequestForValidators
  - `id` string, required
  - `jsonrpc` string, required
  - `method` 'validators', required
  - `params` union, required
    - object
      - `epoch_id` string, required: Epoch identifier -- wrapped hash, to make it easier to distinguish. EpochId of epoch T is the hash of last block in T-2 EpochId of first two epochs is 0
    - object
      - `block_id` union, required
        - integer
        - string
    - object
      - `latest` unknown, required

## Response `200`

- union
  - object
    - `result` RpcValidatorResponse, required: Information about this epoch validators and next epoch validators
      - `chunk_endorsements_per_shard` ShardChunkEndorsementsView[]: Chunk endorsements of each shard so far in the current epoch, summed over the shard's chunk validators, in shard id order. Empty for a finished epoch.
        - `num_expected_endorsements` integer, required: Number of chunk endorsements expected for this shard: one per chunk validator per block, including blocks that miss the shard's chunk.
        - `num_produced_endorsements` integer, required: Number of chunk endorsements the blocks recorded for this shard.
        - `shard_id` integer, required: The shard identifier. It may be an arbitrary number - it does not need to be a number in the range 0..NUM_SHARDS. The shard ids do not need to be sequential or contiguous. The shard id is wrapped in a new type to prevent the old pattern of using indices in range 0..NUM_SHARDS and casting to ShardId. Once the transition if fully complete it potentially may be simplified to a regular type alias.
      - `current_fishermen` ValidatorStakeView[], required: Fishermen for the current epoch
        - ValidatorStakeView
          - [`ValidatorStakeViewV1`](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/revisions/961a6d5d2b57/schema?at=%2Fcomponents%2Fschemas%2FValidatorStakeViewV1)
          - object
            - `validator_stake_struct_version` 'V1', required
      - `current_proposals` ValidatorStakeView[], required: Proposals in the current epoch
        - ValidatorStakeView
          - [`ValidatorStakeViewV1`](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/revisions/961a6d5d2b57/schema?at=%2Fcomponents%2Fschemas%2FValidatorStakeViewV1)
          - object
            - `validator_stake_struct_version` 'V1', required
      - `current_validators` CurrentEpochValidatorInfo[], required: Validators for the current epoch
        - `account_id` string, required: NEAR Account Identifier. This is a unique, syntactically valid, human-readable account identifier on the NEAR network. [See the crate-level docs for information about validation.](index.html#account-id-rules) Also see [Error kind precedence](AccountId#error-kind-precedence). ## Examples ``` use near_account_id::AccountId; let alice: AccountId = "alice.near".parse().unwrap(); assert!("ƒelicia.near".parse::<AccountId>().is_err()); // (ƒ is not f) ```
        - `is_slashed` boolean, required
        - `num_expected_blocks` integer, required
        - `num_expected_chunks` integer
        - `num_expected_chunks_per_shard` integer[]: Number of chunks this validator was expected to produce in each shard. Each entry in the array corresponds to the shard in the `shards_produced` array.
        - `num_expected_endorsements` integer
        - `num_produced_blocks` integer, required
        - `num_produced_chunks` integer
        - `num_produced_chunks_per_shard` integer[]
        - `num_produced_endorsements` integer
        - `public_key` string, required
        - `shards` ShardId[], required: Shards this validator is assigned to as chunk producer in the current epoch.
        - `stake` string, required
      - `epoch_height` integer, required: Epoch height
      - `epoch_start_height` integer, required: Epoch start block height
      - `next_fishermen` ValidatorStakeView[], required: Fishermen for the next epoch
        - ValidatorStakeView
          - [`ValidatorStakeViewV1`](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/revisions/961a6d5d2b57/schema?at=%2Fcomponents%2Fschemas%2FValidatorStakeViewV1)
          - object
            - `validator_stake_struct_version` 'V1', required
      - `next_validators` NextEpochValidatorInfo[], required: Validators for the next epoch
        - `account_id` string, required: NEAR Account Identifier. This is a unique, syntactically valid, human-readable account identifier on the NEAR network. [See the crate-level docs for information about validation.](index.html#account-id-rules) Also see [Error kind precedence](AccountId#error-kind-precedence). ## Examples ``` use near_account_id::AccountId; let alice: AccountId = "alice.near".parse().unwrap(); assert!("ƒelicia.near".parse::<AccountId>().is_err()); // (ƒ is not f) ```
        - `public_key` string, required
        - `shards` ShardId[], required
        - `stake` string, required
      - `prev_epoch_kickout` ValidatorKickoutView[], required: Kickout in the previous epoch
        - `account_id` string, required: NEAR Account Identifier. This is a unique, syntactically valid, human-readable account identifier on the NEAR network. [See the crate-level docs for information about validation.](index.html#account-id-rules) Also see [Error kind precedence](AccountId#error-kind-precedence). ## Examples ``` use near_account_id::AccountId; let alice: AccountId = "alice.near".parse().unwrap(); assert!("ƒelicia.near".parse::<AccountId>().is_err()); // (ƒ is not f) ```
        - `reason` union, required: Reasons for removing a validator from the validator set.
          - '_UnusedSlashed': Deprecated
          - object: Validator didn't produce enough blocks.
            - `NotEnoughBlocks` object, required
              - …
          - object: Validator didn't produce enough chunks.
            - `NotEnoughChunks` object, required
              - …
          - 'Unstaked': Validator unstaked themselves.
          - object: Validator stake is now below threshold
            - `NotEnoughStake` object, required
              - …
          - 'DidNotGetASeat': Enough stake but is not chosen because of seat limits.
          - object: Validator didn't produce enough chunk endorsements.
            - `NotEnoughChunkEndorsements` object, required
              - …
          - object: Validator's last block proposal was for a protocol version older than the network's voted protocol version.
            - `ProtocolVersionTooOld` object, required
              - …
      - `validator_reward_paid_prev_epoch` object: Per-validator rewards paid out at the start of the previous epoch. For epoch E, this contains the rewards earned in epoch E-2 that were added to validator and treasury balances at the first block of epoch E-1 (via `ValidatorAccountsUpdate`).
    - `id` string, required
    - `jsonrpc` string, required
  - object
    - `error` union, required
      - object
        - `cause` union, required
          - object
            - `info` object, required
              - …
            - `name` 'METHOD_NOT_FOUND', required
          - object
            - `info` object, required
              - …
            - `name` 'PARSE_ERROR', required
        - `name` 'REQUEST_VALIDATION_ERROR', required
      - object
        - `cause` union, required
          - object
            - `name` 'UNKNOWN_EPOCH', required
          - object
            - `name` 'VALIDATOR_INFO_UNAVAILABLE', required
          - object
            - `info` object, required
              - …
            - `name` 'INTERNAL_ERROR', required
        - `name` 'HANDLER_ERROR', required
      - object
        - `cause` InternalError, required
          - `info` object, required
            - `error_message` string, required
          - `name` 'INTERNAL_ERROR', required
        - `name` 'INTERNAL_ERROR', required
    - `id` string, required
    - `jsonrpc` string, required

## Changes

- **2026-12-01** `961a6d5d2b57`: 3 warning, 1 info
  - removed the optional property `oneOf[subschema #1]/result/current_validators/items/num_expected_endorsements_per_shard` from the response with the `200` status
  - removed the optional property `oneOf[subschema #1]/result/current_validators/items/num_produced_endorsements_per_shard` from the response with the `200` status
  - removed the optional property `oneOf[subschema #1]/result/current_validators/items/shards_endorsed` from the response with the `200` status
  - added the optional property `oneOf[subschema #1]/result/chunk_endorsements_per_shard` to the response with the `200` status
- **2026-04-28** `afff32188dae`: 1 info
  - added the optional property `oneOf[subschema #1]/result/validator_reward_paid_prev_epoch` to the response with the `200` status
- **2026-02-10** `041e79c2f8b6`: 3 breaking
  - added the new required request property `params/oneOf[subschema #1 -> subschema #3]/latest`
  - removed the enum value `latest` of the request property `params/oneOf[subschema #1 -> subschema #3]/`
  - the `params/oneOf[subschema #1 -> subschema #3]/` request property type changed from `string` to `object`
- …earlier changes not shown

[Operation history](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/changes/validators/post.md)

---

[API](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3.md) - [All operations](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/llms.txt) - [OpenAPI document](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/revisions/961a6d5d2b57?raw)
