Traceroute API

Analyze network paths hop-by-hop

Our Traceroute API allows users to trace the network path from our test location to a given host, providing detailed hop-by-hop latency and routing information.

Monitor network performance, identify routing issues, and optimize connectivity by analyzing each step in the path to your destination.

Get Started for Free

Why Choose ViewDNS.info Traceroute API?

  • Detailed Hop-by-Hop Data
  • Live Data Ensuring Freshness
  • Highly Scalable to meet Business Needs
  • Identify Sources of Unexpected Latency
  • Subscription Includes Access to ALL ViewDNS.info APIs

Our Valued Customers Include:

Blizzard DuckDuckGo Kaspersky NTT LaPoste

Key Traceroute API Features

Live Data

Our Traceroute API retrieves data in real-time, ensuring that even the most recent changes to network routes are available.

Detailed Hop-by-Hop Data

View each step in the network path, including latency and IP addresses for every hop.

Latency Monitoring

Measure and track latency at each hop to identify slowdowns or bottlenecks in the network path.

Consistently Parsed

Our Traceroute API provides fully parsed, consistent results ensuring that the data you are after is readily available.


Usage Details

Retrieve traceroute information about a domain name or IP address.

/traceroute GET

https://api.viewdns.info/traceroute/

Determines the series of servers that data traverses from the ViewDNS server to the specified domain name or IP address.

Parameters

  • apikey required

    Your API key associated with your ViewDNS.info account.

  • domain required

    The domain or IP to perform a traceroute on (e.g., example.com).

  • output optional (default=json)

    The output format required ('xml' or 'json').

Sample Request Live Demo!

https://api.viewdns.info/traceroute/?domain=example.com&apikey=demo&output=json

Sample Response

{
  "query": {
    "tool": "traceroute_PRO",
    "domain": "example.com"
  },
  "response": {
    "hops": [
      {
        "number": "1",
        "hostname": "obfuscated.internal.network.com",
        "ip": "0.0.0.0",
        "rtt": "0.000"
      },
      {
        "number": "2",
        "hostname": "obfuscated.internal.network.com",
        "ip": "0.0.0.0",
        "rtt": "1.000"
      },
      {
        "number": "3",
        "hostname": "air-mdsn-usshc.airstreamcomm.net",
        "ip": "64.33.146.250",
        "rtt": "3.513"
      },
      {
        "number": "4",
        "hostname": "chgo01.ord-msn.core.as11796.net",
        "ip": "69.4.127.37",
        "rtt": "7.150"
      },
      {
        "number": "5",
        "hostname": "ae-132.border1.chm.edgecastcdn.net",
        "ip": "192.229.225.194",
        "rtt": "9.157"
      },
      {
        "number": "6",
        "hostname": "ae-67.core1.chd.edgecastcdn.net",
        "ip": "192.229.225.143",
        "rtt": "30.301"
      },
      {
        "number": "7",
        "hostname": "93.184.215.14",
        "ip": "93.184.215.14",
        "rtt": "7.156"
      },
      {
        "number": "8",
        "hostname": "93.184.215.14",
        "ip": "93.184.215.14",
        "rtt": "7.161"
      }
    ]
  }
}

Code Example