---
title: "GetNodePeers"
method: GET
path: "/{apiKey}/eth/v1/node/peers"
---

# GetNodePeers

`GET /{apiKey}/eth/v1/node/peers`

Get node network peers. Retrieves data about the node's network peers. By default this returns all peers. Multiple query params are combined using AND conditions

## 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>.

## Query parameters

- `state` string[]
- `direction` string[]

## Response `200`

A version string of the running beacon node.

- object
  - `data` object[], required
    - `peer_id` string, required — Cryptographic hash of a peer’s public key. [Read more](https://docs.libp2p.io/concepts/peer-id/)
    - `enr` string, nullable, required — Ethereum node record. [Read more](https://eips.ethereum.org/EIPS/eip-778)
    - `last_seen_p2p_address` string, required — Multiaddrs used in last peer connection.
    - `state` 'disconnected' | 'connecting' | 'connected' | 'disconnecting', required
    - `direction` 'inbound' | 'outbound', required
  - `meta` object, required
    - `count` number, required — Total number of items

---

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