Geolocate an IP API
ip.geolocate
- providers document it
- 11
Providers
11 providers document geolocate an ip in their own API docs. None routes it through GridRouter yet. Scores appear as calls are routed.

IP geolocation API with a free non-commercial endpoint and paid pro service.

IP geolocation and proxy detection API from IP2Location.

IP address location API with monthly request plans.

IP geolocation, threat and company data API with EU endpoint.

IP geolocation, bulk lookup and IP security API.

IP geolocation, ASN, privacy detection and IP-to-company data via API and downloads.

IP geolocation, threat and user-agent API with batch lookups.

APILayer's IP geolocation API.

IP-to-company and website visitor intelligence APIs (FoundryCo).

GeoIP Country, City Plus and Insights web services and databases.

Publishes 2 APIs on RapidAPI: Email Verification, IP geolocation.
- What counts as a hit:
- A country is returned for the IP.
API
Same input for every provider. Set provider.sort to route by price, reliability or latency, or provider.only to pin providers; X-Grid-Max-Cost caps what one call can spend.
| Input | Description |
|---|---|
| ip* | IPv4 or IPv6 address (required) |
curl https://api.gridrouter.io/v1/run/ip.geolocate \
-H "Authorization: Bearer $GRID_API_KEY" \
-H "Content-Type: application/json" \
-H "X-Grid-Max-Cost: 0.05" \
-d '{"input":{"ip":"8.8.8.8"},"provider":{"sort":"price"}}'Fields
The normalized output every provider maps into. Suppliers come from integrated endpoint mappings (verified) or field names in each provider's API docs (claimed by the provider).