---
title: "Get sync committees for a state."
method: GET
path: "/eth/v1/beacon/states/{state_id}/sync_committees"
tags: ["Beacon"]
---

# Get sync committees for a state.

`GET /eth/v1/beacon/states/{state_id}/sync_committees`

## Request

- Base URL: `eth2-beacon-mainnet.nodereal.io/v1/api_key` (relative, and the document’s source URL is not known)
- URL: `eth2-beacon-mainnet.nodereal.io/v1/api_key/eth/v1/beacon/states/{state_id}/sync_committees`
- Auth: none declared

Retrieves the sync committees for the given state.

## Path parameters

- `state_id` string, required

## Query parameters

- `epoch` string

## Response `200`

Success

- object
  - `execution_optimistic` boolean: True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.
  - `data` object
    - `validators` string[]: all of the validator indices in the current sync committee
    - `validator_aggregates` array[]
      - string[]: Subcommittee slices of the current sync committee

## Other responses

- `400`: Invalid state ID or epoch
- `404`: State not found
- `500`: Beacon node internal error.

---

[API](https://skmtc.dev/nodereal/apis/eth-beacon-node-api.md) - [All operations](https://skmtc.dev/nodereal/apis/eth-beacon-node-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nodereal/apis/eth-beacon-node-api/revisions/1878ea8657a1?raw)
