Verify and locate an IP

POST https://{{host}}/edge-diagnostics/v1/verify-locate-ip

Verifies if an IP belongs to an edge server and gets the geolocation data of its network. For IPs verified positively, you can continue gathering diagnostic data with Request content with cURL, Get domain details with dig, or Test network connectivity with MTR operations.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Request Body

{"ipAddress"=>"192.0.2.12"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"createdBy":"jsmith","createdTime":"2021-10-04T15:01:46Z","executionStatus":"SUCCESS","request":{"ipAddress":"192.0.2.12"},"result":{"geoLocation":{"asNumber":4808,"city":"BEIJING","continent":"AS","countryCode":"CN","latitude":39.9,"longitude":116.41,"network":"chinaunicom","regionCode":"BJ","throughput":"vhigh","timeZone":"GMT+8"},"isEdgeIp":false}}