Dapatkan data geo alamat IP di javascript

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