# One validator

[Open validators in TraceFast →](https://tracefast.xyz/analytics/validators)

One validator as of the validator snapshot (taken about once a day; `snapshotEpoch`) — status, slashed, lifecycle epochs (an absent epoch is not scheduled), effective balance, public key, credential type, withdrawal credentials and `withdrawalAddress`, the execution address its payouts go to. That address is a DESTINATION, not the owner or the operator; a validator with BLS credentials has none. A validator index is never answered 'not found': a snapshot cannot prove that a validator does not exist.

```
GET https://tracefast.xyz/api/v1/chains/1/consensus/validators/{index}
```

| Parameter | In | Type | Notes |
|---|---|---|---|
| `index` | path | integer | The validator's index in the consensus registry. |

**Access** — an [API key](/api/authentication) on the **Intelligence** plan or higher ([plans](/api/authentication#plans)), or no key at all: pay per call with [x402](/api/x402) at the same path on `https://mpp.tracefast.xyz/api/v1`, at the price its `402` states. As a tool for AI agents: `get_consensus_validator` on the [MCP server](/api/mcp-server). **Stable** — see [stability](/api/conventions#stability).

`chains/1` is a literal: other chain ids answer `404 chain_not_supported`. An unknown query parameter is refused rather than ignored.

## Response

`200 application/json`. Lists in the example are cut to two entries.

```json
{
  "data": {
    "chainId": 1,
    "validatorIndex": 1,
    "status": "active_ongoing",
    "slashed": false,
    "activationEligibilityEpoch": 0,
    "activationEpoch": 0,
    "isActive": true,
    "effectiveBalanceGwei": "32000000000",
    "pubkey": "0xa1d1ad0714035353258038e964ae9675dc0252ee22cea896825c01458e1807bfad2f9969338798548d9858a571f7425c",
    "credentialType": 2,
    "withdrawalCredentials": "0x02000000000000000000000015f4b914a0ccd14333d850ff311d6dafbfbaa32b",
    "withdrawalAddress": "0x15f4b914a0ccd14333d850ff311d6dafbfbaa32b",
    "snapshotEpoch": 489574
  },
  "meta": {
    "chain": "ethereum",
    "timestamp": 1794918331230,
    "cached": false,
    "docs": "https://docs.tracefast.xyz/api/consensus-validator"
  }
}
```

### `data`

| Field | Meaning |
|---|---|
| `activationEligibilityEpoch` | Epoch the validator became eligible for activation. Absent when not scheduled. |
| `activationEpoch` | Epoch the validator was, or is scheduled to be, activated. Absent when not scheduled. |
| `activeEpochs` | Epochs the validator has been active. |
| `chainId` | Chain id the facts are about. `1` is Ethereum mainnet. |
| `credentialType` | `0` BLS, `1` execution address, `2` compounding. |
| `effectiveBalanceGwei` | Effective balance in gwei, as a decimal string. |
| `exitEpoch` | Epoch the validator exits, or exited, the active set. Absent when no exit is scheduled. |
| `isActive` | Whether it is active as of `snapshotEpoch`. |
| `pubkey` | The validator's public key, `0x`-prefixed. |
| `slashed` | Whether the validator was slashed. |
| `snapshotEpoch` | The epoch of the snapshot the card is taken from. The snapshot is taken about once a day, so the status is as of that epoch, not the current one. |
| `status` | The validator's status as of `snapshotEpoch`, as the beacon chain names it (`active_ongoing`, `exited_unslashed`, `withdrawal_done`, …). Other values may be added. |
| `validatorIndex` | The validator's index in the consensus registry. |
| `withdrawableEpoch` | Epoch from which the validator's balance can be withdrawn in full. Absent when not scheduled. |
| `withdrawalAddress` | The execution address the validator's payouts go to. It is a DESTINATION, not the owner or the operator. Absent for a validator with BLS credentials. |
| `withdrawalCredentials` | The 32-byte withdrawal credentials, `0x`-prefixed. The public key and the credentials come from the registry itself. While a new snapshot is being published (about four hours a day) they can be one snapshot newer than `snapshotEpoch`. |

`meta` is the same envelope on every method — see [conventions](/api/conventions#meta).

## Errors

| Status | When |
|---|---|
| 400 | `bad_request`: the index is not a non-negative integer (`reason: validator_index_invalid`), or an unknown query parameter |
| 404 | `chain_not_supported`, or an unknown path |
| 422 | `block_not_available`: the snapshot has no row for the index, with `requestedValidatorIndex`, `maxAvailableValidatorIndex` and `snapshotEpoch`. `reason: validator_beyond_snapshot` — above the highest index the snapshot holds (deposited after it, or not assigned yet); `validator_not_in_snapshot` — a new snapshot is being published, retry in a few minutes |
| 503 | `service_unavailable`: consensus data is temporarily unavailable; retry later; or `service_degraded`: who is calling could not be established right now; retry after `Retry-After`. |

Malformed input, unknown parameters and the key check's `401`/`403`/`429`/`503` are the same for every method — see [conventions](/api/conventions#errors) and [API keys](/api/authentication#when-a-key-is-refused).

## Related pages

* [Validator queues now](/api/consensus-current)
* [Validator queues over time](/api/consensus-queues)
* [Block proposers](/api/consensus-proposers)
* [Validator withdrawals](/api/validator-withdrawals)
* [All API methods](/api/methods) — every method on one page
* [Conventions](/api/conventions) — requests, responses, errors and pagination
