Map an to a country

IP Geolocation JSON API
IPv4 and IPv6 support

Get a FREE API key at ipapi.com
GET
HEAD
https://api.ip2country.info/ip?5.6.7.8
or, use npm package or, send to messenger