Also look here: https://www.geojs.io/ Example: https://get.geojs.io/v1/ip/country, https://get.geojs.io/v1/ip/geo.json
In Cloudflare Network -> IP Geolocation switch turn on Rules -> Page Rules -> sttcdn.site.com/* The most important and probably only one which can work: Rules -> Transform Rules -> Modify response header -> cf-ipcountry: Any name, All incoming requests, Set Dynamic - Header Name: X-User-Country - Value: ip.src.country
Domain should provide in response this headers: Access-Control-Allow-Origin: * Access-Control-Expose-Headers: X-User-Country