IP Location Database (Advance)


Overview

Our Geo Advance IP to Geolocation Database provides you with precise city level geolocation data for both IPv4 and IPv6 addresses. Compared to our Geo Standard 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. Our collection pipelines run nonstop, around the clock, with database updates delivered on a daily or weekly cadence depending on your subscription plan. The dataset is available in CSV and MMDB, with JSON, Parquet, or any custom format on request at no extra cost, all backed by stable schemas and changelogs.

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: 611.14 MB
  • Entries: 47.5M
  • Fields: 16
  • Last Updated: Yesterday
MMDB
MMDBMMDB
  • File Size: 3.52 GB
  • Entries: 47.5M
  • Fields: 16
  • Last Updated: Yesterday

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: 12.84 MB
  • Entries: 317.4K
  • 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: 598.29 MB
  • Entries: 47.5M
  • Fields: 16
README.md
README.mdREADME.md

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

  • File Size: 9.79 KB
checksum.txt
checksum.txtchecksum.txt

SHA-256 checksums for verifying file integrity.

  • File Size: 330 Bytes

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_ipstringThe starting IP address of the range in IPv4 or IPv6 format.No192.168.0.1
end_ipstringThe ending IP address of the range in IPv4 or IPv6 format.No192.168.0.255
country_idnumberThe unique identifier for the country associated with the IP range.No192
state_place_idnumberThe unique identifier for the state or province associated with the IP range.Yes5332921
state_codestringThe two-letter code representing the state or province with country-code, following ISO 3166-2 standards.YesCA
district_place_idnumberThe unique identifier for the district associated with the IP range.Yes5332923
city_place_idnumberThe unique identifier for the city associated with the IP range.Yes5375480
accuracy_radiusnumberThe accuracy radius in kilometers for the location associated with the IP range.No20
confidencenumberThe confidence level (0-100) of the location data associated with the IP range.No95
dma_codenumberThe Designated Market Area (DMA) code for the location associated with the IP range.Yes807
zip_codestringThe postal code for the location associated with the IP range.Yes94043
latitudenumberThe latitude coordinate of the location associated with the IP range.No37.3861
longitudenumberThe longitude coordinate of the location associated with the IP range.No-122.0838
geo_name_idnumberThe GeoNames ID for the location associated with the IP range.Yes5375480
time_zone_namestringThe time zone name for the location associated with the IP range.NoAmerica/Los_Angeles
connection_typestringThe type of internet connection associated with the IP range (e.g., dialup, cable, DSL, fiber, etc.).Yescable

1. Example Records

Example
start_ip,end_ip,country_id,state_place_id,state_code,district_place_id,city_place_id,accuracy_radius,confidence,dma_code,zip_code,latitude,longitude,geo_name_id,time_zone_name,connection_type
180.168.175.200,180.168.175.211,35,274,CN-SH,240077,274,9.803,medium,,200040,31.2288,121.4444,9952641,Asia/Shanghai,Fixed Broadband
23.240.191.23,23.240.191.23,172,362,US-CA,33848,31842,5.004,high,825,92008,33.14121,-117.32051,5322610,America/Los_Angeles,Cable
172.119.65.98,172.119.65.98,172,362,US-CA,4426,4415,9.444,high,803,92405,34.1402,-117.297,5365514,America/Los_Angeles,Cable
79.55.102.26,79.55.102.26,80,492,IT-45,4285,4285,4.635,high,,40121,44.49489,11.34262,11839768,Europe/Rome,DSL
223.148.85.0,223.148.85.255,35,1276,CN-HN,52494,52494,5.744,medium,,413000,28.5743,112.3727,1927489,Asia/Shanghai,Fixed Broadband
81.95.9.18,81.95.9.19,41,562,DE-BE,562,562,8.169,medium,,10117,52.51604,13.37691,6472362,Europe/Berlin,Fiber
106.111.151.0,106.111.151.255,35,277,CN-JS,240078,52362,10.931,medium,,223000,33.5995,119.0078,6567639,Asia/Shanghai,Fixed Broadband
98.198.225.159,98.198.225.159,172,373,US-TX,5669,33129,7.716,high,618,77584,29.541097,-95.320908,7209068,America/Chicago,Cable
120.19.47.69,120.19.47.69,10,306,AU-NSW,3740,240079,6.794,high,,2000,-33.86225,151.20768,8645108,Australia/Sydney,Mobile
122.52.122.148,122.52.122.148,133,224258,PH-11,181630,104990,2.973,high,,8002,6.73877,125.3549,1714956,Asia/Manila,DSL

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
idnumberThe unique identifier for the place.No5375480
place_englishstringThe name of the place in English.NoMountain View
place_germanstringThe name of the place in German.YesMountain View
place_russianstringThe name of the place in Russian.YesМаунтин-Вью
place_koreanstringThe name of the place in Korean.Yes마운틴 뷰
place_portuguesestringThe name of the place in Portuguese.YesMountain View
place_japanesestringThe name of the place in Japanese.Yesマウンテンビュー
place_persianstringThe name of the place in Farsi.Yesماونتین ویو
place_frenchstringThe name of the place in French.YesMountain View
place_chinesestringThe name of the place in Chinese.Yes山景城
place_spanishstringThe name of the place in Spanish.YesMountain View
place_czechstringThe name of the place in Czech.YesMountain View
place_italianstringThe name of the place in Italian.YesMountain View

