Skip to content

Get network information

GET
/api/v1/network/info
curl --request GET \
--url http://localhost:8080/api/v1/network/info \
--header 'X-Signature: <X-Signature>'

Get network-wide information including node count and version

Network information retrieved successfully

Media typeapplication/json
object
success
boolean
networkId

Network identifier

string
nodeCount

Total number of nodes in network

integer
totalPeers

Number of connected peers

integer
upSince

Network uptime start

string format: date-time
version

Protocol version

string
Example
{
"success": true,
"networkId": "zentalk-mesh-v1",
"nodeCount": 42,
"totalPeers": 41,
"upSince": "2025-12-10T10:00:00Z",
"version": "1.0.0"
}

Internal Server Error

Media typeapplication/json
object
error

Error type

string
message

Human-readable error description

string
code

Optional error code

string
Example
{
"error": "Internal server error",
"message": "An unexpected error occurred"
}