---
title: "Get all known peers"
method: GET
path: "/peers/all"
tags: ["peers"]
---

# Get all known peers

`GET /peers/all`

## Response `200`

Array of peer objects

- Peer[]
  - `address` string, required
  - `restApiUrl` string, nullable
  - `name` string, nullable
  - `lastSeen` integer — Basic timestamp definition
  - `connectionType` 'Incoming' | 'Outgoing', nullable

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/ergoplatform/apis/ergo-node-api.md) · [All operations](https://skmtc.dev/ergoplatform/apis/ergo-node-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ergoplatform/ergo-node-api/revisions/a731602272c6/schema)
