GeoJS

Maps & Geocoding

GeoJS is a free, no-authentication IP geolocation API that returns the country, city, geographic coordinates, timezone, and other location information associated with an IP address. Designed for simplicity and zero friction, GeoJS requires no API key, no account registration, and no billing setup — making it the fastest possible path to basic IP-based location detection for web applications. For Nigerian developers who need simple country detection or approximate location awareness without the overhead of commercial IP geolocation services, GeoJS is an excellent starting point.

free

None (no API key required)

No hard rate limit documented. Fair use expected.

✗ Not Available

Best For

Developers needing a quick, free, no-auth IP geolocation lookup to detect a visitor's country and approximate location for basic geo-targeting and redirect logic in web applications.

Pricing

GeoJS is a free IP geolocation API with no authentication required. Returns country, city, coordinates, and timezone for any IP address. Simple, fast, and zero-setup — ideal for basic country detection in Nigerian web applications.

Not Supported

Bulk LookupAddress GeocodingRouting

Key Highlights

  • Completely free — no API key
  • No account registration required
  • Country + city + coordinates + timezone
  • JSON, JSONP, and plain text responses
  • CORS-enabled for frontend use
  • IPv4 and IPv6 support
  • Fast response times
  • High uptime SLA claimed

Required Access Documents

  • No Registration RequiredOptional
    GeoJS requires no API key or account. Simply make an HTTP GET request to the API endpoint with an IP address. CORS is enabled, so frontend JavaScript can call it directly.

Use Cases

  • Detect Nigerian vs International Visitors:Use GeoJS to detect whether a website visitor is coming from Nigeria or abroad — automatically showing NGN prices for Nigerian visitors and USD for international visitors, or redirecting to localized content based on detected country code.
  • Pre-fill Country Code in Nigerian App Forms:Use GeoJS to auto-detect a web visitor's country on page load and pre-populate the country field or phone prefix in registration forms — reducing friction for Nigerian users who would otherwise manually select Nigeria from a long country dropdown.
  • Basic Geo-Restriction Check:Use GeoJS to implement a basic country-level access check in a Nigerian web application — detecting if a visitor is from a restricted country and displaying an appropriate message before serving content.
  • Timezone-Aware Nigerian Platform:Use GeoJS timezone detection to identify a user's local timezone on first visit, allowing a Nigerian scheduling or events platform to display times in the user's local timezone without requiring account setup or manual selection.

Discover similar API's

View All Alternatives →