# Epoch health

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

Complete epochs (32 slots), newest first — proposed and missed slots, sync committee participation, attestations, blob commitments, deposits, exits, slashings, execution-layer requests and execution gas. The epoch in progress is absent until it is complete; a field that the epoch's fork had not introduced yet is absent. `publishedThroughEpoch` is the newest complete epoch. Continue with `nextCursor`.

```
GET https://tracefast.xyz/api/v1/chains/1/consensus/epochs
```

| Parameter | In | Type | Notes |
|---|---|---|---|
| `limit` | query | integer, optional | 1 to 100, default 25. |
| `cursor` | query | string, optional | `nextCursor` of the previous page. Opaque, and valid only for this method. |

**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_epochs` 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,
    "epochs": [
      {
        "epoch": 489824,
        "firstSlot": 15674368,
        "lastSlot": 15674399,
        "startTime": 1794916439,
        "slots": 32,
        "slotsProposed": 32,
        "slotsMissed": 0,
        "missedRatio": 0,
        "avgSyncParticipants": 502.5,
        "attestations": 103,
        "blobCommitments": 188,
        "deposits": 0,
        "voluntaryExits": 24,
        "slashings": 0,
        "blsChanges": 0,
        "executionDepositRequests": 1,
        "executionWithdrawalRequests": 0,
        "executionConsolidationRequests": 12,
        "executionGasUsed": "951293551",
        "executionTxs": 10995,
        "distinctProposers": 32
      },
      {
        "epoch": 489823,
        "firstSlot": 15674336,
        "lastSlot": 15674367,
        "startTime": 1794916055,
        "slots": 32,
        "slotsProposed": 32,
        "slotsMissed": 0,
        "missedRatio": 0,
        "avgSyncParticipants": 507.09375,
        "attestations": 102,
        "blobCommitments": 168,
        "deposits": 0,
        "voluntaryExits": 24,
        "slashings": 0,
        "blsChanges": 0,
        "executionDepositRequests": 0,
        "executionWithdrawalRequests": 0,
        "executionConsolidationRequests": 0,
        "executionGasUsed": "937734310",
        "executionTxs": 10767,
        "distinctProposers": 32
      }
    ],
    "nextCursor": "AVs0ODk4MjNdklBtxldKieVLOnpl1MjWWA",
    "publishedThroughEpoch": 489824
  },
  "meta": {
    "chain": "ethereum",
    "timestamp": 1794918329583,
    "cached": false,
    "docs": "https://docs.tracefast.xyz/api/consensus-epochs"
  }
}
```

### `data`

| Field | Meaning |
|---|---|
| `chainId` | Chain id the facts are about. `1` is Ethereum mainnet. |
| `epochs` | Newest first. The epoch in progress is absent until it is complete. |
| `nextCursor` | Cursor of the next page. Absent on the last page. |
| `notHeldEpochs` | Epochs inside the span this page covers (from its upper bound down to its oldest row) that TraceFast does not hold right now, so they are not listed. Absent when none. |
| `publishedThroughEpoch` | The newest complete epoch published. |

### `data.epochs[]`

| Field | Meaning |
|---|---|
| `attestations` | Attestations included in the epoch's blocks. |
| `avgSyncParticipants` | Average sync committee participation per slot. |
| `blobCommitments` | Blob commitments in the epoch's blocks. |
| `blsChanges` | BLS-to-execution credential changes included in the epoch's blocks. |
| `deposits` | Beacon-chain deposits included in the epoch's blocks. |
| `distinctProposers` | Distinct validators that proposed a block in the epoch. |
| `epoch` | The epoch. |
| `executionConsolidationRequests` | Execution-layer consolidation requests (EIP-7251) in the epoch's blocks. Absent before the fork that introduced them. |
| `executionDepositRequests` | Execution-layer deposit requests (EIP-6110, carried per EIP-7685) in the epoch's blocks. Absent before the fork that introduced them. |
| `executionGasUsed` | Execution gas used by the epoch's blocks, as a decimal string. |
| `executionTxs` | Execution transactions in the epoch's blocks. |
| `executionWithdrawalRequests` | Execution-layer withdrawal requests (EIP-7002) in the epoch's blocks. Absent before the fork that introduced them. |
| `firstSlot` | First slot of the epoch. |
| `lastSlot` | Last slot of the epoch. |
| `missedRatio` | `slotsMissed / slots`. |
| `slashings` | Slashings (proposer and attester) included in the epoch's blocks. |
| `slots` | Slots in the epoch (32). |
| `slotsMissed` | Slots of the epoch in which no block was proposed. |
| `slotsProposed` | Slots of the epoch in which a block was proposed. |
| `startTime` | Wall-clock time of its first slot, unix seconds. |
| `voluntaryExits` | Voluntary exits included in the epoch's blocks. |

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

## Errors

| Status | When |
|---|---|
| 400 | `bad_request`: `limit` outside 1 to 100, or an unknown query parameter; `invalid_cursor`: the cursor is not valid for this request — restart from the first page |
| 404 | `chain_not_supported`, or an unknown path |
| 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
