country: Get country code only

API: ipinfo.io:ipinfo
Endpoint: /{ip}/country
Response format: text/plain
Auth: none
Method: GET

Description

Returns just the 2-letter country code for an IP address as plain text.

Parameters (1)

ip (string, path, required)

The IP address to look up

No probe data for this endpoint yet.