Developer Reference
Ping7 API Docs
Simple API examples for Ping7 network tools. These endpoints are designed for lightweight checks and may be rate limited in the future.
Get your public IP details
Returns the public IP address and basic request metadata visible to Ping7.
curl https://ping7.cc/api/my-ip HTTP ping test
Measures HTTP response time across multiple attempts. This is not ICMP ping.
curl -X POST https://ping7.cc/api/ping-test \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com"}' Redirect checker
Follows URL redirects and returns the redirect chain and final destination.
curl -X POST https://ping7.cc/api/redirect-checker \
-H "Content-Type: application/json" \
-d '{"url":"http://example.com"}' DNS checker
Checks common DNS records including A, AAAA, MX, TXT, and NS.
curl -X POST https://ping7.cc/api/dns-check \
-H "Content-Type: application/json" \
-d '{"domain":"example.com"}' Reverse DNS lookup
Checks PTR records for a public IPv4 or IPv6 address.
curl -X POST https://ping7.cc/api/reverse-dns-lookup \
-H "Content-Type: application/json" \
-d '{"ip":"8.8.8.8"}' Safety and limits
Ping7 blocks local, private, and reserved IP addresses for server-side checks. The API is provided for lightweight use and may change as the service grows.