How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

MaxMind GeoIP City API

City-level IP geolocation lookup with postal, subdivisions, and coordinates

MaxMind GeoIP City API is one of 6 APIs that MaxMind publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include GeoIP City. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 1 operation across 1 path, and defines 14 schemas. It is described by OpenAPI 3.0.3, at version 2.1.

Requests are made against 2 base URLs: https://geoip.maxmind.com, https://geolite.info.

1 operations 1 paths 14 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
2.1
Base URL
https://geoip.maxmind.com
Authentication
HTTP Basic
Terms of Service
Resource Areas
1

Authentication & Security 1

MaxMind GeoIP City API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

  • basicAuth — Use your MaxMind account ID as the username and your license key as the password. All requests must be made over HTTPS.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

GeoIP City 1

City-level IP geolocation lookup with postal, subdivisions, and coordinates

GET
/geoip/v2.1/city/{ipAddress}
GeoIP City Plus Lookup
getGeoIPCity 1 param → 200400401402403404429500

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are CityResponse (10 properties), Country (5 properties), RepresentedCountry (5 properties), Location (5 properties). Each schema is shown below with its type and property counts.

Country
object
Country data for the IP address
5 properties
RepresentedCountry
object
Country that is represented by the IP address (e.g., military)
5 properties
Continent
object
Continent data for the IP address
3 properties
Postal
object
Postal code data
2 properties
Location
object
Location data including coordinates and time zone
5 properties
Subdivision
object
Subdivision (state/province/region) data
4 properties
CityResponse
object
Response from the GeoIP City Plus web service
10 properties
LocalizedNames
object
Localized names keyed by locale code (e.g., "en", "de", "fr")
City
object
City data for the IP address
3 properties
ErrorResponse
object
Standard error response
2 properties
CityTraits
RegisteredCountry
object
Country where the IP address is registered
4 properties
CountryTraits
object
Traits associated with the IP address (Country tier)
3 properties
MaxMindMeta
object
MaxMind account metadata
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

maxmind-geoip-city-api-openapi.yml Raw ↑

Other APIs MaxMind publishes across the network.

MaxMind GeoIP Country API
MaxMind GeoIP Insights API
MaxMind minFraud Factors API
MaxMind minFraud Insights API
MaxMind minFraud Score API
Where this information came from

This is an independent, third-party profile of MaxMind GeoIP City API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.