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.
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.
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.
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.
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.
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.
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 :)
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.