IP Geolocation andTime Zone API

Get the city, region, country, coordinates and time zone for any IPv4 or IPv6 address. Look up one address or 100 in a single request.

Your location from your IP address

Locating

  

Response time:  

Location unavailable for this connection. Sign up to test any IP address.

IP Geolocation by DB-IP

Use Cases for IP Geolocation

Localized Pricing

Show prices in the visitor's currency on their first page view.

Form Prefill

Prefill country, region and city at checkout and sign-up.

Lead Routing

Send each inquiry to the office or sales rep nearest the sender.

Fraud Screening

Flag orders where the IP country differs from the billing country.

Batch Lookups

Up to 100 IPv4 and IPv6 addresses per request.

POST /lookup
{ "ips": ["8.8.8.8", "81.2.69.142", "2001:4860:4860::8888"] }

{ "results": {
  "8.8.8.8": { "city": "Mountain View", "state": "California", "country": "US", ... },
  "81.2.69.142": { "city": "London", "state": "England", "country": "GB", ... },
  ... } }

Time Zone Lookup

Send any coordinates and get the IANA zone name and the local time there. Click the map to try a point.

Click anywhere on the map

The time zone appears here

 

Coverage

IP Geolocation by DB-IP.

IP address ranges
7.8M
Locations
562K
City centers
32K