Skip to content

Instantly share code, notes, and snippets.

@ahmadawais
Last active June 21, 2018 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmadawais/4ee5440b9a7f8a34f8cbd3bc56f39d9d to your computer and use it in GitHub Desktop.
Save ahmadawais/4ee5440b9a7f8a34f8cbd3bc56f39d9d to your computer and use it in GitHub Desktop.
What Is the Best API for Geolocating an IP Address? ➡️https://ahmadawais.com/best-api-geolocating-an-ip-address/
{
"ip": "39.53.59.231",
"hostname": "39.53.59.231",
"type": "ipv4",
"continent_code": "AS",
"continent_name": "Asia",
"country_code": "PK",
"country_name": "Pakistan",
"region_code": "IS",
"region_name": "Islamabad",
"city": "Islamabad",
"zip": "44000",
"latitude": 33.6957,
"longitude": 73.0113,
"location": {
"geoname_id": 1176615,
"capital": "Islamabad",
"languages": [
{
"code": "en",
"name": "English",
"native": "English"
},
{
"code": "ur",
"name": "Urdu",
"native": "اردو"
}
],
"country_flag": "http://assets.ipstack.com/flags/pk.svg",
"country_flag_emoji": "🇵🇰",
"country_flag_emoji_unicode": "U+1F1F5 U+1F1F0",
"calling_code": "92",
"is_eu": false
},
"time_zone": {
"id": "Asia/Karachi",
"current_time": "2018-06-21T12:11:46+05:00",
"gmt_offset": 18000,
"code": "PKT",
"is_daylight_saving": false
},
"currency": {
"code": "PKR",
"name": "Pakistani Rupee",
"plural": "Pakistani rupees",
"symbol": "PKRs",
"symbol_native": ""
},
"connection": {
"asn": 45595,
"isp": "Pakistan Telecom Company Limited"
},
"security": {
"is_proxy": false,
"proxy_type": null,
"is_crawler": false,
"crawler_name": null,
"crawler_type": null,
"is_tor": false,
"threat_level": "low",
"threat_types": null
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment