Бесплатный IP Geo Location API JavaScript

fetch("https://find-any-ip-address-or-domain-location-world-wide.p.rapidapi.com/iplocation?apikey=API-KEY", {
  "method": "GET",
  "headers": {
  "x-rapidapi-host": "find-any-ip-address-or-domain-location-world-wide.p.rapidapi.com",
  "x-rapidapi-key": "YOUR-RAPID-API-KEY"
  }
  })
  .then(response => {
  console.log(response.json());
  })
  .catch(err => {
  console.error(err);
});
Adventurous Ant