IP Geolocation API

Get the location of any IP with a world-class API serving city,
region, country and lat/long data.

Enter an IP address to start

Need inspiration? Try 73.162.0.1

API benefits

Worldwide coverage
with 4 billion IPs

Location data
with leading precision

Rich data including
timezone and unicodes

Real-time
daily update

The world’s best engineering
teams run on Abstract

★★★★★ 4.8 from 1,863 votes

Built for developers
by developers

Built for global coverage

A global architecture that ensures fast, reliable, and redundant service with industry-standard data sovereignty and privacy.

Built for scale

Whether you have 10 or 10,000 requests per second, we’re ready for you.

Built for blazing speed

Milliseconds matter. We obsess about every single one of them in a response.

Built for reliable uptime

Every minute of uptime counts. That’s why public companies, financial institutions, airlines, governments, and more trust us in production.

Get into production
this afternoon

Customer-obsessed technical support

Everything you need to get live and stay that way. Fast, responsive, and friendly support from developers. 24/7 via email, chat, and phone.

Integrate with your stack

Abstract integrates with the tools you already use, from cloud and analytics platforms to low code tools to ERPs, CRMs, and more.

World-class docs and SDKs

We obsess over “time to first production request”. That’s why we provide a ton of code samples, libraries, and SDKs to get you started quickly.

Ready for the enterprise

Compliance is at our core. We’re committed to industry-standard security and privacy frameworks, like SOC 2 and GDPR.

For more information check our

Get the geolocation and other details of any
IP address with Abstract

Proxy & VPN detection

Detect anonymous users to minimize risk and abuse.

Weekly updates

Company enrichment

Identify the company or ISP behind each IP address.

Weekly updates

Connection type

Detect the connection type: DSL, cellular, satellite, etc.

Weekly updates

Postal code & city accuracy

Identify an IP’s location to the most granular level possible.

Daily updates

Threat intelligence data

Identify risky IPs from 250+ proprietary data feeds.

Daily updates

Longitude & latitude

Get IP’s accurate position for geo apps.

Daily updates

Company enrichment

Identify the company or ISP behind each IP address.

Weekly updates

Connection type

Detect the connection type: DSL, cellular, satellite, etc.

Weekly updates

Postal code & city accuracy

Identify an IP’s location to the most granular level possible.

Daily updates

Get your free
IP Geolocation API key now

4.8 from 1,863 votes

See why the best developers build on Abstract

No credit card required

IP Geolocation that works where you do

Salesforce
AWS
Zapier
GCP
Hubspot
Azure

Simple and transparent pricing

Up to 1,500 candidates
Up to 1,500 candidates
Up to 10,000 candidates
Up to 50,000 candidates
Up to 75,000 candidates
Up to 100,000 candidates
Up to 200,000 candidates
More than 200,000 candidates
Monthly Yearly
20% off
Starter

Free

  • Key Features
  • ASN
  • Location
  • Timezone
  • Flag
  • Currency
  • Company information
  • Security
  • Domains
Growth

$ 65 / mo
$948 $780/yr

  • Key Features
  • ASN
  • Location
  • Timezone
  • Flag
  • Currency
  • Company information
  • Security
  • Domains
Scale

$ 120 / mo
$1788 $1440/yr

  • Key Features
  • ASN
  • Location
  • Timezone
  • Flag
  • Currency
  • Company information
  • Security
  • Domains
Enterprise

Contact Sales

  • Key Features
  • ASN
  • Location
  • Timezone
  • Flag
  • Currency
  • Company information
  • Security
  • Domains

API Response Examples

Abstract Standard

{
  "ip_address": "151.101.0.84",
  "asn": {
    "asn": 54113,
    "name": "FASTLY",
    "domain": "fastly.com",
    "type": "commercial"
  },
  "company": {
    "name": "FASTLY",
    "domain": "fastly.com",
    "type": "commercial"
  },
  "location": {
    "city": null,
    "city_geoname_id": null,
    "region": "",
    "region_iso_code": "",
    "region_geoname_id": "",
    "postal_code": null,
    "country": "United States",
    "country_code": "US",
    "country_geoname_id": 6252001,
    "is_country_eu": false,
    "continent": "North America",
    "continent_code": "NA",
    "continent_geoname_id": 6255149,
    "longitude": -97.822,
    "latitude": 37.751
  },
  "timezone": {
    "name": "America/Chicago",
    "abbreviation": "CST",
    "utc_offset": -6,
    "local_time": "12:03:20",
    "is_dst": false
  },
  "flag": {
    "emoji": "🇺🇸",
    "unicode": "U+1F1FA U+1F1F8",
    "png": "https://static.abstractapi.com/country-flags/US_flag.png",
    "svg": "https://static.abstractapi.com/country-flags/US_flag.svg"
  },
  "currency": {
    "name": "US Dollar",
    "code": "USD",
    "symbol": "$"
  }
}

								

Abstract Standard

