MaxMind GeoIP2 Python API
JSON →The geoip2 Python package provides an API for both MaxMind's GeoIP2 and GeoLite2 web services and local databases. It allows developers to perform IP geolocation lookups, retrieving information such as country, city, and ASN details. The library is actively maintained, with version 5.2.0 being the latest stable release, and follows semantic versioning with a regular release cadence.
Traffic · last 30 days ↓75% vs prev 7d
total hits 12
actors 3 distinct systems
last hit 3d ago AhrefsBot
top countries 🇺🇸 United States · VN · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France
Resources
packagepypi.org/project/geoip2/ ↗
API endpoints
full doc /v1/registry/geoip2
install /v1/registry/geoip2/install
compatibility /v1/registry/geoip2/compatibility