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.
Get Free API Access
{
"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": {
"name":
-
"code":
-
"symbol":
-
},
"time_zone": {
"name":
-
"offset":
-
"current_time":
-
"current_time_unix":
-
"is_dst":
-
"dst_savings":
-
}
"security": {
"threat_score":
-
"is_tor":
-
"is_proxy":
-
"proxy_type":
-
"is_anonymous":
-
"is_known_attacker":
-
"is_cloud_provider":
-
},
"user_agent": {
"userAgentString":
-
"name":
-
"type":
-
"version":
-
"versionMajor":
-
"device": {
"name":
-
"type":
-
"brand":
-
"CPU":
-
},
"engine": {
"name":
-
"type":
-
"version":
-
"versionMajor":
-
},
"operatingSystem": {
"name":
-
"type":
-
"version":
-
"versionMajor":
-
}
}
}
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":https://ipgeolocation.io/static/flags/us_64.png
}
"currency":{
"name":US Dollar
"code":USD
"symbol":$
}
IP to Currency module provides currency information of the country such as currency name, currency symbol and currency code from and IP address.
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
}
"isp": Level 3 Communications
"connection_type": wired
"organization": "Google Inc.
"asn": "AS15169"
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).
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{
"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
}
}
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.
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.
{
"ip":8.8.8.8
"hostname":dns.google
"............":..........
}
"domain": ipgeolocation.io
"ip":104.20.61.122
"isp": Cloudflare, Inc.
"asn": "AS13335"
"........": .......
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.
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"]
}'
You can retrieve the geolocation information for an IP address in the following languages:
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%.
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.
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.
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.