A Simple IP Geolocation API (free for non-commercial)
ip-api.com
ip-api.com
Maxmind (for instance) add their own sauce to map endpoint IPs behind VPN.
Cloudflare and Apple have some kind of airport code based model to geoloc the Ips they use in Warp and the Apple private VPN to approximate locations.
ToS says they do not log or use the gathered data.
Outside: A multi-purpose weather client for your terminal
https://news.ycombinator.com/item?id=44555025
https://github.com/BaconIsAVeg/outside
https://ip-api.status.io/