Obtener datos GEO de dirección IP en JavaScript

fetch(`https://ipinfo.io/USERIPADDRESS?token=YOUR-TOKEN-FROM-IPINFOSITE`).then(response => response.text()).then(data => {
	console.log(data)
});
Adventurous Ant