Network & Peers

Network topology and peer information

Endpoints for querying network peer information, validator nodes, and network topology data.

Get ANR by public key

get
/api/peer/anr/{publicKey}

Retrieves the Amadeus Node Record (ANR) for a specific peer by their public key. ANRs contain peer connection information, signatures, and metadata.

Path parameters
publicKeystringRequired

Base58-encoded public key of the peer

Example: 7EVUJfpnEqK32KrzUAaR4Yf26KgT66AWwW63xSHw5mbgdQhV8iwL1NkHMAqTi5Hv3h
Responses
200

ANR found successfully

application/json
get
/api/peer/anr/{publicKey}

Get validator ANRs

get
/api/peer/anr_validators

Retrieves ANRs for all current validator nodes in the network

Responses
200

Validator ANRs retrieved successfully

application/json
get
/api/peer/anr_validators
cURL
200

Validator ANRs retrieved successfully

Get all ANRs

get
/api/peer/anr

Retrieves ANRs for all known peers in the network

Responses
200

All ANRs retrieved successfully

application/json
get
/api/peer/anr
200

All ANRs retrieved successfully

Get all nodes for web display

get
/api/peer/nodes

Retrieves formatted node information suitable for web interfaces

Responses
200

Nodes retrieved successfully

application/json
get
/api/peer/nodes
200

Nodes retrieved successfully

Get trainer nodes

get
/api/peer/trainers

Retrieves information about all trainer/validator nodes

Responses
200

Trainers retrieved successfully

application/json
get
/api/peer/trainers
200

Trainers retrieved successfully

Get removed trainers

get
/api/peer/removed_trainers

Retrieves information about trainers that have been removed from the network

Responses
200

Removed trainers retrieved successfully

application/json
get
/api/peer/removed_trainers
200

Removed trainers retrieved successfully