API reference v1

Read-only JSON API exposed from every Zasrun POP. No authentication, CORS enabled, rate limit 120 req/min per IP.

Endpoints

MethodPathDescription
GET/api/v1/statusHealth and runtime info of this POP
GET/api/v1/nodesList of all POPs with live status
GET/api/v1/ping?target=&seq=Single latency probe from this POP
GET/api/v1/latency/historyLatency series (48 samples, 30 min interval)
GET/api/v1/healthLiveness probe (for monitors)

Examples

curl -s https://<pop>.zasrun.com/api/v1/status
{"status":"operational","node":"nl1","region":"Amsterdam, Netherlands",
 "version":"1.4.2","uptime_seconds":4052241,"load":[0.11,0.09,0.08],
 "timestamp":1790790000}
curl -s "https://<pop>.zasrun.com/api/v1/ping?target=edge&seq=1"
{"target":"edge","node":"nl1","seq":1,"time_ms":14.2,"ttl":57,
 "timestamp":1790790000123}
curl -s https://<pop>.zasrun.com/api/v1/nodes
{"count":3,"nodes":[{"id":"nl1","name":"Amsterdam NL1","status":"operational",
 "load":0.11,...},...],"timestamp":1790790000}