cURL
curl --request GET \ --url https://api.hixbe.com/speedtest/latency \ --header 'Hixbe-Version: <hixbe-version>'
{ "success": true, "timestamp": "2025-12-07T10:30:00.000Z", "data": { "latency": { "avg": 25.5, "min": 20, "max": 35.2, "median": 25, "p95": 32.5, "p99": 34.8, "samples": 20 }, "unit": "ms", "description": "Comprehensive latency statistics from 20 ping samples" }, "executionTime": "350ms" }
Measures comprehensive latency statistics by running 20 ping tests and calculating percentiles.
Metrics Provided:
Use Cases:
Why Percentiles Matter: P95 and P99 show worst-case latency, important for user experience.
API version header. Required for all endpoints except / and /health
^\d+\.\d+\.\d+$
"2.0.0"
Comprehensive latency statistics completed
Show child attributes
Was this page helpful?