IP Location Database (Advance)

Overview

Our Advanced Tier IP to Geolocation Database provides you with precise city level geolocation data for both IPv4 and IPv6 addresses. Compared to our Standard Tier IP to Geolocation Database, it adds extra fields such as accuracy radius, confidence score, and DMA codes (DMA codes are available in the USA only) to give you the pinpoint accuracy you need to make tighter decisions.

Every IP range is linked to countries, states, districts, and cities, with multilingual place names resolved through reference tables for consistency. This structure makes it easy to join datasets and work with standardized metadata across different regions and languages. We update our databases every single day, and it's available in CSV, MMDB, or custom formats to fit your needs.

Below, you'll find full documentation of the archive contents, schema definitions, file specifications, and integration notes to help you get up and running quickly.

Available Database Formats

CSV
CSVCSV
File Size: 472.27 MB
Entries: 31.2M
Fields: 16
Last Updated: Yesterday
MMDB
MMDBMMDB
File Size: 2.43 GB
Entries: 31.2M
Fields: 16
Last Updated: Yesterday
Important
If you require our Advance IP to Location Database in a different format, such as Parquet or any custom structure, please feel free to reach out to us via our contact form. We are happy to accommodate specific format requests to meet your needs.

CSV Database Documentation

1.Overview

The CSV version of our Advance IP to Location Database is delivered as a ZIP archive that includes Gzip-compressed files with IP ranges, location details, and multilingual place names. It’s well-suited for bulk imports and easy integration into relational databases.

2.Archive Content

After downloading and extracting the Advance IP to Location CSV database archive, you’ll find the following files (with their types noted):

db-country.csv.gz
db-country.csv.gzdb-country.csv.gz

Standardized country and continent metadata with codes, currency, calling codes, TLDs, and languages.

File Size: 9.67 KB
Entries: 254
Fields: 15
db-place.csv.gz
db-place.csv.gzdb-place.csv.gz

Multilingual place names for cities, districts, states, countries, and continents.

File Size: 13.19 MB
Entries: 357.1K
Fields: 13
db-ip-location.csv.gz
db-ip-location.csv.gzdb-ip-location.csv.gz

IP ranges mapped to locations with place IDs (for multilingual responses), ZIP codes, coordinates, time zone, and connection type.

File Size: 459.07 MB
Entries: 31.2M
Fields: 16
README.md
README.mdREADME.md

Documentation for dataset contents, schema, usage, and support.

File Size: 4.55 KB
db-ip-location.md5
db-ip-location.md5db-ip-location.md5

MD5 checksums for verifying file integrity.

File Size: 202 Bytes
Tip

Always verify downloaded files with the provided checksum before importing.

On Linux, if md5sum is not installed, first run:

sudo apt-get install coreutils

Then check the archive files against the checksum file with:

md5sum -c db-ip-location.md5

Example output:

db-country.csv.gz: OK
db-place.csv.gz: OK
db-ip-location.csv.gz: OK
README.md: OK

If a file’s checksum does not match, FAILED will be shown instead of OK . If verification fails, first confirm that the download completed correctly; if the issue persists, please contact our support team.

Schema

This section describes the schema of each file included in the Advance IP to Location Database archive. For every file, you’ll find its purpose, field definitions, and examples to help with integration.

1.db-ip-location.csv.gz

This file provides geolocation data for IPv4 and IPv6 ranges, mapped down to the city level. Each record links an IP block to country, state, district, and city (through place IDs for multilingual response), geographic coordinates, time zone, GeoNames ID, and connection type. It also includes accuracy radius, confidence level, and DMA codes (U.S. only) for finer and more granular details.

FieldTypeDescriptionCan be empty?Example
start_ipstring

First IP address in the range (supports both IPv4 and IPv6).

No1.0.0.0
end_ipstring

Last IP address in the range (supports both IPv4 and IPv6).

No1.0.0.115
country_idinteger

Foreign key linking to db-country.id , which provides full country metadata.

No10
state_place_idinteger

Foreign key linking to db-place.id for multilingual state/province names.

Yes267
state_codestring

Region or state code in ISO format.

YesAU-QLD
district_place_idinteger

Foreign key linking to db-place.id for multilingual district names.

