Developer interface
Traceroute API
Trace network hops and latency to any domain or IP address.
The Velohost Traceroute API provides a programmatic interface to trace network paths and identify latency at each hop.
It is useful for diagnosing routing issues, latency problems, and understanding network topology.
Base API URL
All endpoints listed below are relative to this base URL.
https://api.velohost.co.uk/traceroute/ Rate limiting
This API is protected by a global rate limit to ensure fair usage and platform stability.
- Limit: 30 requests per 10 seconds per IP address
- Burst traffic is allowed
- No authentication required
-
Requests exceeding the limit return
HTTP 429
This limit applies across all Velohost public APIs.
Error responses
The API uses standard HTTP status codes to indicate errors.
Returned when the global rate limit is exceeded.
{
"detail": "Rate limit exceeded"
}
Returned when the target parameter is missing or invalid.
Endpoints
Run traceroute
Traces the route to the target and returns hop-by-hop latency data.
GET /lookup?target=example.com
{
"target": "example.com",
"hops": [
{
"hop": 1,
"ip": "172.20.0.1",
"hostname": null,
"avg_latency_ms": 0.261
},
{
"hop": 2,
"ip": "10.255.255.2",
"hostname": null,
"avg_latency_ms": 0.234
},
{
"hop": 3,
"ip": "109.228.63.129",
"hostname": null,
"avg_latency_ms": 0.469
},
{
"hop": 4,
"ip": "212.227.120.109",
"hostname": null,
"avg_latency_ms": 1.099
},
{
"hop": 5,
"ip": "212.227.120.120",
"hostname": null,
"avg_latency_ms": 0.44
},
{
"hop": 6,
"ip": "212.227.117.2",
"hostname": null,
"avg_latency_ms": 5.127
},
{
"hop": 7,
"ip": null,
"hostname": null,
"avg_latency_ms": null
},
{
"hop": 8,
"ip": "141.101.71.139",
"hostname": null,
"avg_latency_ms": 6.555
},
{
"hop": 9,
"ip": "104.18.26.120",
"hostname": null,
"avg_latency_ms": 6.503
}
],
"source": "system_traceroute_udp"
} Learn more
Explore the tool, documentation, and guides.