2. Example Records

Example
id,place_english,place_german,place_russian,place_korean,place_portuguese,place_japanese,place_persian,place_french,place_chinese,place_spanish,place_czech,place_italian
4,Oceania,Ozeanien,Океания,Oceania,Oceania,オセアニア,اقیانوسیه,Océanie,大洋洲,Oceanía,Oceánie,Oceania
5,Asia,Asien,Азия,Ásia,Ásia,アジア, آسیا,Asie,亚洲,Asia,Asie,Asia
6,North America,Nordamerika,Северная Америка,América do Norte,América Do Norte,北アメリカ, امریکای شمالی,Amérique du Nord,北美洲,Norteamérica,Severní Amerika,America del Nord
7,Europe,Europa,Европа,Europa,Europa,ヨーロッパ, اروپا,Europe,欧洲,Europa,Evropa,Europa
11,Australia,Australien,Австралия,Austrália,Austrália,オーストラリア,استرالیا,Australie,澳大利亚,Australia,Austrálie,Australia
12,China,China,Китай,China,China,中国,چین,Chine,中国,China,Čína,Cina
181630,Province of Davao del Sur,Provinz Davao del Sur,Провинция Давао-дель-Сур,,,南ダバオ州,,Province de Davao del Sur,南达沃省,Davao del Sur,Davao del Sur,Provincia di Davao del Sur
239884,Commonwealth of Australia,,,,,,,,,,,
31842,Carlsbad,Carlsbad,Карлсбад,칼즈배드,,カールスバッド,کارلس‌بد، کالیفرنیا,Carlsbad,卡尔斯巴德,Carlsbad,Carlsbad,Carlsbad
240018,United States of America,,,,,,,,,,,
306,New South Wales,New South Wales,Нью Южный Уэльс,Nova Gales do Sul,Nova Gales do Sul,ニューサウスウェールズ州,,Nouvelle-Galles du Sud,新南威爾斯,Nový Jižní Wales,Nový Jižní Wales,Nuovo Galles del Sud
240019,"Washington, D.C.",,,,,,,,,,,
275,Beijing,Peking,Пекин,,,北京,,Municipalité de Pékin,北京,Peking,Peking,Pechino
1276,Hunan,Hunan,Хунань,,,湖南省,,Province de Hunan,湖南,Hunan,Hunan,Hunan
28,United States,USA,США,Estados Unidos,Estados Unidos,アメリカ合衆国,ایالات متحدهٔ امریکا,États-Unis,美国,Estados Unidos,Spojené státy americké,Stati Uniti d'America
33129,Pearland,Pearland,Пэрленд,,,ピアランド,پیر لند، تگزاس,Pearland,皮兰,Pearland,Pearland,Pearland
239901,People’s Republic of China,,,,,,,,,,,
29,Philippines,Philippinen,Филиппины,Filipinas,Filipinas,フィリピン共和国,فیلیپین,Philippines,菲律宾,Filipinas,Filipíny,Filippine
3740,Sydney,Sydney,Сидней,,Cidade de Sydney,シドニー,,Sydney,悉尼,- Sydney,- Sydney,Sydney
33,Germany,Deutschland,Германия,Alemanha,Alemanha,ドイツ連邦共和国,آلمان,Allemagne,德国,Alemania,Německo,Germania
35,Italy,Italien,Италия,Itália,Itália,イタリア共和国,ایتالیا,Italie,意大利,Italia,Itálie,Italia
239906,Federal Republic of Germany,,,,,,,,,,,
4285,Bologna,Bologna,Болонья,Bolonha,Bolonha,ボローニャ,بولونیا,Bologne,博洛尼亚,Bolonia,Bologna,Bologna
52362,Huai'an,Huai'an,Хуайань,,,淮安,,Huai'an,淮安,Huai'an,Huai'an,Huai' an
274,Shanghai,Schanghai,Шанхай,Xangai,Xangai,上海だ,,Municipalité de Shanghai,上海,Šanghaj,Šanghaj,Shanghai
562,Berlin,Berlin,Берлин,베를린,Berlim,ベルリン,برلین,Berlin,柏林,Berlín,Berlín,Berlino
224258,Davao Region,Region Davao,Регион Давао,,,ダバオ州,,Région de Davao,达沃州,Región de Davao,Davao,Regione di Davao
23868,Canberra,Canberra,Канберра,Camberra,Camberra,キャンベラ,کانبرا,Canberra,堪培拉,Canberra,Canberra,Canberra
239939,Republic of Italy,,,,,,,,,,,
4426,San Bernardino County,San Bernardino,Сан-Бернардино,샌버너디노 군,Condado de San Bernardino,サンバーナーディーノ郡,شهرستان سن برناردینو، کالیفرنیا,Comté de San Bernardino,聖貝納迪諾縣,Сан-Бернардино,San Bernardino County,Contea di San Bernardino
4415,San Bernardino,San Bernardino,Сан-Бернардино,샌버너디노 군,Condado de San Bernardino,サンバーナーディーノ_,شهرستان سن برناردینو، کالیفرنیا,San Bernardino,聖貝納迪諾縣,San Bernardino,San Bernardino,San Bernardino
104990,Digos,Digos City,Дигос,,,ディゴス,,Digos,迪戈斯,Digos,Digos,Digos
362,California,Kalifornien,Калифорния,Califórnia,Califórnia,カリフォルニアだ,کالیفرنیا,Californie,加州,California,Kalifornie,California
52494,Yiyang,Yiyang,Иян,,,宜陽,,Yiyang,赫山,Yiyang,Yiyang,Yiyang
33848,San Diego County,San Diego,Сан-Диего,샌디에이고 군,Condado de San Diego,サンディエゴ郡,شهرستان سن دیگو، کالیفرنیا,Comté de San Diego,圣迭戈县,Сан-Диего,San Diego County,Contea di San Diego
240077,Shanghai Shi,,,,,,,,,,,
492,Emilia-Romagna,Emilia-Romagna,Эмилия-Романья,에밀리아로마냐 주,,エミリアロマーニャ州,,Émilie-Romagne,艾米利亚-罗马涅大区,Emilia-Romaña,Emilia Romagna,Emilia-Romagna
240079,Sydney Central Business District,,,,,,,,,,,
3054,Manila,Manila,Манила,,,マニラ,,Manille,马尼拉,Manila,Manila,Manila
277,Jiangsu,Jiangsu,Цзянсу,,,江蘇省,,Province de Jiangsu,江苏省,Jiangsu,Jiangsu,Jiangsu
240078,Huaiyin,,,,,,,,,,,
3952,Rome,Rom,Рим,,,ローマ,,Rome,罗马,Roma,Řím,Roma
239984,Republic of the Philippines,,,,,,,,,,,
5669,Brazoria County,Brazoria,Бразория,,Condado de Brazoria,ブラゾリア郡,شهرستان برازوریا، تگزاس,Comté de Brazoria,布拉佐里亞縣,Бразория,Brazoria,Contea di Brazoria
562,Berlin,Berlin,Берлин,베를린,Berlim,ベルリン,برلین,Berlin,柏林,Berlín,Berlín,Berlino
373,Texas,Texas,Техас,텍사스 주,,テキサス州,تگزاس,Texas,德克萨斯州,Texas,Texas,Texas

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
idnumberThe unique identifier for the country.No192
continent_codestringThe continent code associated with the country.NoNA
continent_name_place_idnumberThe unique identifier for the continent place.No6255148
country_code2stringThe ISO 3166-1 alpha-2 code of the country.NoUS
country_code3stringThe ISO 3166-1 alpha-3 code of the country.NoUSA
country_code_iocstringThe IOC country code.NoUSA
country_name_place_idnumberThe unique identifier for the country place.No6252001
country_name_official_place_idnumberThe unique identifier for the official country place.No6252001
country_capital_place_idnumberThe unique identifier for the capital place.No5375480
currency_codestringThe ISO 4217 currency code of the country.NoUSD
currency_namestringThe name of the currency used in the country.NoUnited States Dollar
currency_symbolstringThe symbol of the currency used in the country.No$
calling_codestringThe international calling code of the country.No+1
tldstringThe top-level domain (TLD) of the country.No.us
languagesstringThe official languages spoken in the country, represented as a comma-separated list of ISO 639-1 codes.Noen,es

