IP Geolocation API
🌍 A powerful FastAPI-based API for IP geolocation, leveraging MaxMind GeoLite2 databases to provide detailed location, ASN, country, and reverse DNS information for IPv4 and IPv6 addresses. Supports batch lookups, CSV/JSON exports, and more. Perfect for developers building location-based services, security tools, or analytics platforms.
IP Geolocation API endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
Geolocate /geolocate |
Geolocate |
| GET |
ASN lookup /asn |
Lookup IP ASN info |
| GET |
Country lookup /country |
Lookup country info on an IP |
| GET |
Reverse DNS /reverse_dns |
lookup reverse DNS (PTR record) |
| POST |
Geolocate Batch /geolocate/batch |
Geolocate Batch IP |
IP Geolocation API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $6 / month | — |
|
| ULTRA Recommended | $14 / month | — |
|
| MEGA | $50 / month | — |
|