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.
Body
PARAM
Key | Datatype | Required | Description |
accountSwitchKey
|
string | (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys). |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
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
}
} |
ENDPOINTS