3. Example Records

Example
id,continent_code,continent_name_place_id,country_code2,country_code3,country_code_ioc,country_name_place_id,country_name_official_place_id,country_capital_place_id,currency_code,currency_name,currency_symbol,calling_code,tld,languages
172,NA,6,US,USA,USA,28,240018,240019,USD,US Dollar,$,+1,.us,"en-US,es-US,haw,fr"
80,EU,7,IT,ITA,ITA,35,239939,3952,EUR,Euro,,+39,.it,"it-IT,de-IT,fr-IT,sc,ca,co,sl"
35,AS,5,CN,CHN,CHN,12,239901,275,CNY,Yuan Renminbi,¥,+86,.cn,"zh-CN,yue,wuu,dta,ug,za"
133,AS,5,PH,PHL,PHI,29,239984,3054,PHP,Philippine Piso,,+63,.ph,"tl,en-PH,fil"
10,OC,4,AU,AUS,AUS,11,239884,23868,AUD,Australian Dollar,A$,+61,.au,en-AU
41,EU,7,DE,DEU,GER,33,239906,562,EUR,Euro,,+49,.de,de

4. File Relationship Diagram

Image

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: 3.52 GB
  • Entries: 47.5M
README.md
README.mdREADME.md

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

  • File Size: 11.10 KB
