IP Country Database Documentation
Overview
Ever wonder what country a specific IP address comes from? Our IP to Country Database, which is part of our Geo Standard, helps you figure that out for any IPv4 or IPv6 address. We've packed it with all the details you'd want, not just the country name, but ISO codes, the continent, capital, dialing codes, currencies, languages, and TLDs. It even supports multiple languages, so you can get localized results right away, no extra steps needed.
We update the IP to Country Database daily. Depending on your plan, you receive a new download daily or weekly. We also make sure that the files are super light and easy to use. You can literally just drop them into your systems without a fuss.
You'll find everything you need to know in our documentation. We walk you through what's in the archives, the file structure, how to verify your downloads before you import them, just to be safe, and we’ve also included a few examples.
Available Database Formats
CSV Database Documentation
1. Overview
The CSV version is delivered as a ZIP archive that includes Gzip-compressed files with IP ranges, country details, and multilingual country, capital, and continent names. It’s well-suited for bulk imports and easy integration into relational databases.
2. Archive Content
After downloading and extracting the IP to Country CSV database archive, you'll find the following files (with their types noted):
Standardized country and continent metadata with codes, currency, calling codes, TLDs, and languages.
- File Size: 9.68 KB
- Entries: 254
- Fields: 15
Multilingual place names for cities, districts, states, countries, and continents.
- File Size: 45.90 KB
- Entries: 690
- Fields: 13
IP ranges mapping to country IDs for linking each address block with standardized country details and metadata.
- File Size: 232.03 MB
- Entries: 41.0M
- Fields: 3
Documentation for dataset contents, schema, usage, and support.
- File Size: 8.00 KB
SHA-256 checksums for verifying file integrity.
- File Size: 329 Bytes
Schema
This section describes the schema of each file included in the IP to Country Database archive. For every file, you'll find its purpose, field definitions, and examples to help with integration.
1. db-ip-country.csv.gz
This file maps each IPv4 and IPv6 range to a country ID. Join country_id to the id column in db-country.csv.gz to retrieve country details.
| Field | Type | Description | Can Be Empty? | Example |
|---|---|---|---|---|
| start_ip | string | The starting IP address of the range in IPv4 or IPv6 format. | No | 192.168.0.1 |
| end_ip | string | The ending IP address of the range in IPv4 or IPv6 format. | No | 192.168.0.255 |
| country_id | number | The unique identifier for the country associated with the IP range. | No | 192 |
I. Example Records
start_ip,end_ip,country_id
103.6.186.88,103.6.186.88,76
191.215.86.233,191.215.86.233,172
208.89.223.10,208.89.223.39,172
2601:145:c200:3f5c:571f:945:644f:ca5d,2601:145:c200:3f5c:571f:945:644f:ca5d,172
2.194.224.2,2.194.224.2,80
201.132.155.130,201.132.155.130,117
79.208.240.75,79.208.240.75,41
180.169.104.144,180.169.105.27,35
119.93.34.118,119.93.34.118,133
61.227.45.1,61.227.45.1,2022. db-place.csv.gz
This file contains multilingual names for countries, official country names, capitals, and continents. It serves as the reference dictionary for the IP to Country Database, allowing you to resolve place IDs into multilingual responses across different regions and languages.
| Field | Type | Description | Can Be Empty? | Example |
|---|---|---|---|---|
| id | number | The unique identifier for the place. | No | 5375480 |
| place_english | string | The name of the place in English. | No | Mountain View |
| place_german | string | The name of the place in German. | Yes | Mountain View |
| place_russian | string | The name of the place in Russian. | Yes | Маунтин-Вью |
| place_korean | string | The name of the place in Korean. | Yes | 마운틴 뷰 |
| place_portuguese | string | The name of the place in Portuguese. | Yes | Mountain View |
| place_japanese | string | The name of the place in Japanese. | Yes | マウンテンビュー |
| place_persian | string | The name of the place in Farsi. | Yes | ماونتین ویو |
| place_french | string | The name of the place in French. | Yes | Mountain View |
| place_chinese | string | The name of the place in Chinese. | Yes | 山景城 |
| place_spanish | string | The name of the place in Spanish. | Yes | Mountain View |
| place_czech | string | The name of the place in Czech. | Yes | Mountain View |
| place_italian | string | The name of the place in Italian. | Yes | Mountain View |
I. Example Records
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
6,Asia,Asien,Азия,아시아,Ásia,アジア,آسیا,Asie,亚洲,Asia,Asie,Asia
7,North America,Nordamerika,Северная Америка,북아메리카,América do Norte,北アメリカ,آمریکای شمالی,Amérique du Nord,北美洲,América del Norte,Severní Amerika,America del Nord
8,Europe,Europa,Европа,유럽,Europa,ヨーロッパ,اروپا,Europe,欧洲,Europa,Evropa,Europa
265,Shanghai,Schanghai,Шанхай,상하이,Xangai,上海,شانگهای,Shanghai,上海,Shanghái,Šanghaj,Shanghai
266,Beijing,Peking,Пекин,베이징,Pequim,北京,پکن,Pékin,北京,Pekín,Peking,Pechino
3722,New Delhi,Neu-Delhi,Нью-Дели,뉴델리,Nova Deli,ニューデリー,دهلی نو,New Delhi,新德里,Nueva Delhi,Nové Dillí,Nuova Delhi
224395,Brera,Brera,Брера,브레라,Brera,ブレラ,بررا,Brera,布雷拉,Brera,Brera,Brera
13,China,China,Китай,중국,China,中国,چین,Chine,中国,China,Čína,Cina
16,India,Indien,Индия,인도,Índia,インド,هند,Inde,印度,India,Indie,India
401,Washington,Washington,Вашингтон,워싱턴,Washington,ワシントン,واشنگتن,Washington,华盛顿,Washington,Washington,Washington
4501,King County,King County,Округ Кинг,킹 카운티,Condado de King,キング郡,شهرستان کینگ,Comté de King,金县,Condado de King,King County,King County
1175,National Capital Region,National Capital Region,Национальный столичный регион,국가 수도권,Região da Capital Nacional,首都圏,منطقه پایتخت ملی,Région de la capitale nationale,国家首都区,Región de la Capital Nacional,Národní hlavní město,Regione della capitale nazionale
24,Germany,Deutschland,Германия,독일,Alemanha,ドイツ,آلمان,Allemagne,德国,Alemania,Německo,Germania
26,Italy,Italien,Италия,이탈리아,Itália,イタリア,ایتالیا,Italie,意大利,Italia,Itálie,Italia
240027,United States of America,Vereinigte Staaten von Amerika,Соединённые Штаты Америки,미국,Estados Unidos da América,アメリカ合衆国,ایالات متحده آمریکا,États-Unis d'Amérique,美利坚合众国,Estados Unidos de América,Spojené státy americké,Stati Uniti d'America
240028,"Washington, D.C.","Washington, D.C.",Вашингтон,워싱턴 D.C.,"Washington, D.C.",ワシントンD.C.,واشنگتن دی.سی.,"Washington, D.C.",华盛顿哥伦比亚特区,"Washington, D.C.","Washington, D.C.","Washington, D.C."
1314,Sinaloa,Sinaloa,Синалоа,시날로아,Sinaloa,シナロア,سینالوآ,Sinaloa,锡那罗亚,Sinaloa,Sinaloa,Sinaloa
292,Maharashtra,Maharashtra,Махараштра,마하라슈트라,Maharashtra,マハラシュトラ,ماهاراشترا,Maharashtra,马哈拉施特拉邦,Maharashtra,Maharashtra,Maharashtra
24100,Seattle,Seattle,Сиэтл,시애틀,Seattle,シアトル,سیتل,Seattle,西雅图,Seattle,Seattle,Seattle
38,Taiwan,Taiwan,Тайвань,대만,Taiwan,台湾,تایوان,Taïwan,台湾,Taiwán,Tchaj-wan,Taiwan
39,United States,Vereinigte Staaten,Соединенные Штаты,미국,Estados Unidos,アメリカ合衆国,ایالات متحده آمریکا,États-Unis,美国,Estados Unidos,Spojené státy americké,Stati Uniti
40,Philippines,Philippinen,Филиппины,필리핀,Filipinas,フィリピン,فیلیپین,Philippines,菲律宾,Filipinas,Filipíny,Filippine
553,Berlin,Berlin,Берлин,베를린,Berlim,ベルリン,برلین,Berlin,柏林,Berlín,Berlín,Berlino
239910,People’s Republic of China,Volksrepublik China,Китайская Народная Республика,중화인민공화국,República Popular da China,中華人民共和国,جمهوری خلق چین,République populaire de Chine,中华人民共和国,República Popular China,Čínská lidová republika,Repubblica Popolare Cinese
239915,Federal Republic of Germany,Bundesrepublik Deutschland,Федеративная Республика Германия,독일 연방 공화국,República Federal da Alemanha,ドイツ連邦共和国,جمهوری فدرال آلمان,République fédérale d’Allemagne,德意志联邦共和国,República Federal de Alemania,Německá federální republika,Repubblica federale di Germania
300,Kaohsiung,Kaohsiung,Гаосюн,가오슝,Kaohsiung,高雄,کاوهسیونگ,Kaohsiung,高雄,Kaohsiung,Kaohsiung,Kaohsiung
239993,Republic of the Philippines,Republik der Philippinen,Филиппины,필리핀 공화국,República das Filipinas,フィリピン共和国,جمهوری فیلیپین,République des Philippines,菲律宾共和国,República de Filipinas,Filipínská republika,Repubblica delle Filippine
333743,Takao,Takao,Такао,타카오,Takao,高尾,تاکائو,Takao,高尾,Takao,Takao,Takao
146612,Culiacán,Culiacán,Кульякан,쿨리아칸,Culiacán,クリャカン,کولیاکان,Culiacán,库利亚坎,Culiacán,Culiacán,Culiacán
240308,Shanghai Shi,Shanghai,Шанхай,상하이,Xangai,上海市,شانگهای,Shanghai,上海市,Shanghái,Šanghaj,Shanghai
240053,Republic of China,Republik China,Китайская Республика,중화민국,República da China,中華民国,جمهوری چین,République de Chine,中华民国,República de China,Čínská republika,Repubblica di Cina
22843,Quezon City,Quezon City,Кесон-Сити,케손 시,Quezon City,ケソン市,کویزن سیتی,Quezon City,奎松市,Ciudad de Quezon,Quezon City,Quezon City
41277,Darmstadt,Darmstadt,Дармштадт,다름슈타트,Darmstadt,ダルムシュタット,دارمشتات,Darmstadt,达姆施塔特,Darmstadt,Darmstadt,Darmstadt
3773,Thane,Thane,Тхане,타네,Thane,タネ,تانه,Thane,塔内,Thane,Thane,Thane
242115,Città metropolitana di Milano,Metropolstadt Mailand,Миланская агломерация,밀라노 광역 도시권,Cidade metropolitana de Milão,ミラノ都市圏,منطقه شهری میلان,Città metropolitana di Milano,米兰都会区,Ciudad metropolitana de Milán,Metropolitní město Milán,Città metropolitana di Milano
67,Mexico,Mexiko,Мексика,멕시코,México,メキシコ,مکزیک,Mexique,墨西哥,México,Mexiko,Messico
4548,Anne Arundel County,Anne Arundel County,Округ Энн-Арундел,앤 아룬델 카운티,Condado de Anne Arundel,アン・アーンドル郡,شهرستان آن آروندل,Comté d'Anne Arundel,安妮·阿伦德尔县,Condado de Anne Arundel,Okres Anne Arundel,Contea di Anne Arundel
4806,Sacramento County,Sacramento County,Округ Сакраменто,새크라멘토 카운티,Condado de Sacramento,サクラメント郡,شهرستان ساکرامنتو,Comté de Sacramento,萨克拉门托县,Condado de Sacramento,Sacramento County,Contea di Sacramento
239944,Republic of India,Republik Indien,Республика Индия,인도 공화국,República da Índia,インド共和国,جمهوری هند,République de l'Inde,印度共和国,República de la India,Indická republika,Repubblica dell'India
239948,Republic of Italy,Republik Italien,Итальянская Республика,이탈리아 공화국,República Italiana,イタリア共和国,جمهوری ایتالیا,République italienne,意大利共和国,República Italiana,Italská republika,Repubblica Italiana
13901,Kreisfreie Stadt Darmstadt,Kreisfreie Stadt Darmstadt,город Дармштадт,다름슈타트,cidade de Darmstadt,ダルムシュタット,شهر دارمشتات,Ville de Darmstadt,达姆施塔特市,ciudad de Darmstadt,město Darmstadt,città di Darmstadt
239056,Hessen,Hessen,Гессен,헤센,Hesse,ヘッセン,هسن,Hesse,黑森州,Hesse,Hesensko,Assia
597,Maryland,Maryland,Мэриленд,메릴랜드,Maryland,メリーランド,مریلند,Maryland,马里兰,Maryland,Maryland,Maryland
604,Mexico City,Mexiko-Stadt,Мехико,멕시코시티,Cidade do México,メキシコシティ,مکزیکو سیتی,Mexico,墨西哥城,Ciudad de México,Mexico City,Città del Messico
4451,Sacramento,Sacramento,Сакраменто,새크라멘토,Sacramento,サクラメント,ساکرامنتو,Sacramento,萨克拉门托,Sacramento,Sacramento,Sacramento
1123,Taipei,Taipeh,Тайбэй,타이베이,Taipei,台北,تایپه,Taipei,台北,Taipei,Tchaj-pej,Taipei
9064,Eastern Manila District,Eastern Manila District,Восточный район Манилы,마닐라 동부 구역,Distrito Leste de Manila,マニラ東部地区,منطقه شرقی مانیل,District Est de Manille,马尼拉东区,Distrito Este de Manila,Východní manilská čtvrť,Distretto orientale di Manila
360,Lombardy,Lombardei,Ломбардия,롬바르디아,Lombardia,ロンバルディア,لومباردی,Lombardie,伦巴第,Lombardía,Lombardie,Lombardia
239979,United Mexican States (Mexico),Vereinigte Mexikanische Staaten (Mexiko),Соединённые Мексиканские Штаты (Мексика),멕시코 합중국,Estados Unidos Mexicanos (México),メキシコ合衆国,ایالات متحده مکزیک,États-Unis du Mexique (Mexique),墨西哥合众国,Estados Unidos Mexicanos (México),Spojené mexické státy (Mexiko),Stati Uniti del Messico (Messico)
363,California,Kalifornien,Калифорния,캘리포니아,Califórnia,カリフォルニア,کالیفرنیا,Californie,加利福尼亚,California,Kalifornie,California
3054,Manila,Manila,Манила,마닐라,Manila,マニラ,مانیل,Manille,马尼拉,Manila,Manila,Manila
8815,Culiacan,Culiacán,Кульякан,쿨리아칸,Culiacán,クリャカン,کولیاکان,Culiacán,库利亚坎,Culiacán,Culiacán,Culiacán
3951,Rome,Rom,Рим,로마,Roma,ローマ,رم,Rome,罗马,Roma,Řím,Roma
102257,Kalyan,Kalyan,Кальян,칼리얀,Kalyan,カリアン,کالیان,Kalyan,卡利扬,Kalyan,Kalyan,Kalyan
37497,Crownsville,Crownsville,Кроунсвилл,크라운스빌,Crownsville,クラウンズビル,کراونزویل,Crownsville,克朗斯维尔,Crownsville,Crownsville,Crownsville3. db-country.csv.gz
This file contains standardized country metadata for the IP to Country 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.
| Field | Type | Description | Can Be Empty? | Example |
|---|---|---|---|---|
| id | string | The unique identifier for the country. | No | 192 |
| continent_code | string | The continent code associated with the country. | No | NA |
| continent_name_place_id | number | The unique identifier for the continent place. | No | 6255148 |
| country_code2 | string | The ISO 3166-1 alpha-2 code of the country. | No | US |
| country_code3 | string | The ISO 3166-1 alpha-3 code of the country. | No | USA |
| country_code_ioc | string | The IOC country code. | No | USA |
| country_name_place_id | number | The unique identifier for the country place. | No | 6252001 |
| country_name_official_place_id | number | The unique identifier for the official country place. | No | 6252001 |
| country_capital_place_id | number | The unique identifier for the capital place. | No | 5375480 |
| currency_code | string | The ISO 4217 currency code of the country. | No | USD |
| currency_name | string | The name of the currency used in the country. | No | US Dollar |
| currency_symbol | string | The symbol of the currency used in the country. | No | $ |
| calling_code | string | The international calling code of the country. | No | +1 |
| tld | string | The top-level domain (TLD) of the country. | No | .us |
| languages | string | Languages spoken in the country, represented as a comma-separated list of BCP 47 / IETF language tags | No | en-US,es-US,haw,fr |
I. Example Records
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
80,EU,8,IT,ITA,ITA,26,239948,3951,EUR,Euro,€,+39,.it,"it-IT,de-IT,fr-IT,sc,ca,co,sl"
172,NA,7,US,USA,USA,39,240027,240028,USD,US Dollar,$,+1,.us,"en-US,es-US,haw,fr"
41,EU,8,DE,DEU,GER,24,239915,553,EUR,Euro,€,+49,.de,de
202,AS,6,TW,TWN,TPE,38,240053,1123,TWD,New Taiwan Dollar,NT$,+886,.tw,"zh-TW,zh,nan,hak"
133,AS,6,PH,PHL,PHI,40,239993,3054,PHP,Philippine Piso,₱,+63,.ph,"tl,en-PH,fil"
35,AS,6,CN,CHN,CHN,13,239910,266,CNY,Yuan Renminbi,¥,+86,.cn,"zh-CN,yue,wuu,dta,ug,za"
117,NA,7,MX,MEX,MEX,67,239979,604,MXN,Mexican Peso,Mex$,+52,.mx,es-MX
76,AS,6,IN,IND,IND,16,239944,3722,INR,Indian Rupee,₹,+91,.in,"en-IN,hi,bn,te,mr,ta,ur,gu,kn,ml,or,pa,as,bh,sat,ks,ne,sd,kok,doi,mni,sit,sa,fr,lus,inc"4. File Relationship Diagram
The diagram below illustrates the relationships between the various files included in the CSV database package. It shows how db-ip-country.csv.gz joins to db-country.csv.gz, which joins to db-place.csv.gz for multilingual country, capital and continent names.
File Format & Encoding
All IP to Country 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.
- Lists of values.
- Spaces that may be auto-quoted by export tools.
MMDB Database Documentation
1. Overview
The MMDB version of our IP to Country 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 IP to Country MMDB database archive, you'll find the following files (with their types noted):
Country-level geolocation database with IP ranges, multilingual country names, codes, capital, currency, languages, and related metadata.
- File Size: 29.72 MB
- Entries: 41.0M
Documentation for dataset contents, schema, usage, and support.
- File Size: 8.48 KB
SHA-256 checksums for verifying file integrity.
- File Size: 161 Bytes
Response Schema
This section describes the structure of the data returned from the IP to Country 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-country.mmdb
This file contains standardized country and continent details. It includes multilingual country and capital names, ISO codes (ISO-2/ISO-3/IOC), currency details, international calling codes, top-level domains (TLDs), and language tags.
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.
| Field | Type | Description | Example |
|---|---|---|---|
location | object | ||
location.country | object | The name of the country in multiple languages. | |
location.country.continent | object | The name of the continent in multiple languages. | |
location.country.continent.name | object | The name of the continent in multiple languages (English, German, Russian, Korean, Portuguese, Japanese, Persian, French, Chinese, Spanish, Czech, Italian). | {"en":"North America","de":"Nordamerika","ru":"Северная Америка","ko":"북아메리카","pt":"América do Norte","ja":"北アメリカ","fa":"شمال آمریکا","fr":"Amérique du Nord","zh":"北美洲","es":"América del Norte","cs":"Severní Amerika","it":"America del Nord"} |
location.country.continent.code | string | The two-letter code representing the continent. | NA |
location.country.name | object | The name of the country in multiple languages (English, German, Russian, Korean, Portuguese, Japanese, Persian, French, Chinese, Spanish, Czech, Italian). | {"en":"United States","de":"Vereinigte Staaten","ru":"Соединенные Штаты","ko":"미국","pt":"Estados Unidos","ja":"アメリカ合衆国","fa":"ایالات متحده آمریکا","fr":"États-Unis","zh":"美国","es":"Estados Unidos","cs":"Spojené státy","it":"Stati Uniti"} |
location.country.name_official | object | The official name of the country in multiple languages (English, German, Russian, Korean, Portuguese, Japanese, Persian, French, Chinese, Spanish, Czech, Italian). | {"en":"United States of America","de":"Vereinigte Staaten von Amerika","ru":"Соединенные Штаты Америки","ko":"미국","pt":"Estados Unidos da América","ja":"アメリカ合衆国","fa":"ایالات متحده آمریکا","fr":"États-Unis d'Amérique","zh":"美利坚合众国","es":"Estados Unidos de América","cs":"Spojené státy americké","it":"Stati Uniti d'America"} |
location.country.code2 | string | The two-letter code representing the country. | US |
location.country.code3 | string | The three-letter code representing the country. | USA |
location.country.code_ioc | string | The International Olympic Committee (IOC) code representing the country. | USA |
location.country.capital | object | The capital city of the country in multiple languages (English, German, Russian, Korean, Portuguese, Japanese, Persian, French, Chinese, Spanish, Czech, Italian). | {"en":"Washington, D.C.","de":"Washington, D.C.","ru":"Вашингтон, округ Колумбия","ko":"워싱턴 D.C.","pt":"Washington, D.C.","ja":"ワシントンD.C.","fa":"واشنگتن دی سی","fr":"Washington, D.C.","zh":"华盛顿特区","es":"Washington D.C.","cs":"Washington, D.C.","it":"Washington D.C."} |
location.country.currency | object | The currency used in the country. | |
location.country.currency.code | string | The three-letter code representing the currency, following ISO 4217 standards. | USD |
location.country.currency.symbol | string | The symbol representing the currency. | $ |
location.country.currency.name | object | The name of the currency. | {"en":"US Dollar"} |
location.country.metadata | object | Additional metadata about the country. | |
location.country.metadata.calling_code | string | The international calling code for the country. | +1 |
location.country.metadata.tld | string | The top-level domain (TLD) for the country. | .us |
location.country.metadata.languages | string | The languages spoken in the country. | en-US,es-US,haw,fr |
I. Example Records
{
"location": {
"country": {
"capital": {
"cs": "Nové Dillí",
"de": "Neu-Delhi",
"en": "New Delhi",
"es": "Nueva Delhi",
"fa": "دهلی نو",
"fr": "New Delhi",
"it": "Nuova Delhi",
"ja": "ニューデリー",
"ko": "뉴델리",
"pt": "Nova Deli",
"ru": "Нью-Дели",
"zh": "新德里"
},
"code2": "IN",
"code3": "IND",
"code_ioc": "IND",
"continent": {
"code": "AS",
"name": {
"cs": "Asie",
"de": "Asien",
"en": "Asia",
"es": "Asia",
"fa": "آسیا",
"fr": "Asie",
"it": "Asia",
"ja": "アジア",
"ko": "아시아",
"pt": "Ásia",
"ru": "Азия",
"zh": "亚洲"
}
},
"currency": {
"code": "INR",
"name": {
"en": "Indian Rupee"
},
"symbol": "₹"
},
"metadata": {
"calling_code": "+91",
"languages": "en-IN,hi,bn,te,mr,ta,ur,gu,kn,ml,or,pa,as,bh,sat,ks,ne,sd,kok,doi,mni,sit,sa,fr,lus,inc",
"tld": ".in"
},
"name": {
"cs": "Indie",
"de": "Indien",
"en": "India",
"es": "India",
"fa": "هند",
"fr": "Inde",
"it": "India",
"ja": "インド",
"ko": "인도",
"pt": "Índia",
"ru": "Индия",
"zh": "印度"
},
"name_official": {
"cs": "Indická republika",
"de": "Republik Indien",
"en": "Republic of India",
"es": "República de la India",
"fa": "جمهوری هند",
"fr": "République de l'Inde",
"it": "Repubblica dell'India",
"ja": "インド共和国",
"ko": "인도 공화국",
"pt": "República da Índia",
"ru": "Республика Индия",
"zh": "印度共和国"
}
}
}
}Database Integrity & Authenticity Verification
There are two ways to verify the integrity and authenticity of our databases:
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 IP to Country 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:
- Database file (the downloaded archive)
- Signature file (the matching signature for that archive)
- 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 IP to Country 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 IP to Country 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:
- Database Archive URL: downloads the latest release of your subscribed database (CSV, MMDB or requested formats).
- Signature File URL: downloads the matching signature file for the latest release (used for authenticity verification).
- Public Key URL: downloads the public verification key (used with the signature file).
- 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. 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.