---
title: "GeoIP Enterprise binary database fields"
description: "Reference for each field in the GeoIP Enterprise binary (MMDB) database, grouped by top-level key."
source: "https://b6c14f51.dev-site-4ua.pages.dev/geoip/docs/databases/enterprise/binary/"
---

# GeoIP Enterprise binary database fields

The GeoIP Enterprise binary database contains the following fields for each
network. The top-level record for each network is a map containing the keys
listed below. Each key maps to a map or an array of maps. If a key maps to an
undefined or empty value, it is not included in the record.

| Data field name | Type | Data field description |
| --- | --- | --- |
| [city](#city) | map | A map containing details about the city associated with the IP address. |
| [continent](#continent) | map | A map containing details about the continent associated with the IP address. |
| [country](#country) | map | A map containing details about the country where MaxMind believes the IP address is located. |
| [location](#location) | map | A map containing details about the location associated with the IP address, including coordinates and time zone. |
| [postal](#postal) | map | A map containing details about the postal code associated with the IP address. |
| [registered_country](#registered_country) | map | A map containing details about the country where the ISP has registered the IP block. This may differ from the country where the IP is located. |
| [represented_country](#represented_country) | map | A map containing details about the country represented by users of the IP address, such as a military base or embassy. |
| [subdivisions](#subdivisions) | array of maps | An array of maps containing data for the subdivisions associated with the IP address, ordered from largest to smallest. |
| [traits](#traits) | map | A map containing general traits associated with the IP address. |

## city

| Data field name | Type | Data field description |
| --- | --- | --- |
| confidence | uint16 | A value from 0-100 indicating MaxMind's confidence that the city is correct.<br><br>[Learn more about confidence factors on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#confidence-factors) |
| geoname_id | uint32 | A unique identifier for the city as specified by [GeoNames](https://www.geonames.org/).<br><br>[Learn more about GeoNames IDs on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#geonames-ids) |
| names | map | A map from locale codes (e.g., `en`, `de`, `ja`) to localized names.<br><br>[Learn more about localized geolocation names on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#names) |

## continent

| Data field name | Type | Data field description |
| --- | --- | --- |
| code | string | A two-character continent code like `NA` (North America) or `OC` (Oceania).<br><br>[Learn more about continent codes on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#codes) |
| geoname_id | uint32 | A unique identifier for the continent as specified by [GeoNames](https://www.geonames.org/).<br><br>[Learn more about GeoNames IDs on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#geonames-ids) |
| names | map | A map from locale codes (e.g., `en`, `de`, `ja`) to localized names.<br><br>[Learn more about localized geolocation names on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#names) |

## country

| Data field name | Type | Data field description |
| --- | --- | --- |
| confidence | uint16 | A value from 0-100 indicating MaxMind's confidence that the country is correct.<br><br>[Learn more about confidence factors on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#confidence-factors) |
| geoname_id | uint32 | A unique identifier for the country as specified by [GeoNames](https://www.geonames.org/).<br><br>[Learn more about GeoNames IDs on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#geonames-ids) |
| is_in_european_union | boolean | This is `true` if the country is a member state of the European Union. This key is only present when the value is `true`.<br><br>[Learn more about the EU flag on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#eu-flag) |
| iso_code | string | The two-character [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) alpha code for the country.<br><br>[Learn more about country codes on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#codes) |
| names | map | A map from locale codes (e.g., `en`, `de`, `ja`) to localized names.<br><br>[Learn more about localized geolocation names on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#names) |

## location

| Data field name | Type | Data field description |
| --- | --- | --- |
| accuracy_radius | uint16 | The approximate accuracy radius in kilometers around the latitude and longitude for the IP address. This is the radius where we have a 67% confidence that the device using the IP address resides within the circle centered at the latitude and longitude with the provided radius.<br><br>[Learn about the geolocation area on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#geolocation-area) |
| latitude | double | The approximate latitude of the location associated with the IP address. This value is not precise and should not be used to identify a particular address or household.<br><br>[Learn about the geolocation area on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#geolocation-area) |
| longitude | double | The approximate longitude of the location associated with the IP address. This value is not precise and should not be used to identify a particular address or household.<br><br>[Learn about the geolocation area on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#geolocation-area) |
| metro_code | uint16 | **Deprecated.** Metro codes are no longer maintained. |
| time_zone | string | The time zone associated with the location, as specified by the [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g., `America/New_York`).<br><br>[Learn more about time zone data on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#time-zone) |

## postal

| Data field name | Type | Data field description |
| --- | --- | --- |
| code | string | The postal code of the location. Postal codes are not available for all countries. In some countries, this will only contain part of the postal code.<br><br>[Learn more about postal code data on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#codes) |
| confidence | uint16 | A value from 0-100 indicating MaxMind's confidence that the postal code is correct.<br><br>[Learn more about confidence factors on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#confidence-factors) |

## registered_country

| Data field name | Type | Data field description |
| --- | --- | --- |
| geoname_id | uint32 | A unique identifier for the registered country as specified by [GeoNames](https://www.geonames.org/).<br><br>[Learn more about GeoNames IDs on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#geonames-ids) |
| is_in_european_union | boolean | This is `true` if the registered country is a member state of the European Union. This key is only present when the value is `true`.<br><br>[Learn more about the EU flag on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#eu-flag) |
| iso_code | string | The two-character [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) alpha code for the registered country. |
| names | map | A map from locale codes (e.g., `en`, `de`, `ja`) to localized names.<br><br>[Learn more about localized geolocation names on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#names) |

## represented_country

| Data field name | Type | Data field description |
| --- | --- | --- |
| geoname_id | uint32 | A unique identifier for the represented country as specified by [GeoNames](https://www.geonames.org/).<br><br>[Learn more about GeoNames IDs on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#geonames-ids) |
| is_in_european_union | boolean | This is `true` if the represented country is a member state of the European Union. This key is only present when the value is `true`.<br><br>[Learn more about the EU flag on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#eu-flag) |
| iso_code | string | The two-character [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) alpha code for the represented country. |
| names | map | A map from locale codes (e.g., `en`, `de`, `ja`) to localized names.<br><br>[Learn more about localized geolocation names on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#names) |
| type | string | A string indicating the type of entity that is representing the country. Currently this is only `military` but may expand to include other types in the future. |

## subdivisions

| Data field name | Type | Data field description |
| --- | --- | --- |
| confidence | uint16 | A value from 0-100 indicating MaxMind's confidence that the subdivision is correct.<br><br>[Learn more about confidence factors on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#confidence-factors) |
| geoname_id | uint32 | A unique identifier for the subdivision as specified by [GeoNames](https://www.geonames.org/).<br><br>[Learn more about GeoNames IDs on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#geonames-ids) |
| iso_code | string | A string up to three characters long containing the subdivision portion of the [ISO 3166-2 code](https://en.wikipedia.org/wiki/ISO_3166-2).<br><br>[Learn more about ISO code data on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#codes) |
| names | map | A map from locale codes (e.g., `en`, `de`, `ja`) to localized names.<br><br>[Learn more about localized geolocation names on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-geolocation-data#names) |

## traits

| Data field name | Type | Data field description |
| --- | --- | --- |
| autonomous_system_number | uint32 | The [autonomous system](https://en.wikipedia.org/wiki/Autonomous_system_%28Internet%29) number associated with the IP address.<br><br>[Learn more about autonomous system data on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-network-data#autonomous-system-data) |
| autonomous_system_organization | string | The organization associated with the registered autonomous system number for the IP address.<br><br>[Learn more about autonomous system data on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-network-data#autonomous-system-data) |
| connection_type | string | One of the following values: `Cable/DSL`, `Cellular`, `Corporate`, or `Satellite`. Additional values may be added in the future.<br><br>[Learn more about connection type data on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-network-data#connection-type-data) |
| domain | string | The second-level domain associated with the IP address. This will be something like `example.com` or `example.co.uk`, not `foo.example.com`.<br><br>[Learn more about domain name data on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-network-data#domain-name-data) |
| is_anycast | boolean | This is `true` if the IP address belongs to an [anycast network](https://en.wikipedia.org/wiki/Anycast). This key is only present when the value is `true`.<br><br>[Learn more about anycast data on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-network-data#anycast) |
| isp | string | The name of the ISP associated with the IP address.<br><br>[Learn more about ISP data on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-network-data#isp-org-data) |
| mobile_country_code | string | The [mobile country code (MCC)](https://en.wikipedia.org/wiki/Mobile_country_code) associated with the IP address and ISP.<br><br>[Learn more about mobile country codes on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-network-data#mobile-codes) |
| mobile_network_code | string | The [mobile network code (MNC)](https://en.wikipedia.org/wiki/Mobile_country_code) associated with the IP address and ISP.<br><br>[Learn more about mobile network codes on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-network-data#mobile-codes) |
| organization | string | The name of the organization associated with the IP address.<br><br>[Learn more about organization data on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-ip-network-data#isp-org-data) |
| user_type | string | The user type associated with the IP address. This can be one of the following values: `business`, `cafe`, `cellular`, `college`, `consumer_privacy_network`, `content_delivery_network`, `government`, `hosting`, `library`, `military`, `residential`, `router`, `school`, `search_engine_spider`, or `traveler`.<br><br>[Learn more about user type data on our Knowledge Base.](https://support.maxmind.com/knowledge-base/articles/maxmind-user-context-data#user-types) |
