REST API for IPv4 and IPv6

IP lookup API for location, network and security data

Send an IPv4 or IPv6 address and get its country, city, coordinates, time zone, currency, ISP and ASN as JSON, plus VPN, proxy and Tor flags.

150 free requests a month, no credit card required.

One request, one JSON object

Call /v1/info with an IP address and your API key. Leave out the IP to look up the caller's own address.

Request
curl "https://api.iplookupapi.com/v1/info?ip=80.110.0.1" \
  -H "apikey: YOUR_API_KEY"
  1. Get a free keySign up and copy your API key from the dashboard. No credit card needed.
  2. Call /v1/infoSend the key in the apikey header. Leave out ip to look up the caller.
  3. Use the JSONPick fields with fields=, or send up to 1,000 IPs to /v1/batch.
Response (shortened)
{
  "data": {
    "ip": "80.110.0.1",
    "type": "v4",
    "connection": {
      "asn": 8412,
      "organization": "Magenta Telekom GmbH",
      "isp": "Magenta Telekom",
      "range": "80.110.0.0/24"
    },
    "location": {
      "latitude": 48.198674,
      "longitude": 16.348388,
      "zip": "1010",
      "country": {
        "alpha2": "AT",
        "name": "Austria",
        "is_in_european_union": true,
        "currencies": [{ "code": "EUR", "symbol": "€" }]
      },
      "region": { "name": "Vienna" },
      "city": { "name": "Vienna" }
    },
    "timezone": {
      "id": "Europe/Vienna",
      "current_time": "2026-10-14T16:46:37+02:00",
      "code": "CEST",
      "is_daylight_saving": true,
      "gmt_offset": 7200
    },
    "security": {
      "is_vpn": false,
      "is_proxy": false,
      "is_tor": false,
      "threat_score": 0
    }
  }
}

What you get for every IP

Four groups of fields, the same for IPv4 and IPv6. The fields parameter returns only the ones you need.

Location

Country with ISO codes, region, city, postal code, coordinates and continent.

  • location.country.alpha2
  • location.region.name
  • location.city.name
  • location.zip
  • location.latitude

Network

Who runs the address: ISP, organization, ASN and the range it belongs to.

  • connection.isp
  • connection.organization
  • connection.asn
  • connection.range

Hosting, CDN and mobile carrier data from the Basic plan.

Time and money

The local time zone with DST and offset, plus the country's currencies and calling codes.

  • timezone.id
  • timezone.current_time
  • timezone.gmt_offset
  • location.country.currencies

Security

Flags for VPNs, proxies, Tor exit nodes and data centers, and a threat score.

  • security.is_vpn
  • security.is_proxy
  • security.is_tor
  • security.is_datacenter
  • security.threat_score

From the Professional plan.

What customers say

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.

Wernhard Berger, CEO, Breatheilo.com

Used by teams at

Heineken Coca-Cola Fossil

Start with 150 free requests a month

Create an account, copy your key and make your first call. Paid plans start at $9.99 a month.