Page loaded over IPv4 Testing both stacks
IPv4 Stack Checking…
Connecting…
IPv6 Stack Checking…
Connecting…
Quick CLI Commands

Plain-text IP or JSON output straight in your terminal:

curl https://getip.uk
curl -4 https://getip.uk
curl -6 https://getip.uk
curl https://getip.uk/json
API Endpoints (Plain Text / REST)

Query individual fields directly with clean newline-terminated text (like ifconfig.co):

/ip IP address
/ip-decimal IP address as an integer
/ip-version 4 or 6
/hostname Reverse DNS name
/user-agent Your User-Agent header
/country Country name
/country-iso ISO 3166-1 country code
/country-eu In the EU (true/false)
/continent Continent
/region Region / state
/region-code Region code
/city City
/zip Postal code
/coordinates Latitude,longitude
/latitude Latitude
/longitude Longitude
/timezone IANA time zone
/currency Local currency code
/calling-code International calling code
/asn Autonomous system number
/asn-org Autonomous system organisation
/isp Internet service provider
/org Organisation
/proxy Proxy / VPN / Tor detected (true/false)
/hosting Hosting / data centre address (true/false)
/mobile Mobile network (true/false)