Ping: Understand and Use the Results
Real ICMP ping from 18 global cloud regions
Ping: the simplest way to ask "how far away is this server?"
Ping is the oldest and simplest network diagnostic in existence. It works by sending a tiny packet from one computer to another using a special low-level protocol called ICMP (Internet Control Message Protocol), and waiting to see how long it takes the destination to send a reply back. The round-trip time, measured in milliseconds, is the latency between the two endpoints. A ping of 5 ms means the two computers are very close (network-wise); a ping of 200 ms means there is a lot of distance, congestion, or both between them. Ping was invented by Mike Muuss in 1983 and named after the sound a sonar makes when it bounces off something. The name has stuck for over forty years.
You should care because ping is the cheapest, fastest way to get a real measurement of network latency between two points. Every other network performance question — "why is my website slow for users in Sydney?" or "is the new CDN region working?" or "is there packet loss between my office and the data center?" — starts with a ping test. The information ping gives you is much smaller than what a full network test would produce, but it is also instant and free, and it is correct. A ping result of 187 ms is unambiguous in a way that almost no other network metric is.
The six things every ping check measures:
Round-trip time (RTT). The total time from sending the packet to receiving the reply.
Average and median RTT. Most ping tests send several packets in a row (typically 4 or 10) and report both. The average smooths spikes; the median is what most users actually experience.
Percentiles (p95, p99). The slowest 5% and 1% of packets. SLAs and "tail-latency" guarantees are almost always written against p95/p99, not the average — because a service whose average is fast but whose p99 is terrible feels broken for one user in a hundred.
Minimum and maximum RTT. The fastest and slowest of the round-trips, which tells you how stable the connection is.
Jitter. The packet-to-packet variation in RTT, computed per RFC 3550 §A.8 — the canonical "is this connection consistent" metric, separate from "is the network spread evenly across geographies" (a different number some tools also call jitter).
Packet loss. What percentage of the sent packets never received a reply at all? Even small packet loss is a strong negative signal.
Three questions a ping check answers:
How fast is the network path between my user and my server?
Is the connection stable, or is it dropping packets?
For a customer reporting that my site is slow, is the network actually slow for them?
The cost of skipping ping checks is debugging "slow website" complaints without any actual measurements. The fix is to run a ping test from a location near the affected user. Ping has been part of every major operating system since the 1980s — the command is just `ping example.com`. For more detailed tests across many global locations at once, public services like Globalping and the RIPE Atlas network make multi-region tests just as easy.
The Ping endpoint, in plain language
Real ICMP (Internet Control Message Protocol) ping from 18 global cloud regions
Get authentic ICMP (Internet Control Message Protocol) latency data from real cloud provider regions — not HTTP (HyperText Transfer Protocol) overhead, but true network-level round-trip times per RFC (Request for Comments) 792 (ICMP) and RFC 4443 (ICMPv6). Essential for CDN (Content Delivery Network) optimization, multi-cloud performance comparison, SLA (Service Level Agreement) verification, geographic load balancing decisions, and ensuring consistent user experience across regions. Jitter and median metrics provide a more accurate picture than averages alone.
What is actually happening when you call it
Creates ICMP (Internet Control Message Protocol) Echo Request measurements via the Globalping network, targeting probes in specific cloud provider regions (AWS, GCP, Azure). Returns actual ICMP round-trip times with comprehensive statistics: min/avg/max/median RTT, p50/p95/p99 percentiles, RFC (Request for Comments) 3550 §A.8 interarrival jitter (plus a separate geographic_latency_stddev_ms for cross-zone spread), aggregate packet loss percentage, resolved IP (Internet Protocol address) address, and probe network ASN (Autonomous System Number). Supports filtering by cloud provider regions, probe zone IDs, or geographic region.
Why this specific tool matters
Choose a task: Global Performance Baseline. Measure service latency from all major geographic regions before a global launch. Establish baseline p50/p95 latency metrics per region and set alerting thresholds.
Run the Ping request below and retain the input and observed result. Before changing configuration, compare the relevant fields with the value or policy you expected. Use the Ping reference to check the field definitions and supported options.
Available on the pro plan. The technical details: `GET /v1/network/ping`.
When would I actually use this?
Global Performance Baseline
Measure service latency from all major geographic regions before a global launch. Establish baseline p50/p95 latency metrics per region and set alerting thresholds.
Use the finding: Identify regions with poor performance before users complain and set data-driven SLA (Service Level Agreement) targets.
Multi-Cloud Provider Comparison
Compare ICMP (Internet Control Message Protocol) latency from AWS, GCP, and Azure regions to your service simultaneously. Evaluate network-level performance differences between cloud providers for the same geographic region.
Use the finding: Data-driven multi-cloud architecture and provider selection decisions backed by real latency data.
CDN & Anycast Verification
Compare latency with and without CDN (Content Delivery Network) from various cloud provider regions. Verify anycast is routing users to the nearest edge. Detect CDN misconfigurations where certain regions hit distant origins.
Use the finding: Validate CDN (Content Delivery Network) effectiveness, identify geographic routing gaps, and optimize edge configuration.
SLA Monitoring & Incident Response
During an incident, quickly measure reachability and latency from 18 global vantage points to determine if an outage is regional or global. Compare against baseline metrics.
Use the finding: Rapidly scope the geographic impact of incidents and verify SLA (Service Level Agreement) compliance with evidence.
The easiest way: just ask your AI assistant
Connect the MCP server. Just ask in plain English:
Use network_ping with host=example.com. Show the returned findings, identify unavailable evidence, and explain a useful next check.
Confirm the tool and inputs in the client before accepting its summary. For Ping, use the response fields below to separate observations from recommendations.
The dedicated MCP server is available on every plan. Individual tool access and request limits depend on your plan. Management categories and endpoints disabled for the tool catalog are not exposed through MCP.
The technical way: call it from code
This Ping request uses the example inputs from its API contract. Replace YOUR_API_KEY with a key on the pro plan or higher; adapt the target to your task.
curl --request GET 'https://api.edgedns.dev/v1/network/ping?host=example.com' \
--header "Authorization: Bearer YOUR_API_KEY"Prepare inputs for Ping
Start with the inputs below. Keep the same hostname, path, and options when comparing Ping observations. The API reference contains the complete parameter contract, optional settings, and access requirements.
| Field | Type | Required? | What it means | Example |
|---|---|---|---|---|
host | string | Yes | Target hostname or IP (Internet Protocol address) address to ping | example.com |
Interpret Ping findings
Read these fields alongside the full response from your Ping check. A missing value or failed lookup is different from a passing result. Keep returned errors and confidence or cache metadata when available; do not replace missing evidence with a successful default. See the complete response reference for additional fields.
| Field | Type | What you'll see in it |
|---|---|---|
host | string | The target host that was pinged |
measurement_type | string | Measurement type: "ICMP" |
results | array | Per-zone ping results with ICMP (Internet Control Message Protocol) stats, resolved IP (Internet Protocol address), and probe network info |
Words you might be wondering about
IP (Internet Protocol address) — A unique number that identifies a computer on the internet, like a phone number for a server.
CDN (Content Delivery Network) — A worldwide network of servers that store copies of your website close to your visitors so pages load fast.
HTTP (HyperText Transfer Protocol) — The language web browsers and websites use to talk to each other.
ASN (Autonomous System Number) — A unique number assigned to a big network operator (like an ISP or cloud provider). Tells you who owns a chunk of the internet.
ICMP (Internet Control Message Protocol) — The "knock-knock" of the internet. Tools like ping use it to check whether a server is reachable and how long the round trip takes.
RFC (Request for Comments) — The official internet standards documents. When someone says 'RFC 8484' they mean a specific numbered standards document — in that case, the one defining DNS over HTTPS.
SLA (Service Level Agreement) — A written promise about how reliable a service will be — for example, "99.9% uptime."
Related Guides
Traceroute: Understand and Use the Results
Real ICMP traceroute from 18 global cloud regions
HTTP Checker: Check Server Status, Redirects, and Response Time
Check whether a URL responds as expected, see where it redirects, and understand its elapsed time and HTTPS result. Start with a browser check, then use the same endpoint in a deployment workflow.
Server Response Time and Edge TTFB Percentiles Explained
Measure response latency from an edge worker and understand what the median, p90, p95, and p99 can tell you. Learn where a small synthetic sample differs from browser timing and production tail latency.
Need Programmatic Access?
Automate domain intelligence with 100+ API endpoints and a free MCP server for AI integration.