IP geolocation — country, city, ISP, timezone, lat/lng.

🔓 No Auth Required⚠️ HTTP Only🌐 ✓ CORS Enabled
API Details
API Nameip-api
CategoryMaps & Geo
AuthenticationNone required
HTTPS Support❌ No — plain HTTP
CORS Policy✅ Enabled — browser-safe
DocumentationOpen Docs ↗
⚡ Quick Start

Copy this JavaScript snippet to start using the API immediately.

const res = await fetch("https://ip-api.com/docs");
const data = await res.json();
console.log(data);
More Maps & Geo APIs
See all →
OpenStreetMap Nominatim

Free geocoding and reverse-geocoding using OpenStreetMap data.

No AuthHTTPS
Get API →
ipify

Simple public IP address API. Returns your current IP.

No AuthHTTPS
Get API →
RestCountries

Get data about countries: name, capital, currencies, languages.

No AuthHTTPS
Get API →
🚀 Access This API

View endpoints, request formats, rate limits, and full response schemas in the official docs.

Open Documentation →← Browse All APIs
🔐 Authentication Guide
No Authentication

Call this API directly from any frontend or backend — no sign-up required.

⚙️ Compatibility
Browser (Frontend)✓ Supported
Server (Node / Python)✓ Always works
HTTPS / SSL✗ HTTP only
💡 Developer Tips
  • No key needed — safe to call from browser or server.
  • Direct browser fetch calls work — no proxy needed.
  • Handle rate limits with retry logic and exponential backoff.
  • Cache responses locally to minimize calls and stay on free tier.
📂 Maps & Geo Category

Explore all free APIs in the Maps & Geo category.

Browse Maps & Geo
👋 Need help with code?