---
title: "Returns the data for the all validators at the specified height"
method: POST
path: "/v1/query/validators"
tags: ["query"]
---

# Returns the data for the all validators at the specified height

`POST /v1/query/validators`

## Request body

- QueryHeightPaginated
  - `height` integer, required
  - `page` integer, required
  - `per_page` integer, required
  - `sort` string

## Response `200`

Returns all validators data at the specified height

- QueryValidatorsResponse
  - `validators` ProtocolActor[], required
    - `address` string, required
    - `actor_type` 'validator' | 'servicer' | 'fisherman' | 'application', required
    - `public_key` string, required
    - `chains` string[], required
    - `service_url` string, required
    - `staked_amount` string, required
    - `paused_height` integer, required
    - `unstaking_height` integer, required
    - `output_addr` string, required
  - `total_validators` integer, required
  - `page` integer, required
  - `total_pages` integer, required

## Other responses

- `400` — Bad request
- `500` — An error occurred while retrieving all validators data at the specified height

## Changes

- **2023-05-04** (v1) `ad9f656e884c` — 1 info
  - endpoint added
- **2022-11-03** (v1) `f1547121fa01` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/pokt-network/apis/pocket-network/changes/v1/query/validators/post.md)

---

[API](https://skmtc.dev/pokt-network/apis/pocket-network.md) · [All operations](https://skmtc.dev/pokt-network/apis/pocket-network/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pokt-network/pocket-network/revisions/492a043fd702/schema)
