Paco

Personal Content Organiser

Home / Linux

Navigation

Menu

Search

get the country code of my ip

curl -s ip-api.com/line/$(curl -s ifconfig.me)?fields=countryCode

https://ifconfig.me/
https://ip-api.com/


see also:
https://freegeoip.app/
http://maxmind.github.io/GeoIP2-php