checksum.txt
checksum.txtchecksum.txt

SHA-256 checksums for verifying file integrity.

  • File Size: 162 Bytes

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

2. Example Records

Example
{
  "connection_type": "Fixed Broadband",
  "location": {
    "accuracy_radius": "9.803",
    "city": {
      "name": {
        "cs": "Šanghaj",
        "de": "Schanghai",
        "en": "Shanghai",
        "es": "Šanghaj",
        "fa": "",
        "fr": "Municipalité de Shanghai",
        "it": "Shanghai",
        "ja": "上海だ",
        "ko": "Xangai",
        "pt": "Xangai",
        "ru": "Шанхай",
        "zh": "上海"
      }
    },
    "confidence": "medium",
    "coordinates": {
      "latitude": "31.2288",
      "longitude": "121.4444"
    },
    "country": {
      "capital": {
        "cs": "Peking",
        "de": "Peking",
        "en": "Beijing",
        "es": "Peking",
        "fa": "",
        "fr": "Municipalité de Pékin",
        "it": "Pechino",
        "ja": "北京",
        "ko": "",
        "pt": "",
        "ru": "Пекин",
        "zh": "北京"
      },
      "code2": "CN",
      "code3": "CHN",
      "code_ioc": "CHN",
      "continent": {
        "code": "AS",
        "name": {
          "cs": "Asie",
          "de": "Asien",
          "en": "Asia",
          "es": "Asia",
          "fa": " آسیا",
          "fr": "Asie",
          "it": "Asia",
          "ja": "アジア",
          "ko": "Ásia",
          "pt": "Ásia",
          "ru": "Азия",
          "zh": "亚洲"
        }
      },
      "currency": {
        "code": "CNY",
        "name": {
          "en": "Yuan Renminbi"
        },
        "symbol": "¥"
      },
      "metadata": {
        "calling_code": "+86",
        "languages": "zh-CN,yue,wuu,dta,ug,za",
        "tld": ".cn"
      },
      "name": {
        "cs": "Čína",
        "de": "China",
        "en": "China",
        "es": "China",
        "fa": "چین",
        "fr": "Chine",
        "it": "Cina",
        "ja": "中国",
        "ko": "China",
        "pt": "China",
        "ru": "Китай",
        "zh": "中国"
      },
      "name_official": {
        "cs": "",
        "de": "",
        "en": "People’s Republic of China",
        "es": "",
        "fa": "",
        "fr": "",
        "it": "",
        "ja": "",
        "ko": "",
        "pt": "",
        "ru": "",
        "zh": ""
      }
    },
    "district": {
      "name": {
        "cs": "",
        "de": "",
        "en": "Shanghai Shi",
        "es": "",
        "fa": "",
        "fr": "",
        "it": "",
        "ja": "",
        "ko": "",
        "pt": "",
        "ru": "",
        "zh": ""
      }
    },
    "dma_code": "",
    "geoname_id": "9952641",
    "state": {
      "code": "CN-SH",
      "name": {
        "cs": "Šanghaj",
        "de": "Schanghai",
        "en": "Shanghai",
        "es": "Šanghaj",
        "fa": "",
        "fr": "Municipalité de Shanghai",
        "it": "Shanghai",
        "ja": "上海だ",
        "ko": "Xangai",
        "pt": "Xangai",
        "ru": "Шанхай",
        "zh": "上海"
      }
    },
    "zipcode": "200040"
  },
  "time_zone": "Asia/Shanghai"
}

