What it does
country.is does one thing: it tells you the country of an IP address, as a two-letter country code in a tiny JSON response. Call it without an address to get the country of the visitor, for example to preselect a country in a form. Free and open source, no key needed.
More information: https://country.is/