Yes3697
city_place_idinteger

Foreign key linking to db-place.id for multilingual city names.

Yes23824
accuracy_radiusfloat

Estimated radius in kilometers around the returned location; smaller values indicate higher precision.

No6.372
confidencestring

Confidence level of the location data (low, medium, or high).

Nohigh
dma_codeinteger

Numeric DMA (Designated Market Area) code for U.S. TV and radio markets; available only for U.S. IPs.

Yes803
zip_codestring

Postal or ZIP code (alphanumeric).

Yes4101
latitudefloat

Latitude coordinate of the location centroid (−90 to 90).

No-27.47306
longitudefloat

Longitude coordinate of the location centroid (−180 to 180).

No153.01421
geo_name_idinteger

GeoName ID for the location.

No10113228
time_zone_namestring

Time zone in IANA format.

NoAustralia/Brisbane
connection_typestring

Type of network connection.

YesBroadband
Tip

The country_id field links to db-country.id , which provides standardized country metadata such as different names, codes, currency, and language information. Similarly, the *_place_id fields (e.g., state_place_id, district_place_id, city_place_id) link to db-place.id . These joins let you query multilingual names for countries, states, districts, and cities, ensuring consistency across different languages and regions.

Example Records

Loading code block…

2.db-place.csv.gz

This file contains multilingual names for countries, continents, states, districts, and cities worldwide. It serves as the reference dictionary for the IP Location Database, allowing you to resolve place IDs into multilingual responses across different regions and languages.

FieldTypeDescriptionCan be empty?Example
idinteger

Unique identifier for the place.

No394
place_englishstring

Place name in English.

YesNew York
place_germanstring

Place name in German.

YesNew York
place_russianstring

Place name in Russian.

YesНью-Йорк
place_koreanstring

Place name in Korean.

Yes뉴욕주
place_portuguesestring

Place name in Portuguese.

YesNova Iorque
place_japanesestring

Place name in Japanese.

Yesニューヨーク州
place_persianstring

Place name in Persian.

Yesﺎﯾﺎﻠﺗ ﻦﯾﻮﯾﻭﺮﮐ
place_frenchstring

Place name in French.

YesNew York
place_chinesestring

Place name in Chinese (Simplified).

Yes纽约州
place_spanishstring

Place name in Spanish.

YesNueva York
place_czechstring

Place name in Czech.

YesNew York (stát)
place_italianstring

Place name in Italian.

YesNew York
Tip

The id field in db-place.csv.gz is used as a reference key to resolve place names. It joins with the placeid fields in db-ip-location.csv.gz (such as state_place_id, district_place_id, and city_place_id) and also with placeid fields in db-country.csv.gz (such as country_name_place_id and country_capital_place_id). These joins ensure that every IP range or country record can be enriched with multilingual place names from the reference table, making it possible to deliver consistent, localized responses across different regions and languages.

Example Records

Loading code block…

3.db-country.csv.gz

This file contains standardized country metadata for the IP Location Database. It includes continent codes and names, ISO-2/ISO-3/IOC country codes, country and official names (as place IDs), capital (place ID), currency (code, name, symbol), international calling codes, top-level domains (TLDs), and supported language tags.

FieldTypeDescriptionCan be empty?Example
idinteger

Unique internal identifier for each country record.

No1
continent_codestring

Standard two-letter code representing the continent.

NoEU
continent_name_place_idinteger

Foreign key linking to db-place.id for multilingual continent names.

No7
country_code2string

ISO 3166-1 alpha-2 country code (two characters).

NoAD
country_code3string

ISO 3166-1 alpha-3 country code (three characters).

NoAND
country_code_iocstring

International Olympic Committee code (three characters).

NoAND
country_name_place_idinteger

Foreign key linking to db-place.id for multilingual country names.

No174
country_name_official_place_idinteger

Foreign key linking to db-place.id for multilingual official names of countries.

No239877
country_capital_place_idinteger

Foreign key linking to db-place.id for multilingual countries' capital names.

No963
currency_codestring

ISO 4217 three-letter currency code.

NoEUR
currency_namestring

Full currency name.

NoEuro
currency_symbolstring

Currency symbol (UTF-8 encoded).

