Skip to content
GridRouterhome

Search

Search providers, capabilities and pages

Geolocate an IP API

ip.geolocate

IP & Visitor IDManagedBYOK
Country, region, city, ASN and connection type for an IP address.
Providers
0
Calls, 30 days
0
Lowest per hit
n/a
Reviews
0

Overview

Hit: A country is returned for the IP. Accuracy: Share of results matching a known-location reference set.

No provider routes this capability yet.

API

Same input for every provider. Add route=waterfall to fall through on misses, or provider=<slug> to pin one.

Inputs for ip.geolocate
InputDescription
ip*IPv4 or IPv6 address (required)
Request
curl https://api.gridrouter.io/v1/call/ip.geolocate \
  -H "Authorization: Bearer $GRID_KEY" \
  -d '{"ip":"8.8.8.8","route":"best_value"}'

Fields

The normalized output every provider maps into. Suppliers come from integrated endpoint mappings (verified) or field names in each vendor's API docs (vendor-claimed).

Every capability's fields
Output fields for Geolocate an IP
FieldTypePIIDescriptionSupplied by
ipstring · ipIdentifierIP addressIP2Location.ioipapi.coIPGeolocation.ioIPinfo
country_codestring · countryLocationCountryIP2Location.ioipapi.coIPGeolocation.ioIPinfo
regionstringLocationRegion or stateIP2Location.ioipapi.co
citystringLocationCityIP2Location.ioipapi.coIPGeolocation.io
latitudenumberLocationLatitudeIP2Location.ioipapi.coIPGeolocation.io
longitudenumberLocationLongitudeIP2Location.ioipapi.coIPGeolocation.io
timezonestringNoneIANA timezoneIP2Location.ioipapi.coIPGeolocation.io
asnstringNoneAutonomous system numberIP2Location.ioipapi.coIPGeolocation.ioIPinfoKickFire
orgstringNoneNetwork ownerIP2Location.ioipapi.coIPGeolocation.ioIPinfo
is_proxybooleanNoneVPN, proxy or TorIP2Location.ioIPGeolocation.io

Reviews

No written reviews yet. Reviews open after 100 routed calls on an endpoint.