---
title: "Get peer count"
method: GET
path: "/eth/v1/node/peer_count"
tags: ["Node"]
---

# Get peer count

`GET /eth/v1/node/peer_count`

## 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/node/peer_count`
- Auth: none declared

Retrieves number of known peers.

## Response `200`

Request successful

- object
  - `data` object
    - `disconnected` string
    - `connecting` string
    - `connected` string
    - `disconnecting` string

## Other responses

- `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)
