For see available options
docker run --rm ghcr.io/aasaam/ip-info-rest-api:latest run -h
$ curl -s http://127.0.0.1:4000/info/8.8.8.8 | jq
{
"IP": "8.8.8.8",
"IsValid": true,
"AutonomousSystemNumber": 15169,
"AutonomousSystemOrganization": "GOOGLE",
"City": "",
"CityGeoNameID": 0,
"Country": "US",
"LocationLatitude": 37.751,
"LocationLongitude": -97.822
}
- You can use commercial version for more accurate data.