Loading
Loading
Geolocate thousands of IP addresses in seconds with our Bulk IP Lookup API. Get precise location data in batches for IPv4, IPv6, and hostnames with a single API call.
The Bulk IP Lookup API allows you to geolocate up to 50,000 IP addresses per request. Each result includes detailed information such as country, region, city, coordinates, postal code, timezone, and network data for every IP in your batch.
Pass your API key as the apiKey parameter in every request.
This is version 2.0 of the API.
The following query parameters can be used in your API requests.
formatoptionalStringdefault: jsonResponse format: 'json' (default) or 'xml'.
langoptionalStringdefault: enResponse language. Possible values are:
fieldsoptionalArrayComma separated list of fields to be included in the response. For example, `location` includes all location fields, `location.city` is a specific field. See the response fields section for more details.
excludesoptionalArrayComma separated list of fields except ip to be excluded in the response
includeoptionalArrayPossible values are:
The request body should be in JSON format and include an ips array of IP addresses or hostnames for geolocation.
{
"ips": [
"8.8.8.8",
"1.1.1.1",
"dns.google.com"
]
}ipsrequiredArray<String>Array of IP addresses (IPv4 or IPv6) or hostnames to geolocate. Maximum 50,000 per request.
A successful request returns a 200 OK response with a JSON array of objects. Each object in the array contains the geolocation data for the corresponding IP address in the request. The response structure for each item is identical to the IP Location API response.
To see the complete response structure, click here.
See the HTTP Status Codes documentation for a complete reference of common API errors and HTTP status codes.
'ip' must not be empty or null