What is my IP address and location?

Get the location of any IP with a word-class API
serving city, region, country and lat/long data.
↓ Get your IP address and location for free ↓
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
200 - Success
Worldwide coverage
with 4 billion IPs
Location data
with leading precision
Rich data including
timezone and unicodes
daily update

Why do 10,000+ developers trust Abstract?

Easy to implement and maintain

We built Abstract because most of the API's we've used in the past simply weren't great. Our APIs are built the way we think API's should be: with excellent documentation, multiple easy to use libraries, and tutorials to get you started.

Speed and scale built into everything we do

Something like IP geolocation is probably part of a critical business processes and flow, so we built it (as all of our APIs) for use at scale and at blazing speeds. These aren't just marketing phrases, but fundamental features of our APIs.

Reliable uptime and great support

Developers trust Abstract because of our reliable uptime and excellent technical support that will help get you live quickly, keep you running smoothly, and resolve any issues you have fast regardless of where you are or what you're building.

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

Excellent data and worldwide coverage

Our long-standing relationships with ISP's and other data providers enable us to provide highly accurate and consistent data that you will not find with other providers.

Daily updates to our data

Having the latest data is important when you're using IP geolocation for key business processes, so we get the latest data each day to give you the most accurate results.

IPv4 and IPv6 coverage

Our IP geolocation datasets cover both IPv4 and IPv6, as well as 1.75+ million locations across 225,000+ cities around the world, so you always have the most accurate results.

Timezone details included

If you want to know the location of an IP, it may be helpful to know other details about it, like the timezone, current time, GMT offset, and more. That's all included in our responses.

Country flag and other details included

The IP geolocation responses are also enriched with details about the country the user is location in, such as its flag (in SVG, PNG, emoji, and unicode), as well as other details.

Simple yet powerful REST API

The IP Geolocation API is designed with the perfect balance of simplicity and powerful in a single, modern REST API. It's made to provide quick time to value and an excellent developer experience.

CSV upload available for bulk queries

Not everyone will have the need or expertise to integrate directly with the IP Geolocation API, so Abstract provides an easy-to-use CSV upload tool.

Bank-level security for all queries

Security is very important to us, so all data that is sent to Abstract's IP Geolocation API and processed by Abstract is secured by 256-bit SSL encryption (HTTPS).

IP Geolocation FAQ

What is Abstract's IP Geolocation Service?

Abstract provides an API for IP Geolocation, in which you submit an IP address and Abstract will return that IP's location, as well as many other details, such as an address, timezone, and more.

What is the difference between an IP lookup and IP Geolocation?

IP look up and geolocation are essentially the same thing. However, individual providers of IP Geolocation / IP lookup services will often provide different information in their response.

How does the IP Geolocation (or IP lookup) work?

Typically an Internet Service Provider (ISP) will have a particular range of IP addresses that they work with. These ISPs can delegate these different IP addresses to the various users and devices as they connect to the internet. IP geolocation works by looking up a particular IP against the IP ranges owned by particular ISP’s in a given area. This method is similar to how determining the carrier of a particular phone number works in the Abstract Phone Validation API, for example.

Are there any drawbacks or limitations of IP Geolocation?

While IP Geolocation can be an incredibly powerful and useful tool for developers and web services, there are several drawbacks and limitations to be aware of. First is that IP addresses have limited accuracy. An ISP may shuffle in IP among several users in a given area. Similarly, the location of the IP may not be the exact location of the user using the device associated with that IP. This can be common if a user is using a mobile phone, such as can be detected using the Phone Validation API. Finally, users can use a variety of services, such as virtual private networks or VPN’s, to mask their real IP.

The HTML5 geolocation API, which is able to provide an almost GPS-like location and a much greater amount of precision. However, unlike pure IP based geolocation, the HTML5 geolocation requires a user’s explicit consent. Unless it’s very clear to a user why you need that info and that it’s valuable to the user, it’s unlikely that information will be provided.

Where does the data for Abstract's IP Geolocation service come from?

In its simplest form, IP geolocation is looking up an individual IP against a series of tables that map various IP ranges to ISP’s and locations. Regional internet registries, such as the African Network Information Centre and American Registry for Internet Numbers. Additional information is added constantly to the fundamental dataset, which is regularly cleaned and cross checked to ensure accuracy.

How much of the globe is covered by the IP geolocation data?

We’re constantly working to increase the coverage and accuracy of our data, which improves every week. Currently we support more than 2.25 million unique locations as well as 250,000+ cities and other geographic entities around the world.

What if I notice inaccurate or incomplete geolocation data?

While we always strive to provide the most accurate and up to date information possible. However, if you notice anything inaccurate or missing in our data, please email us at: team at abstractapi.com.com. If we can identify and replicate the incorrect data you’re seeing, we’ll give you extra credits for reporting it :)

IP Geolocation API Changelog

Last Updated on 

November 20, 2020

November 20, 2020


Added VPN and proxy detection to response

This is now available under the "security" object

November 20, 2020


Made IP address an optional field

If it's not entered in the request, then the service will geolocate the IP of the requesting server

November 18, 2020


Updated country flags to higher resolution versions

August 12, 2020


Optimizations that reduced response times 15%

July 20, 2020


Improved accuracy of city and region names to geoname ID's

July 4, 2020


Country flags updated

Updated the PNG and SVG country flags with higher quality images.

July 2, 2020


ASO Database Updated

Our database of names of Autonomous Service Organizations (ASO's) can been updated with the latest data.