IP Location Database (Standard)


Overview

Our Standard Tier IP to Geolocation Database provides you with accurate city-level geolocation data for both IPv4 and IPv6 addresses. It includes standard geolocation data such as country, state, district, city, ZIP code, geographic coordinates, time zone, GeoNames ID, and connection type. If your use case is more critical and you need more granular details on location, please check out our advanced ip to location database.

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: 335.20 MB
  • Entries: 30.1M
  • Fields: 12
  • Last Updated: Today
MMDB
MMDBMMDB
  • File Size: 1.27 GB
  • Entries: 30.1M
  • Fields: 12
  • Last Updated: Today

CSV Database Documentation


1. Overview

The CSV version of our Standard 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 Standard 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.10 MB
  • Entries: 347.6K
  • 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: 322.09 MB
  • Entries: 30.1M
  • Fields: 12
README.md
README.mdREADME.md

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

  • File Size: 9.30 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 Standard 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.

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
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

I. Example Records

Example
start_ip,end_ip,country_id,state_place_id,state_code,district_place_id,city_place_id,zip_code,latitude,longitude,geo_name_id,time_zone_name
95.10.107.11,95.10.107.11,166,1586,TR-20,43543,1586,20050,37.78302,29.09633,11238708,Europe/Istanbul
74.101.172.59,74.101.172.59,172,394,US-NY,394,394,10007,40.71455,-74.00714,6947104,America/New_York
106.77.133.13,106.77.133.13,76,332,IN-MP,3781,3781,462001,23.25993,77.41262,1275840,Asia/Kolkata
183.202.185.44,183.202.185.44,35,317,CN-SX,240077,52479,043300,35.5948,110.7116,11425525,Asia/Shanghai
2a01:4f8:13b:31eb::,2a01:4f8:13b:31eb:ffff:ffff:ffff:ffff,41,529,DE-SN,20153,28755,08223,50.48365,12.35224,2936035,Europe/Berlin
105.184.240.244,105.184.240.244,180,1339,ZA-KZN,10621,45708,4051,-29.78506,31.03973,10228830,Africa/Johannesburg
109.3.164.80,109.3.164.80,56,135056,FR-IDF,3630,3630,75015,48.84216,2.29277,9180108,Europe/Paris
152.110.138.7,152.110.138.7,180,772,ZA-WC,240078,29038,7701,-33.96579,18.48102,3365010,Africa/Johannesburg
206.126.236.192,206.126.236.192,172,354,US-DC,354,400,20004,38.89037,-77.03196,4140682,America/New_York
67.229.141.186,67.229.141.186,172,362,US-CA,3949,32811,90278,33.86591,-118.37541,5328797,America/Los_Angeles

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

