Check out KONG for API management on-premises.

DB-IP IP Geolocation

Private API

Lookup geographical location data like country code, state and city by IPv4 or IPv6 address.