{
  "ip_address": "151.101.0.84",
  "asn": {
    "asn": 54113,
    "name": "FASTLY",
    "domain": "fastly.com",
    "type": "commercial"
  },
  "company": {
    "name": "FASTLY",
    "domain": "fastly.com",
    "type": "commercial"
  },
  "location": {
    "city": null,
    "city_geoname_id": null,
    "region": "",
    "region_iso_code": "",
    "region_geoname_id": "",
    "postal_code": null,
    "country": "United States",
    "country_code": "US",
    "country_geoname_id": 6252001,
    "is_country_eu": false,
    "continent": "North America",
    "continent_code": "NA",
    "continent_geoname_id": 6255149,
    "longitude": -97.822,
    "latitude": 37.751
  },
  "timezone": {
    "name": "America/Chicago",
    "abbreviation": "CST",
    "utc_offset": -6,
    "local_time": "12:03:20",
    "is_dst": false
  },
  "flag": {
    "emoji": "🇺🇸",
    "unicode": "U+1F1FA U+1F1F8",
    "png": "https://static.abstractapi.com/country-flags/US_flag.png",
    "svg": "https://static.abstractapi.com/country-flags/US_flag.svg"
  },
  "currency": {
    "name": "US Dollar",
    "code": "USD",
    "symbol": "$"
  }
}

								

Abstract Professional

{
  "ip_address": "151.101.0.84",
  "asn": {
    "asn": 54113,
    "name": "FASTLY",
    "domain": "fastly.com",
    "type": "commercial"
  },
  "company": {
    "name": "FASTLY",
    "domain": "fastly.com",
    "type": "commercial"
  },
  "location": {
    "city": null,
    "city_geoname_id": null,
    "region": "",
    "region_iso_code": "",
    "region_geoname_id": "",
    "postal_code": null,
    "country": "United States",
    "country_code": "US",
    "country_geoname_id": 6252001,
    "is_country_eu": false,
    "continent": "North America",
    "continent_code": "NA",
    "continent_geoname_id": 6255149,
    "longitude": -97.822,
    "latitude": 37.751
  },
  "timezone": {
    "name": "America/Chicago",
    "abbreviation": "CST",
    "utc_offset": -6,
    "local_time": "12:03:20",
    "is_dst": false
  },
  "flag": {
    "emoji": "🇺🇸",
    "unicode": "U+1F1FA U+1F1F8",
    "png": "https://static.abstractapi.com/country-flags/US_flag.png",
    "svg": "https://static.abstractapi.com/country-flags/US_flag.svg"
  },
  "currency": {
    "name": "US Dollar",
    "code": "USD",
    "symbol": "$"
  }
}

								

The best build
on Abstract

We started off using basic free services for IP geolocation as well as the avatar APIs, but quickly found how limited they were: slow, inaccurate, easily fooled by VPNs, etc. But once we found and started testing out Abstract's IP geolocation API, we were hooked. Awesome data quickly, always fast, and great documentation.
Chris Stanley, Scope

Enterprise ready

Abstract comes with security, compliance, and reliability built into the core. That’s why the Fortune 500, governments, and businesses in critical industries like financial services, healthcare, and airlines trust us.
99.99% uptime SLA
SSO/AML login
24/7 support via email, chat, and phone
Technical onboarding support
Dedicated account manager
SOC 2 Type II & GDPR compliant

Updated city-level mappings for Western Africa using recently published IP allocations.

November 20, 2025

Updated city-level mappings for Western Africa using recently published IP allocations.

November 20, 2025

Updated city-level mappings for Western Africa using recently published IP allocations.

November 20, 2025

Updated city-level mappings for Western Africa using recently published IP allocations.

November 20, 2025

Geolocation vs GPS: Understanding the Full Spectrum of Location Technologies

Updated city-level mappings for Western Africa using recently published IP allocations.

November 20, 2025

Geolocation vs GPS: Understanding the Full Spectrum of Location Technologies

Updated city-level mappings for Western Africa using recently published IP allocations.

November 20, 2025

Geolocation vs GPS: Understanding the Full Spectrum of Location Technologies

Updated city-level mappings for Western Africa using recently published IP allocations.

November 20, 2025

Geolocation vs GPS: Understanding the Full Spectrum of Location Technologies

Updated city-level mappings for Western Africa using recently published IP allocations.

November 20, 2025

FAQ about Abstract's
IP Geolocation API

The Abstract IP Geolocation API takes an IP address and translates it into a location, as well as many other details such as address, timezone, and more.

Yes, it works similarly but provides more detailed geographic and network info.

It processes IP ranges and matches them with location databases in real-time.

Accuracy can vary depending on IP type and ISP routing.

The Abstract IP Geolocation API takes an IP address and translates it into a location, as well as many other details such as address, timezone, and more.

Yes, it works similarly but provides more detailed geographic and network info.

It processes IP ranges and matches them with location databases in real-time.

Accuracy can vary depending on IP type and ISP routing.