IP Geolocation

Accurately geolocate any IP address to country, region, city, and coordinates. Continuously updated data with global coverage.

Accurate and reliable IP geolocation data

IP Trust geolocation data includes city, state, and country accuracy, along with comprehensive country metadata including currency, flag, and native name.

Download Sample
JSON Field Description Plans
{
"location": {
"city": "Barcelona", City-level location of the IP address. Essential Plus Premium
"state": "Barcelona", State, province, or top-level administrative region. Essential Plus Premium
"country": "Spain", Full country name derived from the IP's geolocation data. Essential Plus Premium
"latitude": 41.389, Approximate latitude coordinate (WGS84). Essential Plus Premium
"longitude": 2.159, Approximate longitude coordinate (WGS84). Essential Plus Premium
"meta": {
"country_iso2": "ES", ISO 3166-1 alpha-2 code. Essential Plus Premium
"country_iso3": "ESP", ISO 3166-1 alpha-3 country code. Essential Plus Premium
"country_numeric_code": "724", ISO 3166-1 numeric country code. Essential Plus Premium
"country_phone_code": "34", International dialling code for the country. Essential Plus Premium
"country_capital": "Madrid", Capital city of the country. Essential Plus Premium
"country_currency": "EUR", ISO 4217 currency code used in the country. Essential Plus Premium
"country_currency_name": "Euro", Full name of the country's currency. Essential Plus Premium
"country_native": "España", Country name in the local/native language. Essential Plus Premium
"country_region": "Europe", UN geographic macro-region (e.g. Europe, Asia, Americas). Essential Plus Premium
"country_subregion": "Southern Europe", UN geographic sub-region. Essential Plus Premium
"country_emoji": "🇪🇸", Country flag as a Unicode emoji character. Essential Plus Premium
"country_emoji_u": "U+1F1EA U+1F1F8" Country flag emoji as Unicode code points. Essential Plus Premium
}
}
}
Field Value Description Database Package
cityBarcelonaCity-level location of the IP address.Geolocation
stateBarcelonaState, province, or top-level administrative region.Geolocation
country_nameSpainFull country name derived from the IP's geolocation data.Geolocation
latitude41.389Approximate latitude coordinate (WGS84).Geolocation
longitude2.159Approximate longitude coordinate (WGS84).Geolocation
country_iso2ESISO 3166-1 alpha-2 code.Geolocation
country_iso3ESPISO 3166-1 alpha-3 country code.Geolocation
country_numeric_code724ISO 3166-1 numeric country code.Geolocation
country_phone_code34International dialling code for the country.Geolocation
country_capitalMadridCapital city of the country.Geolocation
country_currencyEURISO 4217 currency code used in the country.Geolocation
country_currency_nameEuroFull name of the country's currency.Geolocation
country_nativeEspañaCountry name in the local/native language.Geolocation
country_regionEuropeUN geographic macro-region (e.g. Europe, Asia, Americas).Geolocation
country_subregionSouthern EuropeUN geographic sub-region.Geolocation
country_emoji🇪🇸Country flag as a Unicode emoji character.Geolocation
country_emoji_uU+1F1EA U+1F1F8Country flag emoji as Unicode code points.Geolocation

Using IP geolocation data in your business

Prevent fraud, localise content, enforce compliance and more with accurate IP geolocation data from IP Trust. No cookies or GPS required.

Content Localisation

Automatically serve content in the right language and currency. Display localised pricing, translate interfaces, and tailor experiences based on a visitor's country or region.

Geo-Restrictions & Compliance

Enforce geographic access controls for content licensing, regulatory compliance, or export restrictions. Block or redirect traffic from specific countries or regions.

Fraud Detection

Flag transactions where the IP location doesn't match the billing address. Identify suspicious logins from unexpected geographic regions to protect user accounts.

Why IP Trust geolocation data?

Our geolocation ip data is sourced directly from public WHOIS records, geofeeds, and reverse DNS, so you can be confident in accuracy and reliability.

Rich country data including currency, timezone, and flag

Every lookup includes timezone, currency, regional classification, and country metadata, everything you need to localise experiences, enforce compliance, and understand your audience in a single place.

Currency Timezone Country Flag

Sourced directly from WHOIS, geofeeds, and reverse DNS

We source all geolocation data directly ourselves. We own our entire database outright and never resell data from other providers, so you're never exposed to upstream licensing restrictions, redistribution limitations.

WHOIS Geofeeds Reverse DNS

Full global coverage, daily updates

Full IPv4 and IPv6 coverage across every country and territory. Our data covers over 250 countries and thousands of cities worldwide. Our geolocation data is updated daily, ensuring you always have access to the most relevant up to date results.

IPv4 & IPv6 250+ Countries Daily Updates

Get started with IP geolocation

Choose the integration model that works best for your use case.

{ "number": "AS8075", "name": "MICROSOFT-CORP", "company": "Microsoft Corporation", "type": "hosting", "risk": 0.9, "city": "Redmond", "state": "Washington", "country": "United States", "latitude": 47.674, "longitude": -122.122, "proxy": true, "vpn": false }

Geolocation IP API

  • Integration with any language in less than 5 minutes
  • Free 30 day trial, no credit card required
  • 99.99% Uptime and <100ms
NetworkCityStateCountryLatLng
2.34.136.0/21IvreaPiedmontItaly45.4677.876
4.242.248.0/21RedmondWashingtonUS47.674-122.12
5.108.121.0/24JeddahMakkahSaudi Arabia21.54239.198
5.198.253.44/30LondonEnglandUK51.509-0.126
14.47.85.0/24SuwonGyeonggiSouth Korea37.291127.009

Geolocation Database Download

  • Download CSV, MMDB, JSON and Parquet Dumps
  • Maximum Privacy and Compliance
  • Unlimited volume and zero latency
Download Geolocation Sample Preview the full geolocation dataset. Download a free sample CSV now.
Download CSV

FAQ

How accurate is IP Trust's IP geolocation data?

As with all IP data services, geolocation accuracy varies by granularity. We expect country-level accuracy to be above 99%, with city level accuracy dependant on the quality of the geofeeds, reverse DNS data and whois records.

What data fields are included in IP geolocation lookups?

Each IP geolocation lookup returns city, state, country, latitude, longitude, and a rich set of country metadata including ISO codes, phone code, capital, currency, native country name, geographic region, and country flag emoji. All fields are available on every API plan and in the geolocation database download.

Can I use IP geolocation without sending data to an external API?

Yes. IP Trust offers a downloadable geolocation database in MMDB, CSV, JSON, and Parquet formats. Once downloaded, all lookups happen locally on your infrastructure with zero external calls. This is ideal for environments with strict privacy, compliance, or data residency requirements. See our database downloads page for details.

How often is the IP geolocation data updated?

IP Trust geolocation data is updated daily. IP address allocations and geographic assignments change frequently as networks are reassigned or new blocks are allocated. Daily updates ensure your geolocation results reflect the current state of the internet.

Does IP geolocation work for both IPv4 and IPv6?

Yes. IP Trust provides full IP geolocation coverage for both IPv4 and IPv6 addresses. The same data fields and accuracy levels apply regardless of the IP version. Both the API and database downloads include complete dual-stack coverage.

Start your free trial now, no credit card required

Take a look at our geolocation IP data yourself with a free 30-day trial, and see if it's right for you. If you need further assistance, our support team is always here to help.