No
calling_codestring

International dialing prefix (including +).

No+376
tldstring

The country’s internet top-level domain.

No.ad
languagesstring

Comma-separated list of spoken languages using BCP-47/IETF tags.

Noca
Tip

The id field in db-country.csv.gz serves as the reference key for country metadata. It is used by the country_id field in db-ip-location.csv.gz to link each IP range to standardized country details such as ISO codes, continent, capital, currency, calling codes, and languages. In addition, *_place_id fields within db-country.csv.gz (e.g., country_name_place_id, country_capital_place_id) join to db-place.csv.gz to resolve multilingual names for countries and capitals. Together, these joins ensure that country-level information can be consistently linked, enriched, and localized.

Example Records

Loading code block…

4.File Relationship Diagram

Schema Diagram

File Format & Encoding

All Advance IP to Location CSV datasets are provided in UTF-8 encoding, comma-separated, and compressed with Gzip (.csv.gz). Each file includes a header row listing the field names for clarity and consistency.

Field values are unquoted by default, with quotes applied only in the following cases:

  • Line breaks within text fields.
  • Commas inside a value (e.g., addresses).
  • Lists of values (e.g., languages).
  • Spaces that may be auto-quoted by export tools.

MMDB Database Documentation

1.Overview

The MMDB version of our Advance IP to Location is delivered as a ZIP archive that includes a single MMDB file with all geolocation data (including multilingual place fields), a README file, and a checksum file. It’s optimized for fast lookups in applications and services, making it ideal for real-time queries and direct integration into your systems.

2.Archive Content

After downloading and extracting the Advance IP to Location MMDB database archive, you’ll find the following files (with their types noted):

db-ip-location.mmdb
db-ip-location.mmdbdb-ip-location.mmdb
File Size: 2.43 GB
Entries: 31.2M
README.md
README.mdREADME.md

Documentation for dataset contents, schema, usage, and support.

File Size: 4.55 KB
db-ip-location.md5
db-ip-location.md5db-ip-location.md5

MD5 checksums for verifying file integrity.

File Size: 98 Bytes
Tip

Always verify downloaded files with the provided checksum before importing.

On Linux, if md5sum is not installed, first run:

sudo apt-get install coreutils

Then check the archive files against the checksum file with:

md5sum -c db-ip-location.md5

Example output:

db-ip-location.mmdb: OK
README.md: OK

If a file’s checksum does not match, FAILED will be shown instead of OK . If verification fails, first confirm that the download completed correctly; if the issue persists, please contact our support team.

Response Schema

This section describes the structure of the data returned from the Advance IP to Location MMDB file. Each field is detailed with its type, meaning, and example values to help you interpret responses and integrate them into your applications.

1.db-ip-geolocation.mmdb

This file provides geolocation data for IPv4 and IPv6 ranges at the city level. Each response includes multilingual country, state, district, and city details, geographic coordinates, time zone, GeoNames ID, and connection type. It also includes accuracy radius, confidence level, and U.S.-only DMA codes for finer, more granular detail.

2.Field Reference

The following reference lists all fields available in the MMDB response. Each entry includes the field path, its description, data type, and example value to help you understand how to parse and integrate the data.

Showing 2 of 35
Select a field to view details

Example Records

Loading code block…

Data Format & Constraints

  • All fields defined in the schema are always present in the Advance IP to Location MMDB response.
  • Fields may contain empty strings (""), but never null, so null checks are not required.
  • Place names such as countries, states, districts, and cities are available in multiple translations.
  • All text values are encoded in UTF-8.
  • Field names and response structure remain stable across updates for backward compatibility.

Database Updates & Delivery

When you subscribe to our Advance IP to Location database, we’ll send you static download links for the archive in your chosen formats. These links never change, so you can use them both for your initial download and for all future updates.

Our databases are refreshed daily and weekly, ensuring you always have access to the most current data. Each time your subscribed dataset is updated, you’ll also receive an email notification so you don’t miss a release.

For automated workflows, you can check our status endpoint to see the last update timestamp. When the date changes, simply re-fetch the archive using your static download URL to pull the latest version into your system.

Subscribe Our Newsletter

Get the latest in geolocation tech, straight to your inbox.