City | Ashburn |
Country | United States (US) |
Latitute | 39.0469 |
Longitude | -77.4903 |
Time zone | America/New_York |
Dokumentation |
https://geoip.onesystems.ch/api/{ip}/{language}/{type}
|
||||||
API |
https://geoip.onesystems.ch/api/8.8.8.8 https://geoip.onesystems.ch/api/2a00:a200:0:f::888 https://geoip.onesystems.ch/api/8.8.8.8/full https://geoip.onesystems.ch/api/87.79.99.25/de |
||||||
Script |
<script> function foo(data) { document.write("City: ", data.city); document.write("Country: ", data.country.name); document.write("Latitude: ", data.location.latitude); document.write("Longitude: ", data.location.longitude); } </script> <script src="https://geoip.onesystems.ch/api?callback=foo"></script> |