πGeolocation
The IpForensics API supports looking up the Geolocation of an IP Address.
We return the geolocation data belonging to the IP Address.
Sample Response
"geolocation": {
"calling_code": "234",
"capital": "Abuja",
"name": "Nigeria",
"code": "NG",
"city": "Lagos",
"emoji": "π³π¬",
"emoji_unicode": "U+1F1F3 U+1F1EC",
"latitude": 6.44745,
"longitude": 3.39025,
"language": {
"name": "English",
"code": "en",
"native": "English"
},
"in_eu": false
},
calling_code
The International Calling Code for the country where the IP Address is located.
capital
The name of the state capital of the country where the IP Address is located.
name
The name of the country where the IP Address is located.
code
The ISO 3166-2 code for the region.
city
The name of the city from where the IP Address is located.
emoji
An emoji version of the flag of the country where the IP Address is located.
emoji_unicode
The Unicode for the emoji flag.
latitude
An approximate latitudinal location for the IP Address. Often near the center of population.
longitude
An approximate longitudinal location for the IP Address. Often near the center of population
language
Language spoken in the country associated with the IP.
name: The name of the main language associated with the IP location.
code: The 2 letter ISO 639-1 code of the main language associated with the IP location.
native: The native name of the main language associated with the IP location.
in_eu
Returns true or false depending on whether the country is a recognized member of the European Union. The list of all EU countries is compiled from this list on the European Union website.
Last updated
Was this helpful?