IP Lookup API Reference
Get comprehensive geolocation and network information for any IP address. Our IP lookup service provides detailed location data, country information, and network details for both IPv4 and IPv6 addresses.Lookup IP Address
Request Body
The IP address to lookup. Supports both IPv4 and IPv6 formats.
Response
Response Fields
Result Object
Contains the IP lookup data and results.
The IP address that was looked up.
Whether the IP lookup was successful. 
false for private IPs, invalid IPs, or when location data is unavailable.The IP address type. Possible values: 
"IPv4", "IPv6", or null for invalid IPs.Geographic Information
The continent name where the IP is located, or 
null if unavailable.Two-letter continent code (e.g., “NA” for North America), or 
null if unavailable.The country name where the IP is located, or 
null if unavailable.Two-letter country code (ISO 3166-1 alpha-2), or 
null if unavailable.The state/province/region name, or 
null if unavailable.The state/province/region code, or 
null if unavailable.The city name where the IP is located, or 
null if unavailable.The latitude coordinate of the IP location, or 
null if unavailable.The longitude coordinate of the IP location, or 
null if unavailable.The postal/ZIP code for the IP location, or 
null if unavailable.Regional Information
Whether the IP is located within the European Union. Always 
false for unsuccessful lookups.The international calling code for the country, or 
null if unavailable.Metadata Fields
Time taken to process the request in milliseconds.
Unique identifier for this request (ULID format).
Common Scenarios
Public IP Addresses
Most public IP addresses will return complete geolocation data withsuccess: true.
Private IP Addresses
Private IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) returnsuccess: false with all location fields as null.
Invalid IP Addresses
Malformed IP addresses will return a validation error response instead of a result object.IPv6 Support
Both IPv4 and IPv6 addresses are fully supported with the same response structure.Error Responses
When the request fails due to validation or other errors, you’ll receive a standard error response instead of the result structure. For detailed error information, see Common Error Codes.Invalid IP Format
Invalid IPv4 Range
Missing IP Parameter
Note: Error responses follow the standard error format and do not include the 
result object. Only successful responses contain the result structure with IP data.