ip lookjup code example

Example: ip lookup

$ curl "http://restapi.neoistone.com/v2/whois/ip/your-ip-addresh"

{
"error": false,
"code": 200,
"message": "ip was found ",
"data": {
"continent": "Asia",
"continent_code": "AS",
"country": "India",
"country_code": "IN",
"regionName": "Telangana",
"region": "TG",
"city": "Khammam",
"postal_code": "507001",
"lat": 17.2531,
"lon": 80.1421,
"location": "https://www.google.com/maps/dir/?api=1&destination=17.2531,80.1421",
"flag": "https://www.countryflags.io/IN/shiny/64.png",
"timezone": "Asia/Kolkata",
"currency": "INR",
"isp": "Tri-Networks",
"org": "Pioneer Elabs Ltd",
"as": "AS18229 CtrlS Datacenters Ltd.",
"asname": "CTRLS-AS-IN",
"mobile": false,
"proxy": false,
"hosting": true,
"tor": false,
"ip": "45.127.56.230",
"hostname": "45-127-56-230.ips.neoistone.com"
}
}

Tags:

Misc Example