Document toolboxDocument toolbox

GeoIP API

GeoIP

The GeoIP API call returns information about the geographical location of an IP address.


Data Structure:


{
“as_num”: string,
“city”: string,
“country_code”: string,
“country_name”: string,
“isp”: string,
“latitude”: number,
“longitude”: number,
“org”: string,
“postal_code”: string,
“region”: string}
}


Example:

Given an indicator of “45.63.119.161”, GeoIP returns the following:

{
“asn_num": "(20473,
"city": "Frankfurt am Main",
"country_code": "DE",
"country_name": "Germany",
"isp": "AS-CHOOPA",
"latitude": 50.0971,
"longitude": 8.5952,
"org": "Choopa, LLC",
"postal_code": "65933",
"region": "Hesse"
}