Skip to main content
This function allows you to convert multiple IP addresses in a single request, making it efficient for batch processing. You can provide an array of IP addresses, and the function will return their corresponding geolocation data.
You should authenticate/initialize Ip2Geo before using this method.

Parameters

Array<string>
required
An array of IPv4 or IPv6 addresses to convert. Maximum 5000 IPs per request.

Response

boolean
Whether the request was successful.
string
Response message describing the result.
number
HTTP status code.
Array<{ ip: string, conversion: Ip | null }>
An array of conversion results. Each item contains:
  • ip: The IP address that was converted.
  • conversion: The geolocation data for the IP (see Ip Interface). Returns null if the conversion failed for that IP Response Interface.
object
Request metadata containing:
  • reqId: Unique request identifier.
  • resTime: Response time in milliseconds.