---
title: "GetBeaconStatesSyncCommitteesByStateId"
method: GET
path: "/{apiKey}/eth/v1/beacon/states/{stateId}/sync_committees"
---

# GetBeaconStatesSyncCommitteesByStateId

`GET /{apiKey}/eth/v1/beacon/states/{stateId}/sync_committees`

Get sync committees for a state. Retrieves the current sync committee for the given state. Also returns the subcommittee assignments.

## Path parameters

- `apiKey` string, required — <style> .custom-style { color: #048FF4; } </style> For higher throughput, please <span class="custom-style"><a href="../docs/quick-start-guide#-creating-your-api-key-on-the-zan-platform" target="_blank">create your own API key</a></span>.
- `stateId` string, required

## Query parameters

- `epoch` string

## Response `200`

The sync committees

- object
  - `execution_optimistic` boolean, required — 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.
  - `finalized` boolean, required — True if the response references the finalized history of the chain, as determined by fork choice. If the field is not present, additional calls are necessary to compare the epoch of the requested information with the finalized checkpoint.
  - `data` object, required
    - `validators` string[], required — all of the validator indices in the current sync committee
    - `validator_aggregates` array[], required
      - string[] — Subcommittee slices of the current sync committee

---

[API](https://skmtc.dev/zan/apis/zan-getnftmetadata.md) · [All operations](https://skmtc.dev/zan/apis/zan-getnftmetadata/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zan/zan-getnftmetadata/revisions/be8fa2338895/schema)