I. 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
3630,Paris,Paris,Париж,,,パリだ,,Paris,巴黎,París,Paříž,Parigi
20153,Vogtlandkreis,Vogtlandkreis,Вогтландкрейс,,,ヴォクトランドクリース,,Vogtlandkreis,沃格兰克雷斯,Vogtlandkreis,Vogtlandkreis,Vogtlandkreis
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
9,Africa,Afrika,Африка,África,África,アフリカ,افریقا,Afrique,非洲,África,Afrika,Africa
45708,Durban,Durban,Дурбан,더반,Durban,ダーバン,دوربان,Durban,德班,Durban,Durban,Durban
3723,New Delhi,Neu-Delhi,Нью-Дели,Nova Deli,,ニューデリー,,New Delhi,新德里,Nueva Delhi,New Delhi,Nuova Delhi
529,Saxony,Sachsen,Саксония,작센 자유주,,ザクセン州,,Saxe,萨克森,Sachsen,Sasko,Sassonia
12,China,China,Китай,China,China,中国,چین,Chine,中国,China,Čína,Cina
240014,Republic of Turkey,,,,,,,,,,,
15,India,Indien,Индия,Índia,Índia,インド,هند,Inde,印度,India,Indie,India
240018,United States of America,,,,,,,,,,,
275,Beijing,Peking,Пекин,,,北京,,Municipalité de Pékin,北京,Peking,Peking,Pechino
240019,"Washington, D.C.",,,,,,,,,,,
52479,Yuncheng,Yuncheng,Юньчэн,윈청 시,,運城市,یانگچنگ,Yuncheng,运城,Yuncheng,Yuncheng,Yuncheng
1586,Denizli,Denizli,Денизли,Denizli,Denizli,デニズリ県,استان دنیزلی,Denizli,代尼兹利省,Provincia de Denizli,Denizli,- Denizli
240026,Republic of South Africa,,,,,,,,,,,
28,United States,USA,США,Estados Unidos,Estados Unidos,アメリカ合衆国,ایالات متحدهٔ امریکا,États-Unis,美国,Estados Unidos,Spojené státy americké,Stati Uniti d'America
239901,People’s Republic of China,,,,,,,,,,,
31,France,Frankreich,Франция,França,França,フランス共和国,فرانسه,France,法国,Francia,Francie,Francia
240078,City of Cape Town Metropolitan Municipality,,,,,,,,,,,
33,Germany,Deutschland,Германия,Alemanha,Alemanha,ドイツ連邦共和国,آلمان,Allemagne,德国,Alemania,Německo,Germania
394,New York,New York,Нью-Йорк,Nova Iorque,Nova Iorque,ニューヨーク州,ایالت نیویورک,New York,纽约州,Nueva York,New York (stát),New York
10621,eThekwini Metropolitan Municipality,Metropolregion Ethekwini,Метрополитен-муниципалитет Эеквини,,,エテークウィニ都市圏,,Municipalité métropolitaine d'ethekwini,埃特克威尼市,Metropolitní obec eThekwini,Metropolitní obec eThekwini,Municipalità Metropolitana di EtheKwini
400,Washington,Washington,Вашингтон,워싱턴 주,,ワシントン州,ایالت واشینگتن,Washington,华盛顿州,Washington,Washington,Washington
239906,Federal Republic of Germany,,,,,,,,,,,
41,Turkey,Türkei,Турция,Turquia,Turquia,トルコ共和国,ترکیه,Turquie,土耳其,Turquía,Turecko,Turchia
28755,Falkenstein,Falkenstein,Фалькенштайн,,,ファルケンシュタインだ,,Falkenstein,法尔肯斯坦,Falkenstein,Falkenstein,Falkenstein
3630,Paris,Paris,Париж,,,パリだ,,Paris,巴黎,París,Paříž,Parigi
240077,Hejin,,,,,,,,,,,
239920,Republic of France,,,,,,,,,,,
43543,Merkezefendi,Merkezefendi,Меркезефенди,,,メルケゼフェンディ,,Merkezefendi,默克塞芬迪,Merkezefendi,Merkezefendi,Merkezefendi
562,Berlin,Berlin,Берлин,베를린,Berlim,ベルリン,برلین,Berlin,柏林,Berlín,Berlín,Berlino
53,South Africa,Südafrika,ЮАР,África do Sul,África do Sul,南アフリカ,افریقای جنوبی,Afrique du Sud,南非,Sudáfrica,Jihoafrická republika,Africa del Sud
362,California,Kalifornien,Калифорния,Califórnia,Califórnia,カリフォルニアだ,کالیفرنیا,Californie,加州,California,Kalifornie,California
13883,Pretoria,Pretoria,Претория,Pretória,,プレトリア,,Pretoria,比勒陀利亚,Pretoria,Pretorii,Pretoria
239935,Republic of India,,,,,,,,,,,
29038,Cape Town,Kapstadt,Кейптаун,Cidade do Cabo,Cidade do Cabo,ケープタウン,کیپ‌تاون,Le Cap,開普敦,Ciudad del Cabo,Kapské Město,Città del Capo
3949,Los Angeles County,Los Angeles,Лос-Анджелес,로스앤젤레스 군,Condado de Los Angeles,ロサンゼルス郡,شهرستان لس‌آنجلس، کالیفرنیا,Comté de Los Angeles,洛杉矶县,Лос-АнджеФорест,Los Angeles County,Contea di Los Angeles
724,Ankara,Ankara,Анкара,Ancara,Ancara,アンカラ,,Ankara,安卡拉省,Provincia de Ankara,Ankara,Ankara
135056,Île-de-France,Île-de-France,Иль-де-Франс,,,イル = ド = フランス,,Île-de-France,法兰西岛,Isla de Francia,Île-de-France,Île-de-France
3781,Bhopal,Bhopal,Бхопал,Bhopal,,ボーパール,,Bhopal,博帕尔,Bhopal,Bhópál,Bhopal
1339,KwaZulu-Natal,KwaZulu-Natal,Квазулу-Наталь,,,クワズールーナタール州,,KwaZulu-Natal,夸祖鲁-纳塔尔,KwaZulu,KwaZulu,KwaZulu-natal
317,Shanxi,Shanxi,Шаньси,,,山西省,,Province de Shanxi,山西,Shanxi,Shanxi,Shanxi
772,Western Cape,Westkap,Западный Кейп,Cabo Ocidental,Cabo Ocidental,西ケープ州,,Cap Ouest,西开普省,Kapského mysu,Kapského mysu,Capo Occidentale
354,District of Columbia,"Washington, D.C.",Округ Колумбия,워싱턴 D.C.,,ワシントン・コロンビア特別区,,District de Columbia,哥伦比亚特区,Washington D.C.,Columbia,Distretto di Columbia
332,Madhya Pradesh,Madhya Pradesh,Мадхья-Прадеш,Madia Pradexe,Madia Pradexe,マディヤ・プラデーシュ州,مادیا پرادش,Madhya Pradesh,中央邦,Madhjapradéš,Madhjapradéš,Madhya Pradesh
32811,Redondo Beach,Redondo Beach,Редондо-Бич,리돈도비치,,レドンドビーチ,ردوندو بیچ، کالیفرنیا,Redondo Beach,雷东多海滩,Redondo Beach,Redondo Beach,Spiaggia di Redondo

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

I. 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
41,EU,7,DE,DEU,GER,33,239906,562,EUR,Euro,,+49,.de,de
76,AS,5,IN,IND,IND,15,239935,3723,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"
56,EU,7,FR,FRA,FRA,31,239920,3630,EUR,Euro,,+33,.fr,"fr-FR,frp,br,co,ca,eu,oc"
35,AS,5,CN,CHN,CHN,12,239901,275,CNY,Yuan Renminbi,¥,+86,.cn,"zh-CN,yue,wuu,dta,ug,za"
166,AS,5,TR,TUR,TUR,41,240014,724,TRY,Turkish Lira,,+90,.tr,"tr-TR,ku,diq,az,av"
180,AF,9,ZA,ZAF,RSA,53,240026,13883,ZAR,Rand,R,+27,.za,"zu,xh,af,nso,en-ZA,tn,st,ts,ss,ve,nr"
172,NA,6,US,USA,USA,28,240018,240019,USD,US Dollar,$,+1,.us,"en-US,es-US,haw,fr"

4. File Relationship Diagram

Image

File Format & Encoding

All Standard 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 Standard 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 Standard 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: 1.27 GB
  • Entries: 30.1M
README.md
README.mdREADME.md

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

  • File Size: 9.30 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 Standard 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 city-level geolocation data for IPv4 and IPv6 ranges. Each response includes multilingual details for country, state, district, and city, along with geographic coordinates, time zone, GeoNames ID, connection type, and supporting metadata such as codes, currency, 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.

Showing 1 of 31
Select a field to view details

2. Example Records

Example
{
  "location": {
    "city": {
      "name": {
        "cs": "Denizli",
        "de": "Denizli",
        "en": "Denizli",
        "es": "Provincia de Denizli",
        "fa": "استان دنیزلی",
        "fr": "Denizli",
        "it": "- Denizli",
        "ja": "デニズリ県",
        "ko": "Denizli",
        "pt": "Denizli",
        "ru": "Денизли",
        "zh": "代尼兹利省"
      }
    },
    "coordinates": {
      "latitude": "37.78302",
      "longitude": "29.09633"
    },
    "country": {
      "capital": {
        "cs": "Ankara",
        "de": "Ankara",
        "en": "Ankara",
        "es": "Provincia de Ankara",
        "fa": "",
        "fr": "Ankara",
        "it": "Ankara",
        "ja": "アンカラ",
        "ko": "Ancara",
        "pt": "Ancara",
        "ru": "Анкара",
        "zh": "安卡拉省"
      },
      "code2": "TR",
      "code3": "TUR",
      "code_ioc": "TUR",
      "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": "TRY",
        "name": {
          "en": "Turkish Lira"
        },
        "symbol": "₺"
      },
      "metadata": {
        "calling_code": "+90",
        "languages": "tr-TR,ku,diq,az,av",
        "tld": ".tr"
      },
      "name": {
        "cs": "Turecko",
        "de": "Türkei",
        "en": "Turkey",
        "es": "Turquía",
        "fa": "ترکیه",
        "fr": "Turquie",
        "it": "Turchia",
        "ja": "トルコ共和国",
        "ko": "Turquia",
        "pt": "Turquia",
        "ru": "Турция",
        "zh": "土耳其"
      },
      "name_official": {
        "cs": "",
        "de": "",
        "en": "Republic of Turkey",
        "es": "",
        "fa": "",
        "fr": "",
        "it": "",
        "ja": "",
        "ko": "",
        "pt": "",
        "ru": "",
        "zh": ""
      }
    },
    "district": {
      "name": {
        "cs": "Merkezefendi",
        "de": "Merkezefendi",
        "en": "Merkezefendi",
        "es": "Merkezefendi",
        "fa": "",
        "fr": "Merkezefendi",
        "it": "Merkezefendi",
        "ja": "メルケゼフェンディ",
        "ko": "",
        "pt": "",
        "ru": "Меркезефенди",
        "zh": "默克塞芬迪"
      }
    },
    "geoname_id": "11238708",
    "state": {
      "code": "TR-20",
      "name": {
        "cs": "Denizli",
        "de": "Denizli",
        "en": "Denizli",
        "es": "Provincia de Denizli",
        "fa": "استان دنیزلی",
        "fr": "Denizli",
        "it": "- Denizli",
        "ja": "デニズリ県",
        "ko": "Denizli",
        "pt": "Denizli",
        "ru": "Денизли",
        "zh": "代尼兹利省"
      }
    },
    "zipcode": "20050"
  },
  "time_zone": "Europe/Istanbul"
}

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 Standard 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 Standard 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 Standard 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 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 to Our Newsletter

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