codingkicks
This site provides easy API access to a GeoIP database. Sign in to receive your api key.
Login to view your API key.
usage:
fetch("https://codingkicks-maxmind-geoip.web.app/api/json", {
"method": "GET",
"headers": {
"content-type": "application/json",
"api-key": "INSERT_API_KEY_HERE"
}
})
.then(response => {
console.log(response);
})
.catch(err => {
console.error(err);
});
license:
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.