Clicky

 _             _     _      _    _      _
(_)_ __    ___(_) __| | ___| | _(_) ___| | __
| | '_ \  / __| |/ _` |/ _ \ |/ / |/ __| |/ /
| | |_) | \__ \ | (_| |  __/   <| | (__|   <
|_| .__/  |___/_|\__,_|\___|_|\_\_|\___|_|\_\
  |_|
    

Calling IP Sidekick geolocation API with Plain Javascript

Calling IP Sidekick via Javascript is straightforward. You just hit the URL https://ipsidekick.com/json and it performs a lookup based on your IP address and returns a JSON. This example shows how to call the IP Sidekick API with plain Javascript and display the results: