Use IP geolocation to tailor content, language, currency, pricing, maps, promotions, and local-time experiences based on a visitor's geographic location.
IP geolocation helps applications estimate where an Internet-connected visitor is located. That location context can be used to present region-specific content, select an appropriate language and currency, personalize promotions, show local maps, and display time-sensitive information in the visitor's local time.
See how product and growth teams use IP location data to create more relevant experiences for global visitors.
Display country, region, or city-specific content so visitors see information that is relevant to their location.
Use the detected country and language information to suggest an appropriate language for your website or application.
Show local currency codes, symbols, and region-aware pricing to make international shopping experiences easier to understand.
Use time-zone information to display local times, schedule notifications, and present time-sensitive content appropriately.
Use latitude and longitude to center maps, suggest nearby locations, and provide a better starting point for local search.
Present promotions, campaigns, and product messaging that are appropriate for the visitor's country or local market.
Detect country and region context for localized content and regional experiences.
Use language code and name data as a signal when choosing localized content.
Access currency code, name, and symbol for region-aware pricing displays.
Center map views and provide time-aware experiences using coordinates and time-zone data.
Explore how core IP geolocation fields can power localized digital experiences.
Marketers use IP geolocation data to target users by their geographic location. This “location targeting” method is widely used in digital advertising and service delivery to optimize campaigns for local relevance. This allows businesses to deliver targeted ads, customize content, and enhance user experience based on location. This leads to increased engagement and customer satisfaction.
{
"ip": "8.8.8.8",
"country_code": "US",
"country_name": "United States of America",
"region_name": "California",
"district": "Santa Clara County",
"city_name": "Mountain View",
"latitude": 37.38605,
"longitude": -122.08385,
"zip_code": "94043",
...
}
An IP address can be used to detect a user's language and currency preferences. By linking IPs to specific countries and utilizing language databases or APIs, applications can modify content to match the user's language. Similarly, linking identified countries with their respective currency codes allows prices to be displayed in the user's preferred currency. This enhances the user experience and makes transactions smoother for global businesses.
{
...
"country":{
"currency": {
"code": "USD",
"name": "United States Dollar",
"symbol": "$"
},
"language": {
"code": "EN",
"name": "English"
},
...
}
}
Geolocation Data from an IP address can be used to display its geographical location on a map. This is achieved by using the latitude and longitude coordinates associated with the IP address. By determining time zones from IP data, we can show the accurate local time for users in different regions. This feature is beneficial for applications that provide time-sensitive information to users.
{
...
"latitude": 37.38605,
"longitude": -122.08385,
"time_zone": "-07:00",
"time_zone_info": {
"olson": "America/Los_Angeles",
"current_time": "2026-08-16T21:59:30-07:00",
"gmt_offset": -25200,
"is_dst": true,
"abbreviation": "PST",
"dst_start_date": "2026-03-08",
"dst_end_date": "2026-11-01",
"sunrise": "06:26",
"sunset": "20:01"
},
...
}
Use geographic, language, currency, coordinate, and time-zone fields to build localized application rules.
| IP Information | Localization Use |
|---|---|
| ip | IP address. |
| country_code | Two-character country code based on ISO 3166. |
| country_name | Country name based on ISO 3166. |
| region_name | Region or state name. |
| district | District or county name. |
| city_name | City name. |
| zip_code | ZIP/Postal code. |
| latitude | City latitude. Defaults to capital city latitude if city is unknown. |
| longitude | City longitude. Defaults to capital city longitude if city is unknown. |
| country.language.code | Language code of the country. |
| country.language.name | Language name of the country. |
| country.currency.code | Currency code of the country. |
| country.currency.name | Currency name of the country. |
| country.currency.symbol | Currency symbol of the country. |
| time_zone | UTC time zone (with DST supported). |
| time_zone_info.olson | Time zone in Olson format. |
| time_zone_info.current_time | Current time in ISO 8601 format. |
| time_zone_info.abbreviation | The time zone abbreviation of the Olson time zone, for example EST and EEST. |
| time_zone_info.dst_start_date | The date (UTC) of Daylight Saving Time (DST) begins. |
| time_zone_info.dst_end_date | The date (UTC) of Daylight Saving Time (DST) ends. |
| time_zone_info.sunrise | Time of sunrise. (hh:mm format in local time, i.e, 07:47) |
| time_zone_info.sunset | Time of sunset. (hh:mm format in local time, i.e 19:50) |
IP geolocation is not GPS. It estimates the location associated with an IP network and should not be interpreted as a person's exact physical location. Localization rules should therefore use IP location as contextual guidance and provide users with a way to change language, currency, or location when needed.
{
"ip": "8.8.8.8",
"country_code": "US",
"country_name": "United States of America",
"region_name": "California",
"district": "Santa Clara County",
"city_name": "Mountain View",
"latitude": 37.38605,
"longitude": -122.08385,
"zip_code": "94043",
"time_zone": "-07:00",
"asn": "15169",
"as": "Google LLC",
"as_info": {
"as_number": "15169",
"as_name": "Google LLC",
"as_domain": "google.com",
"as_usage_type": "DCH",
"as_cidr": "8.8.8.0/24"
},
"isp": "Google LLC",
"domain": "google.com",
"net_speed": "T1",
"idd_code": "1",
"area_code": "650",
"weather_station_code": "USCA0746",
"weather_station_name": "Mountain View",
"mcc": "-",
"mnc": "-",
"mobile_brand": "-",
"elevation": 32,
"usage_type": "DCH",
"address_type": "Anycast",
"ads_category": "622",
"ads_category_name": "Web Hosting",
"continent": {
"name": "North America",
"code": "NA",
"hemisphere": [
"north",
"west"
],
"translation": {
"lang": "en",
"value": "North America"
}
},
"country": {
"name": "United States of America",
"alpha3_code": "USA",
"numeric_code": 840,
"demonym": "Americans",
"flag": "https://cdn.ip2location.io/assets/img/flags/us.png",
"capital": "Washington, D.C.",
"total_area": 9826675,
"population": 339665118,
"currency": {
"code": "USD",
"name": "United States Dollar",
"symbol": "$"
},
"language": {
"code": "EN",
"name": "English"
},
"tld": "us",
"translation": {
"lang": "en",
"value": "United States of America"
}
},
"region": {
"name": "California",
"code": "US-CA",
"translation": {
"lang": "en",
"value": "California"
}
},
"city": {
"name": "Mountain View",
"translation": {
"lang": "en",
"value": "Mountain View"
}
},
"time_zone_info": {
"olson": "America/Los_Angeles",
"current_time": "2026-08-16T21:59:30-07:00",
"gmt_offset": -25200,
"is_dst": true,
"abbreviation": "PST",
"dst_start_date": "2026-03-08",
"dst_end_date": "2026-11-01",
"sunrise": "06:26",
"sunset": "20:01"
},
"geotargeting": {
"metro": "807"
},
"is_proxy": false,
"fraud_score": 0,
"proxy": {
"last_seen": 1,
"proxy_type": "DCH",
"threat": "-",
"provider": "-",
"is_vpn": false,
"is_tor": false,
"is_data_center": true,
"is_public_proxy": false,
"is_web_proxy": false,
"is_web_crawler": false,
"is_ai_crawler": false,
"is_residential_proxy": false,
"is_consumer_privacy_network": false,
"is_enterprise_private_network": false,
"is_spammer": false,
"is_scanner": false,
"is_botnet": false,
"is_bogon": false
}
}
Dive deeper into location, language, currency, coordinates, and time-zone data used to build localized experiences.
Learn how IP geolocation can support website localization, regional content, language suggestions, currency displays, time zones and other location-aware experiences.
Use location data to create more relevant content, language, currency, maps, and local-time experiences for users around the world.