English
{ "ip": "<string>", "location": { "file_index": 123, "range_start_int": 123, "range_end_int": 123, "range_start_ip": "<string>", "range_end_ip": "<string>", "country_code": "<string>", "country_name": "<string>" }, "allowed": false }
Lookup the geographic location of a user based on their IP address.
This API exists for debugging purposes and may not be available in the future.
IP address to geolocate, defaults to client IP address
"1.2.3.4"
Successful Response
Resolved IP address, useful for debugging
Information about the location of the IP address, None if could not be determined
Show child attributes
row in CSV file
Start of IP range as integer
End of IP range as integer
Start of IP range in dotted decimal notation
End of IP range in dotted decimal notation
2-letter country code in ISO 3166-1 Alpha 2 format
Country name, None if could not be determined
Whether the IP address is allowed to be used for inference.
Was this page helpful?