This function allows you to convert a single IP address into its corresponding geolocation data using, see an example below:Documentation Index
Fetch the complete documentation index at: https://docs.ip2geo.dev/llms.txt
Use this file to discover all available pages before exploring further.
- TypeScript
- Ruby
- Python
- PHP
Parameters
The IPv4 or IPv6 address to convert.
Response
Whether the request was successful.
Response message describing the result.
HTTP status code.
The geolocation data for the IP address. See Ip Interface for details. Returns
null if the conversion failed, read more about IP Response Interface.Request metadata containing:
reqId: Unique request identifier.resTime: Response time in milliseconds.