Database Integrity & Authenticity Verification

There are two methods of verifying the integrity and authenticity of our Database:


1. Using the Signature File (Recommended)

IPGeolocation.io signs every database release to ensure its authenticity and integrity. This allows customers to verify that a downloaded Advance IP to Location database file originates directly from IPGeolocation.io and has not been altered, corrupted, or tampered with during transfer or storage.

Each database update includes a corresponding signature file, generated using our private signing key. Customers can validate the database using the provided public verification key. To verify a database file, you need:

  1. Database file (the downloaded archive)
  2. Signature file (the matching signature for that archive)
  3. Public key (public-key.pem)

These files are available via official IPGeolocation.io download endpoints and are also shared in database update notifications.


2. Using the Checksum File (Legacy)

Each database archive includes a checksum.txt file containing the SHA-256 checksums for the files packaged in the archive. You can use this file to validate that the extracted contents are complete and unchanged.


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. These links never change, so you can use them both for your initial download and for all future updates. You will receive:

  1. Database Archive URL : downloads the latest release of your subscribed database (CSV, MMDB or requested formats).
  2. Signature File URL : downloads the matching signature file for the latest release (used for authenticity verification).
  3. Public Key URL : downloads the public verification key (used with the signature file).
  4. Status Endpoint URL : returns the database's most recent update timestamp.

Our databases are updated continuously and shipped on a daily or weekly cycle depending on your plan, 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 to Our Newsletter

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