Geocoding — entry 015 of 80

Country

Verified Jul 2026

Country.is is a minimal, free API that returns only the caller's two-letter country code from their IP address. The real endpoint lives at api.country.is (the marketing page automatically redirects HTTP to HTTPS), needs no API key, and supports open CORS for direct browser use.

ip-geolocationfree-apino-authcountry-lookupcors-enabled
AuthenticationNone requiredCall it straight away — no key, no signup.
HTTPSSupportedTraffic is encrypted in transit.
CORSEnabledCallable directly from browser JavaScript.
PricingFreeNo paid tier — free for the documented use case.
FormatsJSONResponses can be requested as JSON.

GreatAPIs Score

Score74out of 100
Authentication25/25No authentication required
Pricing20/20Free to use
Docs0/20No docs or spec available
Formats9/15Single response format
Freshness20/20Verified within 6 months

Embed this badge

Scored 74 on greatapis.com
<a href="https://greatapis.com/api/country/"><img src="https://greatapis.com/badge/country.svg" alt="Scored 74 on greatapis.com"></a>

Auth quickstart

  1. No key needed — call it now.
Stored keyNo key stored

Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.