Monitor Everything
Get real-time network status, latency, and bandwidth metrics for your infrastructure.
Endpoints
GET /api/v1/status
curl -X GET "https://api.example.com/network-monitoring/status"
Parameters
- format=string (default: json)
- timeout=integer (default: 5000ms)
Response
{ "status": "UP", "response_time": "234ms", "load": "25%", "traffic": "1.2TB/h" }
GET /api/v1/latency
curl -X GET "https://api.example.com/network-monitoring/latency?targets=192.168.0.1%2C52.1.1.1"
Parameters
- targets[]=IP (required)
- timeout=integer (default: 3000ms)
Response
{
"hosts": [
{"ip": "192.168.0.1", "latency": "18ms"},
{"ip": "52.1.1.1", "latency": "52ms"}
],
"average": "35ms"
}
SDK References
- cURL
- Python
- JavaScript
cURL Example
curl -X GET "https://api.example.com/network-monitoring/latency?targets=192.168.0.1%2C52.1.1.1"
Python Example
import requests response = requests.get( "https://api.example.com/network-monitoring/latency", params={"targets": "192.168.0.1,52.1.1.1"} ) print(response.json())
JavaScript Example
fetch('https://api.example.com/network-monitoring/latency', { method: 'GET', params: new URLSearchParams({ targets: '192.168.0.1,52.1.1.1' }) }) .then(res => res.json()) .then(data => console.log(data));