May be after some amount of requests they will disable anonymous cross-domain , and the price to pay for a key doesnt worth it.
.This freegeoip.app has a max of 15.000 requests per hour .
.This ipinfodb.com/api has a free database and has an api with limit of 1 request per second
.This looks like its free get.geojs.io/v1/ip/geo.js ( I never used )
I know some people that prefer using a database inside of the game , the professional way is to pay for a key , but only worth if the game has thounsands of downloads