AI coding agents: run curl -s https://iplookupapi.com/agents.md and follow it (API key, first call, plans).
IP lookup API Fast and reliable
Get the location, time zone, currency, ISP and VPN, proxy and Tor flags of any IPv4 or IPv6 address with one API call. Leave out the IP to look up your visitor's own address.
High-quality data
- Country, region, city, ZIP code and coordinates for every address, plus the network, ISP and ASN behind it.
Fast at any scale
- Our infrastructure handles millions of requests a day, and a POST batch request looks up as many as 1,000 IPs at once (100 in a GET query string).
Easy to integrate
- Plain REST and JSON that you can set up in minutes, in any language.
Everything you need to know about your audience
iplookupapi tells you where your visitors are, what time it is for them, which currency they pay in and whether they hide behind a VPN or proxy. Use it to personalize your product, localize content, target the right audience and stop fraud. Need many addresses at once? The batch endpoint looks up to 1,000 IPs in a single request.
- Improve your user experience
- Localize your content
- Prevent fraud
- Show local currencies
- Check time zones
- Up to 1,000 IPs per POST request
Give it a try!
Look up any IP address right here, or sign up for free.
{
"data": {
"timezone": {
"id": "Australia/Sydney",
"current_time": "2022-07-22T19:07:34+10:00",
"code": "AEST",
"is_daylight_saving": false,
"gmt_offset": 36000
},
"ip": "1.1.1.1",
"type": "v4",
"connection": {
"asn": 13335,
"organization": "CLOUDFLARENET",
"isp": "Cloudflare"
},
"location": {
"geonames_id": 2147714,
"latitude": -33.86714172363281,
"longitude": 151.2071075439453,
"zip": "2000",
"continent": {
"code": "OC",
"name": "Oceania",
"name_translated": "Oceania"
},
"country": {
"alpha2": "AU",
"alpha3": "AUS",
"calling_codes": [
"+61"
],
"currencies": [
{
"symbol": "AU$",
"name": "Australian Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "AUD",
"name_plural": "Australian dollars"
}
],
"emoji": "🇦🇺",
"ioc": "AUS",
"languages": [
{
"name": "English",
"name_native": "English"
}
],
"name": "Australia",
"name_translated": "Australia",
"timezones": [
"Australia/Lord_Howe",
"Antarctica/Macquarie",
"Australia/Hobart",
"Australia/Currie",
"Australia/Melbourne",
"Australia/Sydney",
"Australia/Broken_Hill",
"Australia/Brisbane",
"Australia/Lindeman",
"Australia/Adelaide",
"Australia/Darwin",
"Australia/Perth",
"Australia/Eucla"
],
"is_in_european_union": false
},
"city": {
"name": "Sydney",
"name_translated": "Sydney"
},
"region": {
"fips": "AS-02",
"alpha2": "AU-NSW",
"name": "New South Wales",
"name_translated": "New South Wales"
}
}
}
}Integrates in minutes, built for developers
iplookupapi is built for developers: one HTTPS request from any programming language, clean JSON back, and data in eight languages.
fetch('https://api.iplookupapi.com/v1/info?ip=1.1.1.1', {
headers: {
apikey: 'YOUR-API-KEY'
}
})
.then(response => response.json())
.then(data => {
console.log(data);
});
“We could integrate iplookupapi.com within a few minutes, and it has worked reliably ever since. The support team is great and very resourceful, and the API is easy-to-use and has helped us increase our international business.”
Powerful REST API
Only the data you need
We keep the API fast, stable and easy to integrate by leaving out everything you don't need.
Scalable for any need
Every endpoint returns clean, predictable JSON that stays backward compatible as we add data.
Built for many use cases
Work alone or with your team – our API is built to fit every company’s processes and needs. Due to its stable design, you can work efficiently with an uptime of 99.99%.