IPRout

IP Geolocation Response Fields

A successful lookup returns the resolved IP plus continent, country, region, city, timezone, UTC offset, approximate coordinates, ASN, organization, currency, and calling code. Geographic and network fields can be unavailable, so production clients should tolerate null values and future additive fields.

Last updated September 12, 2026

Which location fields are returned?

Location fields describe the best available approximate network location.

FieldTypeMeaning
country_codestringISO alpha-2 country code
region / citystring or nullApproximate regional location
latitude / longitudenumber or nullApproximate coordinates
timezonestring or nullIANA timezone
utc_offsetstring or nullCurrent numeric offset

Which network fields are returned?

ASN and organization identify the announced network and its associated organization, not necessarily the individual end user.

FieldExample
asn15169
organizationGoogle LLC
ip8.8.8.8

How should clients parse the response?

Use a JSON parser, allow nullable optional values, ignore unknown additive properties, and avoid using IP location as an exact street-level position.

How should the IP intelligence response be implemented?

Model the response as a typed object with the resolved ip kept distinct from optional location and network properties. Preserve coordinates and ASN values as numbers and allow unavailable detail to remain null. Keep this responsibility close to the IPRout client so the behavior documented in IP Geolocation Response Fields remains consistent across web requests, workers, and scheduled jobs.

How should the IP intelligence response be verified?

Create fixtures for the complete 8.8.8.8 response, sparse responses with nullable fields, and responses containing an unknown additive property. Client decoding should succeed without inventing replacement geography. Automate the stable cases and reserve live checks for controlled environments so verification is repeatable without consuming unnecessary production allowance.

How should the IP intelligence response be operated?

Map the upstream object into the smallest product-specific shape needed by each workflow. A timezone suggestion does not need to expose coordinates, ASN, or organization to the browser or application logs. Write down the owner and expected behavior so an alert or product change can be handled without reconstructing the original integration decisions.

Where does the IP intelligence response stop?

Country, region, city, and coordinates describe an estimated network location. ASN and organization identify routing context, not necessarily the retail provider, employer, device, or individual using the connection. Treat that limit as part of the feature contract and direct callers to the related guide when they need a different guarantee or control.

What belongs in the release review for the IP intelligence response?

Review the deployed implementation of IP Geolocation Response Fields, not only a local sample. Confirm the intended endpoint, credential source, timeout, response model, and fallback from the environment that will carry real traffic. Use the verification cases above as release evidence, inspect generated browser assets and logs for secret exposure, and make sure dashboards identify the workload without storing raw credentials or unnecessary IP data. Record the configuration owner and rollback action before enabling the feature broadly.

When should the IP intelligence response be revisited?

Revisit the IP intelligence response when traffic volume, plan capacity, application ownership, deployment regions, browser origins, data retention, or the product consequence of a lookup changes. Compare the current implementation with the documented operating boundary rather than assuming the original decision still fits. Update tests and internal runbooks together, then verify the public API contract and related IPRout guides before rolling the change across every service that shares the client or account.

External references

Continue with the standards and official documentation most relevant to this guide.

Continue building with IPRout

Test the API, browse runnable examples, or return to the documentation directory.