Free IP Geolocation API andAccurate IP Lookup Database
Our IP API provides geographical information about website visitors with any IPv4 or IPv6 address in JSON and XML format over a secure HTTPS connection even in our free plan. We provide data such as country name, country code, city, state, local currency, time zone, ISP, ASN, Company Details, device data from User Agent String, VPN, Proxy, Tor and threat intelligence data served globally with latency based routing.
ip:"",
hostname:"",
continent_code:"",
continent_name:"",
country_code2:"",
country_code3:"",
country_name:"",
country_capital:"",
state_prov:"",
district:"",
city:"",
zipcode:"",
latitude:"",
longitude:"",
is_eu:"",
calling_code:"",
country_tld:"",
languages:"",
country_flag:
isp:"",
connection_type:"",
organization:"",
asn:"",
geoname_id:"",
currency:Object,
name:"",
code:"",
symbol:"",
time_zone:Object,
name:"",
offset:"",
current_time:"",
current_time_unix:"",
is_dst:"",
dst_savings:"",
security:Object,
threat_score:"",
is_tor:"",
is_proxy:"",
proxy_type:"",
is_anonymous:"",
is_known_attacker:"",
is_spam:"",
is_bot:"",
is_cloud_provider:"",
user_agent:Object,
userAgentString:"",
name:"",
type:"",
version:"",
versionMajor:"",
device:Object,
name:"",
type:"",
brand:"",
CPU:"",
engine:Object,
name:"",
type:"",
version:"",
versionMajor:"",
operatingSystem:Object,
name:"",
type:"",
version:"",
versionMajor:"",
IP Location Module
IP to Location module provides geolocation information related to an IP address such as continent, country, country capital, country calling code, country top level domain, city, state/province, zip code, local languages, country flag, latitude and longitude information.
{
"ip": "8.8.8.8",
"continent_name": "North America",
"country_name": "United States",
"country_capital":"Washington",
"state_prov":"California",
"district": "Santa Clara County",
"city":"Mountain View",
"zipcode":"94043",
"latitude":"37.4229",
"longitude": "-122.085",
"is_eu":"false",
"calling_code":"+1",
"country_tld":".us",
"languages":"en-US,es-US,haw,fr",
"country_flag":"images/flags/us.svg"
}Currency Module
IP to Currency module provides currency information of the country such as currency name, currency symbol and currency code from and IP address.
"currency":{
"name":"US Dollar",
"code":"USD",
"symbol":"$"
}Time Zone Module
IP to Time Zone module provides time and timezone related information such as timezone name, UTC/GMT offset, current date and time string, is daylight saving time active and daylight saving in hours.
"time_zone":{
"name":"Australia/Brisbane",
"offset":"-8",
"current_time":"2018-12-06 00:28:40.339-0800",
"current_time_unix":"1544084920.339",
"is_dst":"false",
"dst_savings":"1"
}Connection Information Module
Connection information module provides connection related information such as name of the ISP which owns this IP address, name of the organization/company to whom this IP address is further licensed by the ISP, ANS and the connection (wired or wireless).
"isp": "Level 3 Communications",
"connection_type": "wired",
"organization": "Google Inc.",
"asn": "AS15169",Security Module
The security module provides threat intelligence data such as threat score, is tor, vpn or proxy, is known attacker and if the IP address belongs to one of the cloud providers.
"security":{
"threat_score":"42",
"is_tor":"false",
"is_proxy":"true",
"proxy_type":"HTTP",
"is_anonymous":"true",
"is_known_attacker":"true",
"is_cloud_provider":"false"
}User Agent Parser Module
User Agent module parses the browser user agent string and provides detailed device information such as device name, device version, device type, device operating system, device browser, browser engine and browser version. It can identify robots, crawlers and attackers.
"user_agent": {
"userAgentString": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15"
"name": "Safari",
"type": "Browser",
"version": "13.0.5",
"versionMajor": "13",
"device": {
"name": "Apple Macintosh",
"type": "Desktop",
"brand": "Apple",
"CPU": "Intel"
},
"engine": {
"name": "AppleWebKit",
"type": "Browser",
"version": "605.1.15",
"versionMajor": "605"
},
"operatingSystem": {
"name": "Mac OS X",
"type": "Desktop",
"version": "10.15.3",
"versionMajor": "10"
}
}Reverse IP Lookup Module
With reverse IP Lookup, you can resolve the host name or domain or router dns address. This gives you detailed information about the original source of traffic.
"curl 'https://api.ipgeolocation.io/ipgeo-bulk?include=hostname&ip=8.8.8.8&apiKey=API_KEY'"
{
"ip":"8.8.8.8",
"hostname":"dns.google",
"..."
}Domain IP Lookup
Enter the domain address for the place of IP address and our API will perform a DNS Lookup to give you the information about the web hosting provider and the geographical location of the website.
"domain": "ipgeolocation.io",
"ip":"104.20.61.122",
"isp": "Cloudflare, Inc.",
"asn": "AS13335",
"..."Bulk IP Address Lookup Support
Use our Bulk IP Lookup endpoint to perform batch lookup of multiple IPs in one go. One request can have up to 50 IPs. Both IPv4 and IPv6 are supported.
curl -X POST 'https://api.ipgeolocation.io/ipgeo-bulk?apiKey=API_KEY'
-H 'Content-Type: application/json'
-d '{
"ips": ["1.1.1.1", "1.2.3.4", "1.2.3.5", "1.2.3.6", "1.2.3.7"]
}'Response in Multiple Languages
You can retrieve the geolocation information for an IP address in the following languages:
Use Cases
Website content localization
Adapt the content of your website to the destination of your visitors. Make your visitors feel right at home by "talking" to them in their local language and connect with them instantly. with IP geolocation, redirect your users to their region-specific websites and increase the possibility of increasing conversions up to 70%.
Non-intrusive geolocation
Do you have an awesome content localization strategy in place? IP geolocation is a non-intrusive way to know where your visitors are coming from. Don't ruin your visitor's website experience by showing annoying pop-ups asking for their location. Our geolocation API will detect their location from their IP address and show them the relevant message.
Digital Rights Protection
Enforce digital rights of your content using IP location API. Build a virtual fence around your content and make sure that only the people inside the fence can see it.
Prevent Threats and Scams
With our security and user agent module, you can identify anonymous traffic sources, known attackers, suspicious devices and tor nodes to prevent online fraud, trial abusers, forum spams and botnet attackers.

