---
title: "Get the pubkey from node ip"
method: GET
path: "/api/v1/pubkey/{mycelium_ip}"
---

# Get the pubkey from node ip

`GET /api/v1/pubkey/{mycelium_ip}`

Get the node's public key from it's IP address.

## Path parameters

- `mycelium_ip` string, ipv6, required

## Response `200`

Success

- PublicKeyResponse — Public key requested based on a node's IP
  - `NodePubKey` string, hex

## Other responses

- `404` — Public key not found

## Changes

- **2024-05-31** `5fc517dcecc4` — 1 info
  - api operation id `TODO` removed and replaced with `getPublicKeyFromIp`
- **2024-05-31** `dc96518e3f2f` — 1 info
  - endpoint added
- **2023-10-26** `1c37c167d50d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/threefoldtech/apis/mycelium-management/changes/api/v1/pubkey/:mycelium_ip/get.md)

---

[API](https://skmtc.dev/threefoldtech/apis/mycelium-management.md) · [All operations](https://skmtc.dev/threefoldtech/apis/mycelium-management/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/threefoldtech/mycelium-management/revisions/65042c1a7b84/schema)
