IP Lookup
Get an IP's information
Lookup an IP address and return the associated information.
get/v1/ip/{ip}/lookup
Request
- Base URL: https://api.edgegap.com
- URL: https://api.edgegap.com/v1/ip/{ip}/lookup
- Auth: API key in header authorization
Response
Success
Example response
{
"type": "IPv4",
"ip_address": "1.1.1.1",
"location": {
"continent": {
"code": "AF",
"name": "Africa"
},
"country": {
"code": "CA",
"name": "Canada"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.