Locate an IP network
POST https://{{host}}/edge-diagnostics/v1/locate-ip
Returns geolocation data of an IP's network. You can enter up to 10 IPs.
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
{
"completedTime": "2022-02-01T17:40:32Z",
"createdBy": "hgildong",
"createdTime": "2022-02-01T17:40:29Z",
"executionStatus": "SUCCESS",
"request": {
"ipAddresses": [
"192.0.2.9",
"192.0.2.0"
]
},
"results": [
{
"executionStatus": "SUCCESS",
"geoLocation": {
"asNumber": 13335,
"city": "SYDNEY",
"continent": "OC",
"countryCode": "AU",
"latitude": -33.88,
"longitude": 151.22,
"network": "mil",
"regionCode": "NSW",
"throughput": "low",
"timeZone": "GMT+10"
},
"ipAddress": "192.0.2.9"
},
{
"executionStatus": "SUCCESS",
"geoLocation": {
"city": "SEOUL",
"continent": "AS",
"countryCode": "KR",
"latitude": 37.57,
"longitude": 127,
"throughput": "low",
"timeZone": "GMT+9"
},
"ipAddress": "192.0.2.0"
}
]
} |
ENDPOINTS