IP geolocation

Approximate country, region, city, timezone and coordinates for an IP address.

Add network location to a request.

Use location.country_code for a country selector, or location.timezone to format times. Treat city and coordinates as network estimates.

IP geolocation · actual API resultSingle-IP lookup
Brisbane, Australia
-27.475°, 153.010°
Approximate network location; not a device positionNatural Earth map data
City
Brisbane
Region
Queensland
Country
Australia
Timezone
Australia/Brisbane

An IP location is a network-level estimate. It is not a GPS reading, household address or proof of a visitor’s physical location.

API fields

Field definitionExample from 1.1.1.1
location.countryType: string
Country name associated with the network location estimate.
Example value"Australia"
location.country_codeType: string
Two-letter country code in the location record.
Example value"AU"
location.cityType: string
City associated with the network estimate. May be empty.
Example value"Brisbane"
location.stateType: string
Region or state associated with the estimate. May be empty.
Example value"Queensland"
location.zipcodeType: string
Postal code when the source supplies one. May be empty.
Example value""
location.latitudeType: number
Approximate latitude of the network location.
Example value-27.474848400186662
location.longitudeType: number
Approximate longitude of the network location.
Example value153.00996200912815
location.timezoneType: string
Timezone identifier associated with the location.
Example value"Australia/Brisbane"

Look up one address

Request
curl --fail --silent --show-error --max-time 5 \
  "https://api.ipquery.io/1.1.1.1?format=json"

Actual response fields

JSON
{
  "ip": "1.1.1.1",
  "location": {
    "country": "Australia",
    "country_code": "AU",
    "city": "Brisbane",
    "state": "Queensland",
    "zipcode": "",
    "latitude": -27.474848400186662,
    "longitude": 153.00996200912815,
    "timezone": "Australia/Brisbane",
    "localtime": "2026-11-02T19:06:20"
  }
}

The excerpt shows the relevant fields from this single-IP response. Inspect the full IP report

For the connecting client’s own address, use https://api.ipquery.io/?format=json. Bulk lookups are disabled.

API reference

Matching and provenance

The matching Enterprise MMDB powers API lookups; the CSV powers country and city aggregates.

Full-list access.

For pricing or full-list access, email [email protected].

Selected list
Selected records
Records in this list