API
Endpoints behind the BroadbandGauge speed test.
| Method | Path | Description |
|---|---|---|
GET | /api/ping | Lightweight latency/jitter probe (timestamped). |
GET | /api/download?bytes=N | Streams N incompressible bytes for download throughput (capped). |
POST | /api/upload | Accepts and discards a body; returns received bytes + server time. |
GET | /api/ipinfo | Returns the caller's IP, ISP, ASN and approximate location. |
POST | /api/result | Stores a consented measurement (requires consent=true). |
GET | /health | Service health check. |
Test endpoints are rate-limited and payload-capped.
The /api/result endpoint only stores data when the request includes valid consent.