---
title: "Get node network identity"
method: GET
path: "/eth/v1/node/identity"
tags: ["Node"]
---

# Get node network identity

`GET /eth/v1/node/identity`

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

Retrieves data about the node's network presence

## Response `200`

Request successful

- object
  - `data` object
    - `peer_id` string: Cryptographic hash of a peer’s public key. [Read more](https://docs.libp2p.io/concepts/peer-id/)
    - `enr` string: Ethereum node record. [Read more](https://eips.ethereum.org/EIPS/eip-778)
    - `p2p_addresses` string[]
    - `discovery_addresses` string[]
    - `metadata` object: Based on eth2 [Metadata object](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/p2p-interface.md#metadata)
      - `seq_number` string: Uint64 starting at 0 used to version the node's metadata. If any other field in the local MetaData changes, the node MUST increment seq_number by 1.
      - `attnets` string: Bitvector representing the node's persistent attestation subnet subscriptions.
      - `syncnets` string: Bitvector representing the node's sync committee subnet subscriptions. This metadata is not present in phase0, but will be present in Altair.

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