Skip to main content
The Diagnostics API allows you to run network diagnostic tools like traceroutes from Cloudflare’s global network to troubleshoot connectivity issues.

Traceroutes

Run traceroute

Run traceroutes from Cloudflare colos to one or more targets.
string
required
Account identifier
string[]
required
Array of target hostnames, IPv4, or IPv6 addresses to traceroute
string[]
Source colo names. If not specified, all colos will be used. China colos are unavailable for traceroutes
object
Traceroute configuration options

Response fields

string
The target hostname, IPv4, or IPv6 address
object[]
Traceroute results from each colo

Example response

Endpoint health checks

The Diagnostics API also provides endpoint health check functionality through the endpointHealthchecks sub-resource for monitoring specific endpoints.